Fix up whitespace

This commit is contained in:
Tadgh 2020-03-13 15:30:49 -07:00
parent 03567c5831
commit d91cb7524c
1 changed files with 4 additions and 4 deletions

View File

@ -853,7 +853,6 @@ class PredicateBuilderReference extends BasePredicateBuilder {
for (IQueryParameterOr<IQueryParameterType> next : parsedParam.getValuesAsQueryTokens()) { for (IQueryParameterOr<IQueryParameterType> next : parsedParam.getValuesAsQueryTokens()) {
orValues.addAll(next.getValuesAsQueryTokens()); orValues.addAll(next.getValuesAsQueryTokens());
} }
//Handle internal chain inside the has. //Handle internal chain inside the has.
if (parameterName.contains(".")) { if (parameterName.contains(".")) {
String chainedPartOfParameter = getChainedPart(parameterName); String chainedPartOfParameter = getChainedPart(parameterName);
@ -874,6 +873,7 @@ class PredicateBuilderReference extends BasePredicateBuilder {
myQueryRoot.addPredicate(andPredicate); myQueryRoot.addPredicate(andPredicate);
} }
} }
private String getChainedPart(String parameter) { private String getChainedPart(String parameter) {
return parameter.substring(parameter.indexOf(".") + 1); return parameter.substring(parameter.indexOf(".") + 1);
} }