Fix bug in secrets visitor
@@ -96,8 +96,10 @@ public class SecretVisitor implements StaticPropertyVisitor {
@Override
public void visit(StaticPropertyAlternative staticPropertyAlternative) {
+ if (staticPropertyAlternative.getSelected() && staticPropertyAlternative.getStaticProperty() != null) {
staticPropertyAlternative.getStaticProperty().accept(this);
}
+ }
@Override
public void visit(StaticPropertyAlternatives staticPropertyAlternatives) {
