@Override
public Restrictions getRestrictions() {
- return this.restrictions;
+ return restrictions;
}
}
@Override
public Restrictions getRestrictions() {
- return this.restrictions;
+ return restrictions;
}
}
@Override
public Type[] getActualTypeArguments() {
- return this.actualTypes;
+ return actualTypes;
}
@Override
public Type getRawType() {
- return this.rawType;
+ return rawType;
}
}
}
}
- public static <T extends Number & Comparable<T>> DefaultRestrictions<T> getDefaultRestrictions(final T min,
- final T max) {
+ // FIXME: 9.0.0: remove this method
+ public static <T extends Number & Comparable<T>> Restrictions getDefaultRestrictions(final T min, final T max) {
return new DefaultRestrictions<>(min, max);
}