DATAJDBC-410 - Polishing.

Tweak Javadoc.

Original pull request: #167.
This commit is contained in:
Mark Paluch
2019-09-11 16:34:07 +02:00
parent 85bf1e6dc7
commit fb0cd1fe70
2 changed files with 6 additions and 3 deletions

View File

@@ -227,7 +227,7 @@ public abstract class Conditions {
*
* @param columnOrExpression left hand side of the {@link Condition} must not be {@literal null}.
* @param expressions right hand side (collection {@link Expression}) must not be {@literal null}.
* @return the {@link In} {@link Condition}.
* @return the {@link In NOT IN} {@link Condition}.
*/
public static In notIn(Expression columnOrExpression, Expression... expressions) {
@@ -242,7 +242,7 @@ public abstract class Conditions {
*
* @param column the column to compare.
* @param subselect the subselect.
* @return the {@link In} condition.
* @return the {@link In NOT IN} condition.
*/
public static In notIn(Column column, Select subselect) {

View File

@@ -149,9 +149,12 @@ public class In extends AbstractSegment implements Condition {
return new In(columnOrExpression, Arrays.asList(expressions), true);
}
/*
* (non-Javadoc)
* @see org.springframework.data.relational.core.sql.Condition#not()
*/
@Override
public Condition not() {
return new In(left, expressions, !notIn);
}