Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed Jan 26, 2020
1 parent aeaf1ad commit c379f09
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/org/citydb/sqlbuilder/select/Select.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Select removeOptimizerHint(String hint) {
return this;
}

public Select removeOptimizerHints(Predicate<String> filter) {
public Select removeOptimizerHintsIf(Predicate<String> filter) {
optimizerHints.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -142,7 +142,7 @@ public Select removeWith(CommonTableExpression cte) {
return this;
}

public Select removeWith(Predicate<CommonTableExpression> filter) {
public Select removeWithIf(Predicate<CommonTableExpression> filter) {
ctes.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -171,7 +171,7 @@ public Select removeProjection(ProjectionToken token) {
return this;
}

public Select removeProjection(Predicate<ProjectionToken> filter) {
public Select removeProjectionIf(Predicate<ProjectionToken> filter) {
projectionTokens.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -200,7 +200,7 @@ public Select removeJoin(Join join) {
return this;
}

public Select removeJoins(Predicate<Join> filter) {
public Select removeJoinsIf(Predicate<Join> filter) {
joins.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -229,7 +229,7 @@ public Select removeSelection(PredicateToken token) {
return this;
}

public Select removeSelection(Predicate<PredicateToken> filter) {
public Select removeSelectionIf(Predicate<PredicateToken> filter) {
predicateTokens.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -258,7 +258,7 @@ public Select removeHaving(HavingToken token) {
return this;
}

public Select removeHaving(Predicate<HavingToken> filter) {
public Select removeHavingIf(Predicate<HavingToken> filter) {
havingTokens.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -298,7 +298,7 @@ public Select removeGroupBy(GroupByToken token) {
return this;
}

public Select removeGroupBy(Predicate<GroupByToken> filter) {
public Select removeGroupByIf(Predicate<GroupByToken> filter) {
groupByTokens.removeIf(filter);
return this;
}
Expand Down Expand Up @@ -327,7 +327,7 @@ public Select removeOrderBy(OrderByToken token) {
return this;
}

public Select removeOrderBy(Predicate<OrderByToken> filter) {
public Select removeOrderByIf(Predicate<OrderByToken> filter) {
orderByTokens.removeIf(filter);
return this;
}
Expand Down

0 comments on commit c379f09

Please sign in to comment.