Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Reformat code.

See #3712
Original pull request: #3740.
  • Loading branch information
christophstrobl authored and mp911de committed Aug 23, 2021
1 parent c574e5c commit 1fcbe69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ public StdDevSamp stdDevSamp() {
}

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

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

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

/**
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the result of the given
* {@link AggregationExpression expression} to calculate the sample covariance of the two.
* Creates new {@link AggregationExpression} that uses the previous input (field/expression) and the result of the
* given {@link AggregationExpression expression} to calculate the sample covariance of the two.
*
* @param expression must not be {@literal null}.
* @return new instance of {@link CovariancePop}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import org.springframework.data.mongodb.util.aggregation.TestAggregationContext;

/**
* Unit tests for {@link AccumulatorOperators}.
*
* @author Christoph Strobl
*/
class AccumulatorOperatorsUnitTests {
Expand Down

0 comments on commit 1fcbe69

Please sign in to comment.