From 6738e13197a3f734fc9608f38349ebe3b4d27761 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Thu, 5 Dec 2024 17:45:48 +0100 Subject: [PATCH] Pass third argument into CommentOutProperty for yaml --- .../openrewrite/java/spring/CommentOutSpringPropertyKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {