[core] Remove deprecated methods in RuleReference
RuleReference#setRuleSetReference RuleReference#hasOverriddenProperty
This commit is contained in:
@ -279,14 +279,6 @@ public class RuleReference implements Rule {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated There's no use in setting the ruleset reference after construction
|
||||
*/
|
||||
@Deprecated
|
||||
public void setRuleSetReference(RuleSetReference ruleSetReference) {
|
||||
this.ruleSetReference = ruleSetReference;
|
||||
}
|
||||
|
||||
private static boolean isSame(String s1, String s2) {
|
||||
return StringUtil.isSame(s1, s2, true, false, true);
|
||||
}
|
||||
@ -307,14 +299,6 @@ public class RuleReference implements Rule {
|
||||
|| rule.hasDescriptor(descriptor);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #isPropertyOverridden(PropertyDescriptor)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean hasOverriddenProperty(PropertyDescriptor<?> descriptor) {
|
||||
return isPropertyOverridden(descriptor);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPropertyOverridden(PropertyDescriptor<?> descriptor) {
|
||||
return propertyValues != null && propertyValues.containsKey(descriptor);
|
||||
|
Reference in New Issue
Block a user