diff --git a/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java b/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java index 8fa54ebb..315f36fc 100644 --- a/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java +++ b/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java @@ -50,7 +50,7 @@ public String getDescription() { @Override public TreeVisitor getVisitor() { Recipe changeProperties = new org.openrewrite.properties.AddPropertyComment(propertyKey, comment, true); - Recipe changeYaml = new org.openrewrite.yaml.CommentOutProperty(propertyKey, comment) ; + Recipe changeYaml = new org.openrewrite.yaml.CommentOutProperty(propertyKey, comment, true); return new TreeVisitor() { @Override public @Nullable Tree preVisit(@NonNull Tree tree, ExecutionContext ctx) {