We have a warning about class visibility, fix it by using public
interface. Also mark the method for removal, as it does not seem
to be used.
Change-Id: I00556715ef3200dc2b46540a05c8e6c0fea0f55e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
@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);
}