code: public static <T> ConflictHandler<T> localWins() {
      return new ConflictHandler<T>() {
        @Override
        public T resolveConflict(
            final BsonValue documentId,
            final ChangeEvent<T> localEvent,
            final ChangeEvent<T> remoteEvent
        ) {
          return localEvent.getFullDocument();
        }
      };
    }
docs: The local event will decide the next state of the document in question.
  
  @param <T> the type of class represented by the document in the change event.
  @return the local full document which may be null.