This is just a reference to the argument, there is no point in
forcing implementations to deal with this.
Change-Id: I40cb0c349694f9fe9e224e4458fea2b2c05fa870
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
afae17b562f7ad0cdc9b844943dca045051f92d2)
*/
@Beta
@Nonnull
- Predicate<Set<QName>> getIfFeaturePredicate();
+ default Predicate<Set<QName>> getIfFeaturePredicate() {
+ return argument();
+ }
}
IfFeatureStatementImpl(final StmtContext<Predicate<Set<QName>>, IfFeatureStatement, ?> context) {
super(context);
}
-
- @Override
- public Predicate<Set<QName>> getIfFeaturePredicate() {
- return argument();
- }
}