Skip to content

Commit 1fcbe69

Browse files
christophstroblmp911de
authored andcommitted
Polishing.
Reformat code. See #3712 Original pull request: #3740.
1 parent c574e5c commit 1fcbe69

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ public StdDevSamp stdDevSamp() {
143143
}
144144

145145
/**
146-
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the value of the given
147-
* field to calculate the population covariance of the two.
146+
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the value of the
147+
* given field to calculate the population covariance of the two.
148148
*
149149
* @param fieldReference must not be {@literal null}.
150150
* @return new instance of {@link CovariancePop}.
@@ -155,8 +155,8 @@ public CovariancePop covariancePop(String fieldReference) {
155155
}
156156

157157
/**
158-
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the result of the given
159-
* {@link AggregationExpression expression} to calculate the population covariance of the two.
158+
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the result of the
159+
* given {@link AggregationExpression expression} to calculate the population covariance of the two.
160160
*
161161
* @param expression must not be {@literal null}.
162162
* @return new instance of {@link CovariancePop}.
@@ -171,8 +171,8 @@ private CovariancePop covariancePop() {
171171
}
172172

173173
/**
174-
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the value of the given
175-
* field to calculate the sample covariance of the two.
174+
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the value of the
175+
* given field to calculate the sample covariance of the two.
176176
*
177177
* @param fieldReference must not be {@literal null}.
178178
* @return new instance of {@link CovariancePop}.
@@ -183,8 +183,8 @@ public CovarianceSamp covarianceSamp(String fieldReference) {
183183
}
184184

185185
/**
186-
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the result of the given
187-
* {@link AggregationExpression expression} to calculate the sample covariance of the two.
186+
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the result of the
187+
* given {@link AggregationExpression expression} to calculate the sample covariance of the two.
188188
*
189189
* @param expression must not be {@literal null}.
190190
* @return new instance of {@link CovariancePop}.

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/AccumulatorOperatorsUnitTests.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
import org.springframework.data.mongodb.util.aggregation.TestAggregationContext;
2828

2929
/**
30+
* Unit tests for {@link AccumulatorOperators}.
31+
*
3032
* @author Christoph Strobl
3133
*/
3234
class AccumulatorOperatorsUnitTests {

0 commit comments

Comments
 (0)