Skip to content

Commit

Permalink
refactor: Spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and app committed Sep 26, 2023
1 parent b55c571 commit 18a22a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/openrewrite/maven/ResourceParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
public class SanitizedMarkerPrinter implements PrintOutputCapture.MarkerPrinter {
@Override
public String beforeSyntax(Marker marker, Cursor cursor, UnaryOperator<String> commentWrapper) {
if(marker instanceof SearchResult) {
if (marker instanceof SearchResult) {
return DEFAULT.beforeSyntax(marker, cursor, commentWrapper);
}
return "";
}

@Override
public String afterSyntax(Marker marker, Cursor cursor, UnaryOperator<String> commentWrapper) {
if(marker instanceof SearchResult) {
if (marker instanceof SearchResult) {
return DEFAULT.afterSyntax(marker, cursor, commentWrapper);
}
return "";
Expand Down

0 comments on commit 18a22a1

Please sign in to comment.