diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/GeoCommandStatistics.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/GeoCommandStatistics.java
index 420ea5554..55cbcd1c2 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/GeoCommandStatistics.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/GeoCommandStatistics.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 the original author or authors.
+ * Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -62,7 +62,7 @@ class GeoCommandStatistics {
* didn't return any result introduced in MongoDB 3.2 RC1.
*
* @return
- * @see https://jira.mongodb.org/browse/SERVER-21024
+ * @see MongoDB Jira SERVER-21024
*/
public double getAverageDistance() {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java
index 67a35cadc..6fb9a0ce9 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2016 the original author or authors.
+ * Copyright 2010-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -686,7 +686,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware,
* As MongoDB currently (2.4.4) doesn't support the skipping of elements in near queries
* we skip the elements ourselves to avoid at least the document 2 object mapping overhead.
*
- * @see https://jira.mongodb.org/browse/SERVER-3925
+ * @see MongoDB Jira: SERVER-3925
*/
if (index >= elementsToSkip) {
result.add(callback.doWith((Document) element));
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoOperations.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoOperations.java
index e99d05743..7390a2462 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoOperations.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoOperations.java
@@ -46,10 +46,10 @@ import reactor.core.publisher.Mono;
*
* @author Mark Paluch
* @author Christoph Strobl
+ * @since 2.0
* @see Flux
* @see Mono
- * @see http://projectreactor.io/docs/
- * @since 2.0
+ * @see Project Reactor
*/
public interface ReactiveMongoOperations {
@@ -393,7 +393,7 @@ public interface ReactiveMongoOperations {
Flux> geoNear(NearQuery near, Class entityClass, String collectionName);
/**
- * Triggers findAndModify
+ * Triggers findAndModify
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query}.
*
* @param query the {@link Query} class that specifies the {@link Criteria} used to find a record and also an optional
@@ -405,7 +405,7 @@ public interface ReactiveMongoOperations {
Mono findAndModify(Query query, Update update, Class entityClass);
/**
- * Triggers findAndModify
+ * Triggers findAndModify
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query}.
*
* @param query the {@link Query} class that specifies the {@link Criteria} used to find a record and also an optional
@@ -418,7 +418,7 @@ public interface ReactiveMongoOperations {
Mono findAndModify(Query query, Update update, Class entityClass, String collectionName);
/**
- * Triggers findAndModify
+ * Triggers findAndModify
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query} taking
* {@link FindAndModifyOptions} into account.
*
@@ -432,7 +432,7 @@ public interface ReactiveMongoOperations {
Mono findAndModify(Query query, Update update, FindAndModifyOptions options, Class entityClass);
/**
- * Triggers findAndModify
+ * Triggers findAndModify
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query} taking
* {@link FindAndModifyOptions} into account.
*
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/Aggregation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/Aggregation.java
index 544910373..0d1ad25a1 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/Aggregation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/Aggregation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -598,7 +598,7 @@ public class Aggregation {
* Describes the system variables available in MongoDB aggregation framework pipeline expressions.
*
* @author Thomas Darimont
- * @see http://docs.mongodb.org/manual/reference/aggregation-variables
+ * @see Aggregation Variables
*/
enum SystemVariable {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationOptions.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationOptions.java
index 2625d912a..dd2f2fdad 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationOptions.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationOptions.java
@@ -20,7 +20,7 @@ import org.bson.Document;
/**
* Holds a set of configurable aggregation options that can be used within an aggregation pipeline. A list of support
* aggregation options can be found in the MongoDB reference documentation
- * http://docs.mongodb.org/manual/reference/command/aggregate/#aggregate
+ * https://docs.mongodb.org/manual/reference/command/aggregate/#aggregate
*
* @author Thomas Darimont
* @author Oliver Gierke
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketAutoOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketAutoOperation.java
index db5407279..ef3637d45 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketAutoOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketAutoOperation.java
@@ -30,7 +30,7 @@ import org.bson.Document;
* instances of this class directly.
*
* @see http://docs.mongodb.org/manual/reference/aggregation/bucketAuto/
+ * "https://docs.mongodb.org/manual/reference/aggregation/bucketAuto/">https://docs.mongodb.org/manual/reference/aggregation/bucketAuto/
* @see BucketOperationSupport
* @author Mark Paluch
* @author Christoph Strobl
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketOperation.java
index 315bf5fc3..5592c3483 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketOperation.java
@@ -34,7 +34,7 @@ import org.bson.Document;
* We recommend to use the static factory method {@link Aggregation#bucket(String)} instead of creating instances of
* this class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/bucket/
+ * @see https://docs.mongodb.org/manual/reference/aggregation/bucket/
* @see BucketOperationSupport
* @author Mark Paluch
* @since 1.10
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ConditionalOperators.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ConditionalOperators.java
index 4b857ddb4..a0ac604aa 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ConditionalOperators.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ConditionalOperators.java
@@ -230,7 +230,7 @@ public class ConditionalOperators {
* converted to a simple MongoDB type.
*
* @see http://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/
+ * "https://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/">https://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/
* @author Mark Paluch
*/
public static class IfNull implements AggregationExpression {
@@ -533,7 +533,7 @@ public class ConditionalOperators {
* simple MongoDB type.
*
* @see http://docs.mongodb.com/manual/reference/operator/aggregation/cond/
+ * "https://docs.mongodb.com/manual/reference/operator/aggregation/cond/">https://docs.mongodb.com/manual/reference/operator/aggregation/cond/
* @author Mark Paluch
* @author Christoph Strobl
*/
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/FacetOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/FacetOperation.java
index 766a8d3d6..1670258b1 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/FacetOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/FacetOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 the original author or authors.
+ * Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,10 +38,10 @@ import org.bson.Document;
* We recommend to use the static factory method {@link Aggregation#facet()} instead of creating instances of this class
* directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/facet/
* @author Mark Paluch
* @author Christoph Strobl
* @since 1.10
+ * @see MongoDB Aggregation Framework: $facet
*/
public class FacetOperation implements FieldsExposingAggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GraphLookupOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GraphLookupOperation.java
index d6f840ec4..44eb2d9f5 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GraphLookupOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GraphLookupOperation.java
@@ -36,7 +36,7 @@ import org.springframework.util.ClassUtils;
* of this class directly.
*
* @see http://docs.mongodb.org/manual/reference/aggregation/graphLookup/
+ * "https://docs.mongodb.org/manual/reference/aggregation/graphLookup/">https://docs.mongodb.org/manual/reference/aggregation/graphLookup/
* @author Mark Paluch
* @author Christoph Strobl
* @since 1.10
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GroupOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GroupOperation.java
index c7a226140..6e3d4ab17 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GroupOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GroupOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,13 +33,13 @@ import org.springframework.util.StringUtils;
* We recommend to use the static factory method {@link Aggregation#group(Fields)} instead of creating instances of this
* class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/group/#stage._S_group
* @author Sebastian Herold
* @author Thomas Darimont
* @author Oliver Gierke
* @author Gustavo de Geus
* @author Christoph Strobl
* @since 1.3
+ * @see MongoDB Aggregation Framework: $group
*/
public class GroupOperation implements FieldsExposingAggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LimitOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LimitOperation.java
index 353b6866b..9e99462ff 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LimitOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LimitOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,12 +23,12 @@ import org.springframework.util.Assert;
*
* We recommend to use the static factory method {@link Aggregation#limit(long)} instead of creating instances of this
* class directly.
- *
- * @see http://docs.mongodb.org/manual/reference/aggregation/limit/
+ *
* @author Thomas Darimont
* @author Oliver Gierke
* @author Christoph Strobl
* @since 1.3
+ * @see MongoDB Aggregation Framework: $limit
*/
public class LimitOperation implements AggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LookupOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LookupOperation.java
index 6b67e9203..ffacea315 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LookupOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LookupOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 the original author or authors.
+ * Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@ import org.springframework.util.Assert;
* @author Alessio Fachechi
* @author Christoph Strobl
* @author Mark Paluch
- * @see http://docs.mongodb.org/manual/reference/aggregation/lookup/#stage._S_lookup
* @since 1.9
+ * @see MongoDB Aggregation Framework: $lookup
*/
public class LookupOperation implements FieldsExposingAggregationOperation, InheritsFieldsAggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/MatchOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/MatchOperation.java
index 7a2d1b714..a30addf44 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/MatchOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/MatchOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2015 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,11 +26,11 @@ import org.springframework.util.Assert;
* {@link Aggregation#match(org.springframework.data.mongodb.core.query.Criteria)} instead of creating instances of this
* class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/match/
* @author Sebastian Herold
* @author Thomas Darimont
* @author Oliver Gierke
* @since 1.3
+ * @see MongoDB Aggregation Framework: $match
*/
public class MatchOperation implements AggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/OutOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/OutOperation.java
index edc678c78..48ac7ebf7 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/OutOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/OutOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 the original author or authors.
+ * Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,9 +24,9 @@ import org.springframework.util.Assert;
* We recommend to use the static factory method {@link Aggregation#out(String)} instead of creating instances of this
* class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/out/
* @author Nikolay Bogdanov
* @author Christoph Strobl
+ * @see MongoDB Aggregation Framework: $out
*/
public class OutOperation implements AggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java
index c617ca365..91fbf5b9e 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java
@@ -40,13 +40,13 @@ import org.springframework.util.Assert;
* We recommend to use the static factory method {@link Aggregation#project(Fields)} instead of creating instances of
* this class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/project/
* @author Tobias Trelle
* @author Thomas Darimont
* @author Oliver Gierke
* @author Christoph Strobl
* @author Mark Paluch
* @since 1.3
+ * @see MongoDB Aggregation Framework: $project
*/
public class ProjectionOperation implements FieldsExposingAggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ReplaceRootOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ReplaceRootOperation.java
index 06a4bc83d..dd73a2814 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ReplaceRootOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ReplaceRootOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 the original author or authors.
+ * Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,11 +30,10 @@ import org.springframework.util.Assert;
* We recommend to use the static factory method {@link Aggregation#replaceRoot(String)} instead of creating instances
* of this class directly.
*
- * @see https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot/
* @author Mark Paluch
* @author Christoph Strobl
* @since 1.10
+ * @see MongoDB Aggregation Framework: $replaceRoot
*/
public class ReplaceRootOperation implements FieldsExposingAggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SkipOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SkipOperation.java
index 00142222c..60d3d47d6 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SkipOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SkipOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,11 +24,11 @@ import org.springframework.util.Assert;
* We recommend to use the static factory method {@link Aggregation#skip(int)} instead of creating instances of this
* class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/skip/
* @author Thomas Darimont
* @author Oliver Gierke
* @author Christoph Strobl
* @since 1.3
+ * @see MongoDB Aggregation Framework: $skip
*/
public class SkipOperation implements AggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SortOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SortOperation.java
index 345ba71fc..35907ca7f 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SortOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SortOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,12 +27,12 @@ import org.springframework.util.Assert;
*
* We recommend to use the static factory method {@link Aggregation#sort(Direction, String...)} instead of creating
* instances of this class directly.
- *
- * @see http://docs.mongodb.org/manual/reference/aggregation/sort/#pipe._S_sort
+ *
* @author Thomas Darimont
* @author Oliver Gierke
* @author Christoph Strobl
* @since 1.3
+ * @see MongoDB Aggregation Framework: $sort
*/
public class SortOperation implements AggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/UnwindOperation.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/UnwindOperation.java
index 92247e1ec..b65327875 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/UnwindOperation.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/UnwindOperation.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,12 +25,12 @@ import org.springframework.util.Assert;
* We recommend to use the static factory method {@link Aggregation#unwind(String)} instead of creating instances of
* this class directly.
*
- * @see http://docs.mongodb.org/manual/reference/aggregation/unwind/#pipe._S_unwind
* @author Thomas Darimont
* @author Oliver Gierke
* @author Mark Paluch
* @author Christoph Strobl
* @since 1.3
+ * @see MongoDB Aggregation Framework: $unwind
*/
public class UnwindOperation
implements AggregationOperation, FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJson.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJson.java
index 91f48672a..3c2e81788 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJson.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJson.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ public interface GeoJson> {
* String value representing the type of the {@link GeoJson} object.
*
* @return will never be {@literal null}.
- * @see http://geojson.org/geojson-spec.html#geojson-objects
+ * @see http://geojson.org/geojson-spec.html#geojson-objects
*/
String getType();
@@ -36,7 +36,7 @@ public interface GeoJson> {
* determined by {@link #getType()} of geometry.
*
* @return will never be {@literal null}.
- * @see http://geojson.org/geojson-spec.html#geometry-objects
+ * @see http://geojson.org/geojson-spec.html#geometry-objects
*/
T getCoordinates();
}
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonGeometryCollection.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonGeometryCollection.java
index 96cc28cae..55ca7c891 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonGeometryCollection.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonGeometryCollection.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.util.ObjectUtils;
*
* @author Christoph Strobl
* @since 1.7
- * @see http://geojson.org/geojson-spec.html#geometry-collection
+ * @see http://geojson.org/geojson-spec.html#geometry-collection
*/
public class GeoJsonGeometryCollection implements GeoJson>> {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonLineString.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonLineString.java
index 921a8dbf8..c6beaed31 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonLineString.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonLineString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.springframework.data.geo.Point;
*
* @author Christoph Strobl
* @since 1.7
- * @see http://geojson.org/geojson-spec.html#linestring
+ * @see http://geojson.org/geojson-spec.html#linestring
*/
public class GeoJsonLineString extends GeoJsonMultiPoint {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiLineString.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiLineString.java
index 90b046ccc..7bd392493 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiLineString.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiLineString.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import org.springframework.util.ObjectUtils;
*
* @author Christoph Strobl
* @since 1.7
- * @see http://geojson.org/geojson-spec.html#multilinestring
+ * @see http://geojson.org/geojson-spec.html#multilinestring
*/
public class GeoJsonMultiLineString implements GeoJson> {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiPoint.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiPoint.java
index 081253316..9a48fdeb2 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiPoint.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiPoint.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ import org.springframework.util.ObjectUtils;
*
* @author Christoph Strobl
* @since 1.7
- * @see http://geojson.org/geojson-spec.html#multipoint
+ * @see http://geojson.org/geojson-spec.html#multipoint
*/
public class GeoJsonMultiPoint implements GeoJson> {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java
index a44aa856c..a48315e3b 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.springframework.data.geo.Point;
*
* @author Christoph Strobl
* @since 1.7
- * @see http://geojson.org/geojson-spec.html#point
+ * @see http://geojson.org/geojson-spec.html#point
*/
public class GeoJsonPoint extends Point implements GeoJson> {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPolygon.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPolygon.java
index a5e8b1066..879464b85 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPolygon.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPolygon.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import org.springframework.util.Assert;
*
* @author Christoph Strobl
* @since 1.7
- * @see http://geojson.org/geojson-spec.html#polygon
+ * @see http://geojson.org/geojson-spec.html#polygon
*/
public class GeoJsonPolygon extends Polygon implements GeoJson> {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/CompoundIndex.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/CompoundIndex.java
index bb6aa03a2..d63b2447f 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/CompoundIndex.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/CompoundIndex.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2011-2015 the original author or authors.
+ * Copyright 2011-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,22 +54,22 @@ public @interface CompoundIndex {
IndexDirection direction() default IndexDirection.ASCENDING;
/**
- * @see http://docs.mongodb.org/manual/core/index-unique/
* @return
+ * @see https://docs.mongodb.org/manual/core/index-unique/
*/
boolean unique() default false;
/**
* If set to true index will skip over any document that is missing the indexed field.
*
- * @see http://docs.mongodb.org/manual/core/index-sparse/
* @return
+ * @see https://docs.mongodb.org/manual/core/index-sparse/
*/
boolean sparse() default false;
/**
- * @see http://docs.mongodb.org/manual/core/index-creation/#index-creation-duplicate-dropping
* @return
+ * @see https://docs.mongodb.org/manual/core/index-creation/#index-creation-duplicate-dropping
*/
boolean dropDups() default false;
@@ -128,8 +128,8 @@ public @interface CompoundIndex {
/**
* If {@literal true} the index will be created in the background.
*
- * @see http://docs.mongodb.org/manual/core/indexes/#background-construction
* @return
+ * @see https://docs.mongodb.org/manual/core/indexes/#background-construction
*/
boolean background() default false;
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Index.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Index.java
index 4f64e24ef..e321f00b6 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Index.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Index.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2016 the original author or authors.
+ * Copyright 2010-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -70,9 +70,9 @@ public class Index implements IndexDefinition {
/**
* Reject all documents that contain a duplicate value for the indexed field.
- *
- * @see http://docs.mongodb.org/manual/core/index-unique/
+ *
* @return
+ * @see https://docs.mongodb.org/manual/core/index-unique/
*/
public Index unique() {
this.unique = true;
@@ -81,9 +81,9 @@ public class Index implements IndexDefinition {
/**
* Skip over any document that is missing the indexed field.
- *
- * @see http://docs.mongodb.org/manual/core/index-sparse/
+ *
* @return
+ * @see https://docs.mongodb.org/manual/core/index-sparse/
*/
public Index sparse() {
this.sparse = true;
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Indexed.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Indexed.java
index c34e69e01..9d711d562 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Indexed.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/Indexed.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2011-2015 the original author or authors.
+ * Copyright 2011-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,8 +38,8 @@ public @interface Indexed {
/**
* If set to true reject all documents that contain a duplicate value for the indexed field.
*
- * @see http://docs.mongodb.org/manual/core/index-unique/
* @return
+ * @see https://docs.mongodb.org/manual/core/index-unique/
*/
boolean unique() default false;
@@ -48,14 +48,14 @@ public @interface Indexed {
/**
* If set to true index will skip over any document that is missing the indexed field.
*
- * @see http://docs.mongodb.org/manual/core/index-sparse/
* @return
+ * @see https://docs.mongodb.org/manual/core/index-sparse/
*/
boolean sparse() default false;
/**
- * @see http://docs.mongodb.org/manual/core/index-creation/#index-creation-duplicate-dropping
* @return
+ * @see https://docs.mongodb.org/manual/core/index-creation/#index-creation-duplicate-dropping
*/
boolean dropDups() default false;
@@ -112,16 +112,16 @@ public @interface Indexed {
/**
* If {@literal true} the index will be created in the background.
*
- * @see http://docs.mongodb.org/manual/core/indexes/#background-construction
* @return
+ * @see https://docs.mongodb.org/manual/core/indexes/#background-construction
*/
boolean background() default false;
/**
* Configures the number of seconds after which the collection should expire. Defaults to -1 for no expiry.
*
- * @see http://docs.mongodb.org/manual/tutorial/expire-data/
* @return
+ * @see https://docs.mongodb.org/manual/tutorial/expire-data/
*/
int expireAfterSeconds() default -1;
}
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/TextIndexDefinition.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/TextIndexDefinition.java
index ae821b781..1a90fc91f 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/TextIndexDefinition.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/TextIndexDefinition.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2016 the original author or authors.
+ * Copyright 2014-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -303,8 +303,8 @@ public class TextIndexDefinition implements IndexDefinition {
* Define the default language to be used when indexing documents.
*
* @param language
- * @see http://docs.mongodb.org/manual/tutorial/specify-language-for-text-index/#specify-default-language-text-index
* @return
+ * @see https://docs.mongodb.org/manual/tutorial/specify-language-for-text-index/#specify-default-language-text-index
*/
public TextIndexDefinitionBuilder withDefaultLanguage(String language) {
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Criteria.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Criteria.java
index f01e05cf2..dd2a10476 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Criteria.java
+++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Criteria.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2016 the original author or authors.
+ * Copyright 2010-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -149,10 +149,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $ne} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/ne/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $ne
*/
public Criteria ne(Object o) {
criteria.put("$ne", o);
@@ -161,10 +161,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $lt} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/lt/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $lt
*/
public Criteria lt(Object o) {
criteria.put("$lt", o);
@@ -173,10 +173,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $lte} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/lte/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $lte
*/
public Criteria lte(Object o) {
criteria.put("$lte", o);
@@ -185,10 +185,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $gt} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/gt/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $gt
*/
public Criteria gt(Object o) {
criteria.put("$gt", o);
@@ -197,10 +197,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $gte} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/gte/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $gte
*/
public Criteria gte(Object o) {
criteria.put("$gte", o);
@@ -209,10 +209,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $in} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/in/
+ *
* @param o the values to match against
* @return
+ * @see MongoDB Query operator: $in
*/
public Criteria in(Object... o) {
if (o.length > 1 && o[1] instanceof Collection) {
@@ -225,10 +225,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $in} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/in/
+ *
* @param c the collection containing the values to match against
* @return
+ * @see MongoDB Query operator: $in
*/
public Criteria in(Collection> c) {
criteria.put("$in", c);
@@ -237,10 +237,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $nin} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/nin/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $nin
*/
public Criteria nin(Object... o) {
return nin(Arrays.asList(o));
@@ -248,10 +248,10 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $nin} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/nin/
+ *
* @param o
* @return
+ * @see MongoDB Query operator: $nin
*/
public Criteria nin(Collection> o) {
criteria.put("$nin", o);
@@ -260,11 +260,11 @@ public class Criteria implements CriteriaDefinition {
/**
* Creates a criterion using the {@literal $mod} operator.
- *
- * @see http://docs.mongodb.org/manual/reference/operator/query/mod/
+ *
* @param value
* @param remainder
* @return
+ * @see MongoDB Query operator: $mod
*/
public Criteria mod(Number value, Number remainder) {
List