diff --git a/v5migrationhelper/engine/src/main/java/org/hibernate/search/query/dsl/RangeMatchingContext.java b/v5migrationhelper/engine/src/main/java/org/hibernate/search/query/dsl/RangeMatchingContext.java index 6c235564b43..7386d61a749 100644 --- a/v5migrationhelper/engine/src/main/java/org/hibernate/search/query/dsl/RangeMatchingContext.java +++ b/v5migrationhelper/engine/src/main/java/org/hibernate/search/query/dsl/RangeMatchingContext.java @@ -25,7 +25,7 @@ public interface RangeMatchingContext extends FieldCustomization correct or should we specialize to String and Numeric (or all the numeric types? FromRangeContext from(T from); - public interface FromRangeContext { + interface FromRangeContext { RangeTerminationExcludable to(T to); FromRangeContext excludeLimit(); }