From d91cb7524c866bdb4b49ae0ecef677c62232e2a6 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Fri, 13 Mar 2020 15:30:49 -0700 Subject: [PATCH] Fix up whitespace --- .../fhir/jpa/dao/predicate/PredicateBuilderReference.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/PredicateBuilderReference.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/PredicateBuilderReference.java index 0e9a6a82de4..f3b9fe459fd 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/PredicateBuilderReference.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/PredicateBuilderReference.java @@ -850,10 +850,9 @@ class PredicateBuilderReference extends BasePredicateBuilder { ArrayList orValues = Lists.newArrayList(); - for (IQueryParameterOr next : parsedParam.getValuesAsQueryTokens()) { - orValues.addAll(next.getValuesAsQueryTokens()); - } - + for (IQueryParameterOr next : parsedParam.getValuesAsQueryTokens()) { + orValues.addAll(next.getValuesAsQueryTokens()); + } //Handle internal chain inside the has. if (parameterName.contains(".")) { String chainedPartOfParameter = getChainedPart(parameterName); @@ -874,6 +873,7 @@ class PredicateBuilderReference extends BasePredicateBuilder { myQueryRoot.addPredicate(andPredicate); } } + private String getChainedPart(String parameter) { return parameter.substring(parameter.indexOf(".") + 1); }