Skip to content

Commit 6993054

Browse files
committed
DATAMONGO-1533 - Polishing.
Enhance JavaDoc. Minor reformatting. Original pull request: #428.
1 parent 35bfb92 commit 6993054

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
*/
1616
package org.springframework.data.mongodb.core.aggregation;
1717

18-
import com.mongodb.DBObject;
1918
import org.springframework.util.Assert;
2019

20+
import com.mongodb.DBObject;
21+
2122
/**
2223
* An {@link AggregationExpression} that renders a MongoDB Aggregation Framework expression from the AST of a
2324
* <a href="http://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html">SpEL
@@ -53,7 +54,7 @@ private AggregationSpELExpression(String rawExpression, Object[] parameters) {
5354
/**
5455
* Creates new {@link AggregationSpELExpression} for the given {@literal expressionString} and {@literal parameters}.
5556
*
56-
* @param expression must not be {@literal null}.
57+
* @param expressionString must not be {@literal null}.
5758
* @param parameters can be empty.
5859
* @return
5960
*/
@@ -63,6 +64,9 @@ public static AggregationSpELExpression expressionOf(String expressionString, Ob
6364
return new AggregationSpELExpression(expressionString, parameters);
6465
}
6566

67+
/* (non-Javadoc)
68+
* @see org.springframework.data.mongodb.core.aggregation.AggregationExpression#toDbObject(org.springframework.data.mongodb.core.aggregation.AggregationOperationContext)
69+
*/
6670
@Override
6771
public DBObject toDbObject(AggregationOperationContext context) {
6872
return (DBObject) TRANSFORMER.transform(rawExpression, context, parameters);

0 commit comments

Comments
 (0)