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 93cd6db53..c0aa38d2e 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 f0b4eb540..f83425327 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. @@ -700,7 +700,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((DBObject) element)); 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 efe60dcb3..4798d1e1f 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. @@ -600,7 +600,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 c7c17b835..05e0791f9 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 @@ -21,7 +21,7 @@ import com.mongodb.DBObject; /** * 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 987d85916..08d1b621f 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 @@ -31,7 +31,7 @@ import com.mongodb.DBObject; * 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 4d64196bb..af7fdc503 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 @@ -35,7 +35,7 @@ import com.mongodb.DBObject; * 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 4289add6b..8208059b1 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 @@ -232,7 +232,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 { @@ -535,7 +535,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 bb1d6b8fe..17d9e8b82 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. @@ -39,10 +39,10 @@ import com.mongodb.DBObject; * 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 2291fed33..d46f36763 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 @@ -38,7 +38,7 @@ import com.mongodb.DBObject; * 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 092d88c18..49ef8d24e 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. @@ -35,13 +35,13 @@ import com.mongodb.DBObject; * 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 b56a59e01..684390eb6 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-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,10 +26,10 @@ import com.mongodb.DBObject; * 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 * @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 78860073a..f539921be 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. @@ -29,8 +29,8 @@ import com.mongodb.DBObject; * @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 eb86fb1e5..f925b52e8 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. @@ -28,11 +28,11 @@ import com.mongodb.DBObject; * {@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 68b357a62..737241528 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. @@ -25,8 +25,8 @@ 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 + * @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 4cc791c44..5858e5d2e 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 @@ -41,13 +41,13 @@ import com.mongodb.DBObject; * 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 95648b67b..ce071591a 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. @@ -32,11 +32,10 @@ import com.mongodb.DBObject; * 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 8d87538e8..d0a62b89c 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. @@ -26,10 +26,10 @@ import com.mongodb.DBObject; * 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 * @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 0b6f6dee2..2089a7f80 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-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. @@ -30,10 +30,10 @@ import com.mongodb.DBObject; * 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 * @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 12929ca87..89b680182 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. @@ -27,12 +27,12 @@ import com.mongodb.DBObject; * 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 9e5c4a088..118c04c19 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; @@ -139,8 +139,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 29e84f716..dcdc4017f 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. @@ -109,8 +109,8 @@ 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; @@ -120,8 +120,8 @@ 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; @@ -167,9 +167,9 @@ public class Index implements IndexDefinition { } /** - * @see http://docs.mongodb.org/manual/core/index-creation/#index-creation-duplicate-dropping * @param duplicates * @return + * @see http://docs.mongodb.org/manual/core/index-creation/#index-creation-duplicate-dropping */ public Index unique(Duplicates duplicates) { if (duplicates == Duplicates.DROP) { 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 a32262242..2133037c9 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; @@ -122,16 +122,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 8e56da94f..fed1414f7 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. @@ -305,8 +305,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 0836cdae9..721bed0ea 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-2015 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. @@ -150,9 +150,9 @@ 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); @@ -162,9 +162,9 @@ 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); @@ -174,9 +174,9 @@ 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); @@ -186,9 +186,9 @@ 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); @@ -198,9 +198,9 @@ 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); @@ -210,9 +210,9 @@ 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) { @@ -226,9 +226,9 @@ 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); @@ -238,9 +238,9 @@ 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)); @@ -249,9 +249,9 @@ 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); @@ -261,10 +261,10 @@ 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 l = new ArrayList(); @@ -277,9 +277,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $all} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/all/ * @param o * @return + * @see MongoDB Query operator: $all */ public Criteria all(Object... o) { return all(Arrays.asList(o)); @@ -288,9 +288,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $all} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/all/ * @param o * @return + * @see MongoDB Query operator: $all */ public Criteria all(Collection o) { criteria.put("$all", o); @@ -300,9 +300,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $size} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/size/ * @param s * @return + * @see MongoDB Query operator: $size */ public Criteria size(int s) { criteria.put("$size", s); @@ -312,9 +312,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $exists} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/exists/ * @param b * @return + * @see MongoDB Query operator: $exists */ public Criteria exists(boolean b) { criteria.put("$exists", b); @@ -324,9 +324,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $type} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/type/ * @param t * @return + * @see MongoDB Query operator: $type */ public Criteria type(int t) { criteria.put("$type", t); @@ -336,8 +336,8 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $not} meta operator which affects the clause directly following * - * @see http://docs.mongodb.org/manual/reference/operator/query/not/ * @return + * @see MongoDB Query operator: $not */ public Criteria not() { return not(null); @@ -346,9 +346,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $not} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/not/ * @param value * @return + * @see MongoDB Query operator: $not */ private Criteria not(Object value) { criteria.put("$not", value); @@ -358,9 +358,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using a {@literal $regex} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/regex/ * @param re * @return + * @see MongoDB Query operator: $regex */ public Criteria regex(String re) { return regex(re, null); @@ -369,11 +369,10 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using a {@literal $regex} and {@literal $options} operator. * - * @see http://docs.mongodb.org/manual/reference/operator/query/regex/ - * @see http://docs.mongodb.org/manual/reference/operator/query/regex/#op._S_options * @param re * @param options * @return + * @see MongoDB Query operator: $regex */ public Criteria regex(String re, String options) { return regex(toPattern(re, options)); @@ -406,10 +405,10 @@ public class Criteria implements CriteriaDefinition { * Creates a geospatial criterion using a {@literal $geoWithin $centerSphere} operation. This is only available for * Mongo 2.4 and higher. * - * @see http://docs.mongodb.org/manual/reference/operator/query/geoWithin/ - * @see http://docs.mongodb.org/manual/reference/operator/query/centerSphere/ * @param circle must not be {@literal null} * @return + * @see MongoDB Query operator: $geoWithin + * @see MongoDB Query operator: $centerSphere */ public Criteria withinSphere(Circle circle) { Assert.notNull(circle); @@ -420,9 +419,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a geospatial criterion using a {@literal $geoWithin} operation. * - * @see http://docs.mongodb.org/manual/reference/operator/query/geoWithin/ * @param shape * @return + * @see MongoDB Query operator: $geoWithin */ public Criteria within(Shape shape) { @@ -434,9 +433,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a geospatial criterion using a {@literal $near} operation. * - * @see http://docs.mongodb.org/manual/reference/operator/query/near/ * @param point must not be {@literal null} * @return + * @see MongoDB Query operator: $near */ public Criteria near(Point point) { Assert.notNull(point); @@ -448,9 +447,9 @@ public class Criteria implements CriteriaDefinition { * Creates a geospatial criterion using a {@literal $nearSphere} operation. This is only available for Mongo 1.7 and * higher. * - * @see http://docs.mongodb.org/manual/reference/operator/query/nearSphere/ * @param point must not be {@literal null} * @return + * @see MongoDB Query operator: $nearSphere */ public Criteria nearSphere(Point point) { Assert.notNull(point); @@ -477,9 +476,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a geo-spatial criterion using a {@literal $maxDistance} operation, for use with $near * - * @see http://docs.mongodb.org/manual/reference/operator/query/maxDistance/ * @param maxDistance * @return + * @see MongoDB Query operator: $maxDistance */ public Criteria maxDistance(double maxDistance) { @@ -514,9 +513,9 @@ public class Criteria implements CriteriaDefinition { /** * Creates a criterion using the {@literal $elemMatch} operator * - * @see http://docs.mongodb.org/manual/reference/operator/query/elemMatch/ * @param c * @return + * @see MongoDB Query operator: $elemMatch */ public Criteria elemMatch(Criteria c) { criteria.put("$elemMatch", c.getCriteriaObject()); diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextCriteria.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextCriteria.java index 6fa51cb95..a39ac9ff3 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextCriteria.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextCriteria.java @@ -66,7 +66,7 @@ public class TextCriteria implements CriteriaDefinition { /** * For a full list of supported languages see the mongodb reference manual for - * Text Search Languages. + * Text Search Languages. * * @param language * @return diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextQuery.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextQuery.java index 8e54122ca..8808df8bc 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextQuery.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/TextQuery.java @@ -48,7 +48,7 @@ public class TextQuery extends Query { /** * Creates new {@link TextQuery} in {@code language}.
* For a full list of supported languages see the mongdodb reference manual for Text Search Languages. + * href="https://docs.mongodb.org/manual/reference/text-search-languages/">Text Search Languages. * * @param wordsAndPhrases * @param language @@ -62,7 +62,7 @@ public class TextQuery extends Query { /** * Creates new {@link TextQuery} using the {@code locale}s language.
* For a full list of supported languages see the mongdodb reference manual for Text Search Languages. + * href="https://docs.mongodb.org/manual/reference/text-search-languages/">Text Search Languages. * * @param wordsAndPhrases * @param locale diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Update.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Update.java index 6f5e6ad45..5cc0e4f7a 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Update.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Update.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. @@ -106,10 +106,10 @@ public class Update { /** * Update using the {@literal $set} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/set/ * @param key * @param value * @return + * @see MongoDB Update operator: $set */ public Update set(String key, Object value) { addMultiFieldOperation("$set", key, value); @@ -119,10 +119,10 @@ public class Update { /** * Update using the {@literal $setOnInsert} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/setOnInsert/ * @param key * @param value * @return + * @see MongoDB Update operator: $setOnInsert */ public Update setOnInsert(String key, Object value) { addMultiFieldOperation("$setOnInsert", key, value); @@ -132,9 +132,9 @@ public class Update { /** * Update using the {@literal $unset} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/unset/ * @param key * @return + * @see MongoDB Update operator: $unset */ public Update unset(String key) { addMultiFieldOperation("$unset", key, 1); @@ -144,10 +144,10 @@ public class Update { /** * Update using the {@literal $inc} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/inc/ * @param key * @param inc * @return + * @see MongoDB Update operator: $inc */ public Update inc(String key, Number inc) { addMultiFieldOperation("$inc", key, inc); @@ -157,10 +157,10 @@ public class Update { /** * Update using the {@literal $push} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/push/ * @param key * @param value * @return + * @see MongoDB Update operator: $push */ public Update push(String key, Object value) { addMultiFieldOperation("$push", key, value); @@ -172,10 +172,10 @@ public class Update { * Allows creation of {@code $push} command for single or multiple (using {@code $each}) values as well as using * {@code $position}. * - * @see http://docs.mongodb.org/manual/reference/operator/update/push/ - * @see http://docs.mongodb.org/manual/reference/operator/update/each/ * @param key * @return {@link PushOperatorBuilder} for given key + * @see MongoDB Update operator: $push + * @see MongoDB Update operator: $each */ public PushOperatorBuilder push(String key) { @@ -190,10 +190,10 @@ public class Update { * Note: In mongodb 2.4 the usage of {@code $pushAll} has been deprecated in favor of {@code $push $each}. * {@link #push(String)}) returns a builder that can be used to populate the {@code $each} object. * - * @see http://docs.mongodb.org/manual/reference/operator/update/pushAll/ * @param key * @param values * @return + * @see MongoDB Update operator: $pushAll */ public Update pushAll(String key, Object[] values) { addMultiFieldOperation("$pushAll", key, Arrays.copyOf(values, values.length)); @@ -215,10 +215,10 @@ public class Update { /** * Update using the {@literal $addToSet} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/addToSet/ * @param key * @param value * @return + * @see MongoDB Update operator: $addToSet */ public Update addToSet(String key, Object value) { addMultiFieldOperation("$addToSet", key, value); @@ -228,10 +228,10 @@ public class Update { /** * Update using the {@literal $pop} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/pop/ * @param key * @param pos * @return + * @see MongoDB Update operator: $pop */ public Update pop(String key, Position pos) { addMultiFieldOperation("$pop", key, pos == Position.FIRST ? -1 : 1); @@ -241,10 +241,10 @@ public class Update { /** * Update using the {@literal $pull} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/pull/ * @param key * @param value * @return + * @see MongoDB Update operator: $pull */ public Update pull(String key, Object value) { addMultiFieldOperation("$pull", key, value); @@ -254,10 +254,10 @@ public class Update { /** * Update using the {@literal $pullAll} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/pullAll/ * @param key * @param values * @return + * @see MongoDB Update operator: $pullAll */ public Update pullAll(String key, Object[] values) { addMultiFieldOperation("$pullAll", key, Arrays.copyOf(values, values.length)); @@ -267,10 +267,10 @@ public class Update { /** * Update using the {@literal $rename} update modifier * - * @see http://docs.mongodb.org/manual/reference/operator/update/rename/ * @param oldName * @param newName * @return + * @see MongoDB Update operator: $rename */ public Update rename(String oldName, String newName) { addMultiFieldOperation("$rename", oldName, newName); @@ -280,10 +280,10 @@ public class Update { /** * Update given key to current date using {@literal $currentDate} modifier. * - * @see http://docs.mongodb.org/manual/reference/operator/update/currentDate/ * @param key * @return * @since 1.6 + * @see MongoDB Update operator: $currentDate */ public Update currentDate(String key) { @@ -294,10 +294,10 @@ public class Update { /** * Update given key to current date using {@literal $currentDate : { $type : "timestamp" }} modifier. * - * @see http://docs.mongodb.org/manual/reference/operator/update/currentDate/ * @param key * @return * @since 1.6 + * @see MongoDB Update operator: $currentDate */ public Update currentTimestamp(String key) { @@ -308,11 +308,11 @@ public class Update { /** * Multiply the value of given key by the given number. * - * @see http://docs.mongodb.org/manual/reference/operator/update/mul/ * @param key must not be {@literal null}. * @param multiplier must not be {@literal null}. * @return * @since 1.7 + * @see MongoDB Update operator: $mul */ public Update multiply(String key, Number multiplier) { @@ -324,12 +324,12 @@ public class Update { /** * Update given key to the {@code value} if the {@code value} is greater than the current value of the field. * - * @see http://docs.mongodb.org/manual/reference/operator/update/max/ - * @see https://docs.mongodb.org/manual/reference/bson-types/#faq-dev-compare-order-for-bson-types * @param key must not be {@literal null}. * @param value must not be {@literal null}. * @return * @since 1.10 + * @see Comparison/Sort Order + * @see MongoDB Update operator: $max */ public Update max(String key, Object value) { @@ -341,12 +341,12 @@ public class Update { /** * Update given key to the {@code value} if the {@code value} is less than the current value of the field. * - * @see http://docs.mongodb.org/manual/reference/operator/update/min/ - * @see https://docs.mongodb.org/manual/reference/bson-types/#faq-dev-compare-order-for-bson-types * @param key must not be {@literal null}. * @param value must not be {@literal null}. * @return * @since 1.10 + * @see Comparison/Sort Order + * @see MongoDB Update operator: $min */ public Update min(String key, Object value) { diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/gridfs/GridFsOperations.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/gridfs/GridFsOperations.java index 3c94ef21e..c1e16b541 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/gridfs/GridFsOperations.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/gridfs/GridFsOperations.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 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. @@ -121,7 +121,7 @@ public interface GridFsOperations extends ResourcePatternResolver { * Returns all files matching the given query. Note, that currently {@link Sort} criterias defined at the * {@link Query} will not be regarded as MongoDB does not support ordering for GridFS file access. * - * @see https://jira.mongodb.org/browse/JAVA-431 + * @see MongoDB Jira: JAVA-431 * @param query * @return */ diff --git a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/AggregationTests.java b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/AggregationTests.java index 9330b3e26..9b9766370 100644 --- a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/AggregationTests.java +++ b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/AggregationTests.java @@ -152,7 +152,7 @@ public class AggregationTests { * Imports the sample dataset (zips.json) if necessary (e.g. if it doesn't exist yet). The dataset can originally be * found on the mongodb aggregation framework example website: * - * @see MongoDB Aggregation Examples + * @see MongoDB Aggregation Examples */ private void initSampleDataIfNecessary() { @@ -342,7 +342,7 @@ public class AggregationTests { @Test // DATAMONGO-586 public void complexAggregationFrameworkUsageLargestAndSmallestCitiesByState() { /* - //complex mongodb aggregation framework example from http://docs.mongodb.org/manual/tutorial/aggregation-examples/#largest-and-smallest-cities-by-state + //complex mongodb aggregation framework example from https://docs.mongodb.org/manual/tutorial/aggregation-examples/#largest-and-smallest-cities-by-state db.zipInfo.aggregate( { $group: { @@ -451,7 +451,7 @@ public class AggregationTests { public void findStatesWithPopulationOver10MillionAggregationExample() { /* //complex mongodb aggregation framework example from - http://docs.mongodb.org/manual/tutorial/aggregation-examples/#largest-and-smallest-cities-by-state + https://docs.mongodb.org/manual/tutorial/aggregation-examples/#largest-and-smallest-cities-by-state db.zipcodes.aggregate( { diff --git a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/ZipInfo.java b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/ZipInfo.java index 4b63398d2..1dd3503a1 100644 --- a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/ZipInfo.java +++ b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/ZipInfo.java @@ -7,7 +7,7 @@ import org.springframework.data.mongodb.core.mapping.Field; /** * Data model from mongodb reference data set * - * @see Aggregation Examples + * @see Aggregation Examples * @see