DATAMONGO-1533 - Polishing.

Extend JavaDoc. Minor reformatting.

Original pull request: #428.
This commit is contained in:
Mark Paluch
2016-12-16 08:55:21 +01:00
parent b7317892a2
commit 362de45664

View File

@@ -53,7 +53,7 @@ public class AggregationSpELExpression implements AggregationExpression {
/**
* Creates new {@link AggregationSpELExpression} for the given {@literal expressionString} and {@literal parameters}.
*
* @param expression must not be {@literal null}.
* @param expressionString must not be {@literal null}.
* @param parameters can be empty.
* @return
*/
@@ -63,6 +63,9 @@ public class AggregationSpELExpression implements AggregationExpression {
return new AggregationSpELExpression(expressionString, parameters);
}
/* (non-Javadoc)
* @see org.springframework.data.mongodb.core.aggregation.AggregationExpression#toDbObject(org.springframework.data.mongodb.core.aggregation.AggregationOperationContext)
*/
@Override
public Document toDocument(AggregationOperationContext context) {
return (Document) TRANSFORMER.transform(rawExpression, context, parameters);