Skip to content

Commit 2931d85

Browse files
committed
Fixing last compiling issues
1 parent 1831afe commit 2931d85

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

hapi-fhir-jpaserver-elastic-test-utilities/src/test/java/ca/uhn/fhir/jpa/dao/r4/HSearchSandboxTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,12 @@ public PredicateFinalStep buildAndOrPredicates(
400400
// we need to know if there is more than one "and" predicate (outer list) with more than one "or" predicate (inner list)
401401
long maxOrPredicateSize = theAndOrTerms.stream().map(List::size).filter(s -> s > 1).count();
402402

403-
BooleanPredicateClausesStep<?> topBool = myPredicateFactory.bool();
403+
BooleanPredicateClausesStep<?,?> topBool = myPredicateFactory.bool();
404404
topBool.must(myPredicateFactory.match().field("myResourceType").matching("Observation"));
405405

406-
BooleanPredicateClausesStep<?> activeBool = topBool;
406+
BooleanPredicateClausesStep<?,?> activeBool = topBool;
407407
if (isNested) {
408-
BooleanPredicateClausesStep<?> nestedBool = myPredicateFactory.bool();
408+
BooleanPredicateClausesStep<?,?> nestedBool = myPredicateFactory.bool();
409409
activeBool = nestedBool;
410410
}
411411

@@ -454,7 +454,7 @@ private boolean isNested(String theSearchParamName) {
454454
}
455455

456456

457-
private void addOnePredicate(BooleanPredicateClausesStep<?> theTopBool, boolean theIsMust,
457+
private void addOnePredicate(BooleanPredicateClausesStep<?,?> theTopBool, boolean theIsMust,
458458
String theParamName, IQueryParameterType theParameterType) {
459459

460460
if (theParameterType instanceof QuantityParam) {
@@ -466,7 +466,7 @@ private void addOnePredicate(BooleanPredicateClausesStep<?> theTopBool, boolean
466466
}
467467

468468

469-
private void addQuantityOrClauses(BooleanPredicateClausesStep<?> theTopBool, boolean theIsMust,
469+
private void addQuantityOrClauses(BooleanPredicateClausesStep<?,?> theTopBool, boolean theIsMust,
470470
String theSearchParamName, IQueryParameterType theParamType) {
471471

472472
String fieldPath = NESTED_SEARCH_PARAM_ROOT + "." + theSearchParamName + "." + INDEX_TYPE_QUANTITY;
@@ -479,7 +479,7 @@ private void addQuantityOrClauses(BooleanPredicateClausesStep<?> theTopBool, boo
479479
}
480480

481481

482-
private void addQuantityTerms(BooleanPredicateClausesStep<?> theTopBool, boolean theIsMust,
482+
private void addQuantityTerms(BooleanPredicateClausesStep<?,?> theTopBool, boolean theIsMust,
483483
ParamPrefixEnum theActivePrefix, QuantityParam theQtyParam, String theFieldPath) {
484484

485485
String valueFieldPath = theFieldPath + "." + QTY_VALUE;
@@ -496,12 +496,12 @@ private void addQuantityTerms(BooleanPredicateClausesStep<?> theTopBool, boolean
496496
}
497497

498498

499-
private void addFieldPredicate(boolean theIsMust, BooleanPredicateClausesStep<?> theTopBool, String theFieldPath, String theValue) {
499+
private void addFieldPredicate(boolean theIsMust, BooleanPredicateClausesStep<?,?> theTopBool, String theFieldPath, String theValue) {
500500
MatchPredicateOptionsStep<?> pred = myPredicateFactory.match().field(theFieldPath).matching(theValue);
501501
addMustOrShould(theIsMust, theTopBool, pred);
502502
}
503503

504-
private void addMustOrShould(boolean theIsMust, BooleanPredicateClausesStep<?> theTopBool, PredicateFinalStep thePredicate) {
504+
private void addMustOrShould(boolean theIsMust, BooleanPredicateClausesStep<?,?> theTopBool, PredicateFinalStep thePredicate) {
505505
if (theIsMust) {
506506
theTopBool.must(thePredicate);
507507
} else {

0 commit comments

Comments
 (0)