diff --git a/src/main/java/org/openrewrite/maven/ResourceParser.java b/src/main/java/org/openrewrite/maven/ResourceParser.java index 405d2e87..8bdc4214 100644 --- a/src/main/java/org/openrewrite/maven/ResourceParser.java +++ b/src/main/java/org/openrewrite/maven/ResourceParser.java @@ -170,7 +170,7 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { propertiesPaths.add(path); } else if (protoParser.accept(path)) { protoPaths.add(path); - } else if(pythonParser.accept(path)) { + } else if (pythonParser.accept(path)) { pythonPaths.add(path); } else if (hclParser.accept(path)) { hclPaths.add(path); diff --git a/src/main/java/org/openrewrite/maven/SanitizedMarkerPrinter.java b/src/main/java/org/openrewrite/maven/SanitizedMarkerPrinter.java index 824407ed..6e26ba04 100644 --- a/src/main/java/org/openrewrite/maven/SanitizedMarkerPrinter.java +++ b/src/main/java/org/openrewrite/maven/SanitizedMarkerPrinter.java @@ -29,7 +29,7 @@ public class SanitizedMarkerPrinter implements PrintOutputCapture.MarkerPrinter { @Override public String beforeSyntax(Marker marker, Cursor cursor, UnaryOperator commentWrapper) { - if(marker instanceof SearchResult) { + if (marker instanceof SearchResult) { return DEFAULT.beforeSyntax(marker, cursor, commentWrapper); } return ""; @@ -37,7 +37,7 @@ public String beforeSyntax(Marker marker, Cursor cursor, UnaryOperator c @Override public String afterSyntax(Marker marker, Cursor cursor, UnaryOperator commentWrapper) { - if(marker instanceof SearchResult) { + if (marker instanceof SearchResult) { return DEFAULT.afterSyntax(marker, cursor, commentWrapper); } return "";