Optimizing rule

This commit is contained in:
Tomi De Lucca
2019-06-20 21:51:05 -03:00
parent a81e68f6da
commit af1b8a12aa

View File

@ -22,7 +22,7 @@ public class UnavailableFunctionRule extends AbstractSwiftRule<Void> {
}
}
return super.visitFunctionDeclaration(ctx);
return null;
}
@Override
@ -38,7 +38,7 @@ public class UnavailableFunctionRule extends AbstractSwiftRule<Void> {
}
}
return super.visitInitializerDeclaration(ctx);
return null;
}
private Boolean shouldIncludeUnavailableModifier(final SwiftParser.CodeBlockContext ctx) {