Skip to content

Commit 7ab7212

Browse files
committed
DATAMONGO-1587 - Polishing.
Convert @see http://… links to valid format using @see <a href=…>…</a>
1 parent 27651ef commit 7ab7212

37 files changed

+122
-124
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/GeoCommandStatistics.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2016-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -62,7 +62,7 @@ public static GeoCommandStatistics from(DBObject commandResult) {
6262
* didn't return any result introduced in MongoDB 3.2 RC1.
6363
*
6464
* @return
65-
* @see https://jira.mongodb.org/browse/SERVER-21024
65+
* @see <a href="https://jira.mongodb.org/browse/SERVER-21024">MongoDB Jira SERVER-21024</a>
6666
*/
6767
public double getAverageDistance() {
6868

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2016 the original author or authors.
2+
* Copyright 2010-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -700,7 +700,7 @@ public <T> GeoResults<T> geoNear(NearQuery near, Class<T> entityClass, String co
700700
* As MongoDB currently (2.4.4) doesn't support the skipping of elements in near queries
701701
* we skip the elements ourselves to avoid at least the document 2 object mapping overhead.
702702
*
703-
* @see https://jira.mongodb.org/browse/SERVER-3925
703+
* @see <a href="https://jira.mongodb.org/browse/SERVER-3925">MongoDB Jira: SERVER-3925</a>
704704
*/
705705
if (index >= elementsToSkip) {
706706
result.add(callback.doWith((DBObject) element));

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/Aggregation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2016 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -600,7 +600,7 @@ public String toString() {
600600
* Describes the system variables available in MongoDB aggregation framework pipeline expressions.
601601
*
602602
* @author Thomas Darimont
603-
* @see http://docs.mongodb.org/manual/reference/aggregation-variables
603+
* @see <a href="https://docs.mongodb.org/manual/reference/aggregation-variables">Aggregation Variables</a>
604604
*/
605605
enum SystemVariable {
606606

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Holds a set of configurable aggregation options that can be used within an aggregation pipeline. A list of support
2323
* aggregation options can be found in the MongoDB reference documentation
24-
* http://docs.mongodb.org/manual/reference/command/aggregate/#aggregate
24+
* https://docs.mongodb.org/manual/reference/command/aggregate/#aggregate
2525
*
2626
* @author Thomas Darimont
2727
* @author Oliver Gierke

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketAutoOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* instances of this class directly.
3232
*
3333
* @see <a href=
34-
* "http://docs.mongodb.org/manual/reference/aggregation/bucketAuto/">http://docs.mongodb.org/manual/reference/aggregation/bucketAuto/</a>
34+
* "https://docs.mongodb.org/manual/reference/aggregation/bucketAuto/">https://docs.mongodb.org/manual/reference/aggregation/bucketAuto/</a>
3535
* @see BucketOperationSupport
3636
* @author Mark Paluch
3737
* @author Christoph Strobl

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/BucketOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* We recommend to use the static factory method {@link Aggregation#bucket(String)} instead of creating instances of
3636
* this class directly.
3737
*
38-
* @see <a href="http://docs.mongodb.org/manual/reference/aggregation/bucket/">http://docs.mongodb.org/manual/reference/aggregation/bucket/</a>
38+
* @see <a href="https://docs.mongodb.org/manual/reference/aggregation/bucket/">https://docs.mongodb.org/manual/reference/aggregation/bucket/</a>
3939
* @see BucketOperationSupport
4040
* @author Mark Paluch
4141
* @since 1.10

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ConditionalOperators.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ private boolean usesCriteriaDefinition() {
232232
* converted to a simple MongoDB type.
233233
*
234234
* @see <a href=
235-
* "http://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/">http://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/</a>
235+
* "https://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/">https://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/</a>
236236
* @author Mark Paluch
237237
*/
238238
public static class IfNull implements AggregationExpression {
@@ -535,7 +535,7 @@ public interface ThenBuilder {
535535
* simple MongoDB type.
536536
*
537537
* @see <a href=
538-
* "http://docs.mongodb.com/manual/reference/operator/aggregation/cond/">http://docs.mongodb.com/manual/reference/operator/aggregation/cond/</a>
538+
* "https://docs.mongodb.com/manual/reference/operator/aggregation/cond/">https://docs.mongodb.com/manual/reference/operator/aggregation/cond/</a>
539539
* @author Mark Paluch
540540
* @author Christoph Strobl
541541
*/

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/FacetOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2016-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,10 +39,10 @@
3939
* We recommend to use the static factory method {@link Aggregation#facet()} instead of creating instances of this class
4040
* directly.
4141
*
42-
* @see http://docs.mongodb.org/manual/reference/aggregation/facet/
4342
* @author Mark Paluch
4443
* @author Christoph Strobl
4544
* @since 1.10
45+
* @see <a href="https://docs.mongodb.org/manual/reference/aggregation/facet/">MongoDB Aggregation Framework: $facet</a>
4646
*/
4747
public class FacetOperation implements FieldsExposingAggregationOperation {
4848

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GraphLookupOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* of this class directly.
3939
*
4040
* @see <a href=
41-
* "http://docs.mongodb.org/manual/reference/aggregation/graphLookup/">http://docs.mongodb.org/manual/reference/aggregation/graphLookup/</a>
41+
* "https://docs.mongodb.org/manual/reference/aggregation/graphLookup/">https://docs.mongodb.org/manual/reference/aggregation/graphLookup/</a>
4242
* @author Mark Paluch
4343
* @author Christoph Strobl
4444
* @since 1.10

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/GroupOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2016 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,13 +35,13 @@
3535
* We recommend to use the static factory method {@link Aggregation#group(Fields)} instead of creating instances of this
3636
* class directly.
3737
*
38-
* @see http://docs.mongodb.org/manual/reference/aggregation/group/#stage._S_group
3938
* @author Sebastian Herold
4039
* @author Thomas Darimont
4140
* @author Oliver Gierke
4241
* @author Gustavo de Geus
4342
* @author Christoph Strobl
4443
* @since 1.3
44+
* @see <a href="https://docs.mongodb.org/manual/reference/aggregation/group/">MongoDB Aggregation Framework: $group</a>
4545
*/
4646
public class GroupOperation implements FieldsExposingAggregationOperation {
4747

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LimitOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2015 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,10 +26,10 @@
2626
* We recommend to use the static factory method {@link Aggregation#limit(long)} instead of creating instances of this
2727
* class directly.
2828
*
29-
* @see http://docs.mongodb.org/manual/reference/aggregation/limit/
3029
* @author Thomas Darimont
3130
* @author Oliver Gierke
3231
* @since 1.3
32+
* @see <a href="https://docs.mongodb.org/manual/reference/aggregation/limit/">MongoDB Aggregation Framework: $limit</a>
3333
*/
3434
public class LimitOperation implements AggregationOperation {
3535

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/LookupOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2016-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,8 +29,8 @@
2929
* @author Alessio Fachechi
3030
* @author Christoph Strobl
3131
* @author Mark Paluch
32-
* @see http://docs.mongodb.org/manual/reference/aggregation/lookup/#stage._S_lookup
3332
* @since 1.9
33+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/">MongoDB Aggregation Framework: $lookup</a>
3434
*/
3535
public class LookupOperation implements FieldsExposingAggregationOperation, InheritsFieldsAggregationOperation {
3636

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/MatchOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2015 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,11 +28,11 @@
2828
* {@link Aggregation#match(org.springframework.data.mongodb.core.query.Criteria)} instead of creating instances of this
2929
* class directly.
3030
*
31-
* @see http://docs.mongodb.org/manual/reference/aggregation/match/
3231
* @author Sebastian Herold
3332
* @author Thomas Darimont
3433
* @author Oliver Gierke
3534
* @since 1.3
35+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/match/">MongoDB Aggregation Framework: $match</a>
3636
*/
3737
public class MatchOperation implements AggregationOperation {
3838

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/OutOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2016-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,8 +25,8 @@
2525
* We recommend to use the static factory method {@link Aggregation#out(String)} instead of creating instances of this
2626
* class directly.
2727
*
28-
* @see http://docs.mongodb.org/manual/reference/aggregation/out/
2928
* @author Nikolay Bogdanov
29+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/out/">MongoDB Aggregation Framework: $out</a>
3030
*/
3131
public class OutOperation implements AggregationOperation {
3232

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
* We recommend to use the static factory method {@link Aggregation#project(Fields)} instead of creating instances of
4242
* this class directly.
4343
*
44-
* @see http://docs.mongodb.org/manual/reference/aggregation/project/
4544
* @author Tobias Trelle
4645
* @author Thomas Darimont
4746
* @author Oliver Gierke
4847
* @author Christoph Strobl
4948
* @author Mark Paluch
5049
* @since 1.3
50+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/project/">MongoDB Aggregation Framework: $project</a>
5151
*/
5252
public class ProjectionOperation implements FieldsExposingAggregationOperation {
5353

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ReplaceRootOperation.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2016-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -32,11 +32,10 @@
3232
* We recommend to use the static factory method {@link Aggregation#replaceRoot(String)} instead of creating instances
3333
* of this class directly.
3434
*
35-
* @see <a href=
36-
* "https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot/">https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot/</a>
3735
* @author Mark Paluch
3836
* @author Christoph Strobl
3937
* @since 1.10
38+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot/">MongoDB Aggregation Framework: $replaceRoot</a>
4039
*/
4140
public class ReplaceRootOperation implements FieldsExposingAggregationOperation {
4241

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SkipOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2016 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,10 +26,10 @@
2626
* We recommend to use the static factory method {@link Aggregation#skip(int)} instead of creating instances of this
2727
* class directly.
2828
*
29-
* @see http://docs.mongodb.org/manual/reference/aggregation/skip/
3029
* @author Thomas Darimont
3130
* @author Oliver Gierke
3231
* @since 1.3
32+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/skip/">MongoDB Aggregation Framework: $skip</a>
3333
*/
3434
public class SkipOperation implements AggregationOperation {
3535

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SortOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2015 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,10 +30,10 @@
3030
* We recommend to use the static factory method {@link Aggregation#sort(Direction, String...)} instead of creating
3131
* instances of this class directly.
3232
*
33-
* @see http://docs.mongodb.org/manual/reference/aggregation/sort/#pipe._S_sort
3433
* @author Thomas Darimont
3534
* @author Oliver Gierke
3635
* @since 1.3
36+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/sort/">MongoDB Aggregation Framework: $sort</a>
3737
*/
3838
public class SortOperation implements AggregationOperation {
3939

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/UnwindOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2016 the original author or authors.
2+
* Copyright 2013-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,12 +27,12 @@
2727
* We recommend to use the static factory method {@link Aggregation#unwind(String)} instead of creating instances of
2828
* this class directly.
2929
*
30-
* @see http://docs.mongodb.org/manual/reference/aggregation/unwind/#pipe._S_unwind
3130
* @author Thomas Darimont
3231
* @author Oliver Gierke
3332
* @author Mark Paluch
3433
* @author Christoph Strobl
3534
* @since 1.3
35+
* @see <a href="https://docs.mongodb.com/manual/reference/operator/aggregation/unwind/">MongoDB Aggregation Framework: $unwind</a>
3636
*/
3737
public class UnwindOperation
3838
implements AggregationOperation, FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation {

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJson.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ public interface GeoJson<T extends Iterable<?>> {
2727
* String value representing the type of the {@link GeoJson} object.
2828
*
2929
* @return will never be {@literal null}.
30-
* @see http://geojson.org/geojson-spec.html#geojson-objects
30+
* @see <a href="http://geojson.org/geojson-spec.html#geojson-objects">http://geojson.org/geojson-spec.html#geojson-objects</a>
3131
*/
3232
String getType();
3333

@@ -36,7 +36,7 @@ public interface GeoJson<T extends Iterable<?>> {
3636
* determined by {@link #getType()} of geometry.
3737
*
3838
* @return will never be {@literal null}.
39-
* @see http://geojson.org/geojson-spec.html#geometry-objects
39+
* @see <a href="http://geojson.org/geojson-spec.html#geometry-objects">http://geojson.org/geojson-spec.html#geometry-objects</a>
4040
*/
4141
T getCoordinates();
4242
}

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonGeometryCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
2727
*
2828
* @author Christoph Strobl
2929
* @since 1.7
30-
* @see http://geojson.org/geojson-spec.html#geometry-collection
30+
* @see <a href="http://geojson.org/geojson-spec.html#geometry-collection">http://geojson.org/geojson-spec.html#geometry-collection</a>
3131
*/
3232
public class GeoJsonGeometryCollection implements GeoJson<Iterable<GeoJson<?>>> {
3333

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonLineString.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
2424
*
2525
* @author Christoph Strobl
2626
* @since 1.7
27-
* @see http://geojson.org/geojson-spec.html#linestring
27+
* @see <a href="http://geojson.org/geojson-spec.html#linestring">http://geojson.org/geojson-spec.html#linestring</a>
2828
*/
2929
public class GeoJsonLineString extends GeoJsonMultiPoint {
3030

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiLineString.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@
2828
*
2929
* @author Christoph Strobl
3030
* @since 1.7
31-
* @see http://geojson.org/geojson-spec.html#multilinestring
31+
* @see <a href="http://geojson.org/geojson-spec.html#multilinestring">http://geojson.org/geojson-spec.html#multilinestring</a>
3232
*/
3333
public class GeoJsonMultiLineString implements GeoJson<Iterable<GeoJsonLineString>> {
3434

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonMultiPoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015 the original author or authors.
2+
* Copyright 2015-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929
*
3030
* @author Christoph Strobl
3131
* @since 1.7
32-
* @see http://geojson.org/geojson-spec.html#multipoint
32+
* @see <a href="http://geojson.org/geojson-spec.html#multipoint">http://geojson.org/geojson-spec.html#multipoint</a>
3333
*/
3434
public class GeoJsonMultiPoint implements GeoJson<Iterable<Point>> {
3535

0 commit comments

Comments
 (0)