Skip to content

Commit dbea734

Browse files
committed
Refactor mire usages
1 parent 0d34fa7 commit dbea734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/main/java/com/diffplug/spotless/FormatterFunc.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public String apply(String unix, File file) throws Exception {
127127

128128
@Override
129129
public String apply(String unix) throws Exception {
130-
return apply(unix, FormatterStepImpl.SENTINEL);
130+
return apply(unix, Formatter.SENTINEL_NO_FILE_ON_DISK);
131131
}
132132
};
133133
}
@@ -156,7 +156,7 @@ default String apply(String unix, File file) throws Exception {
156156

157157
@Override
158158
default String apply(String unix) throws Exception {
159-
return apply(unix, FormatterStepImpl.SENTINEL);
159+
return apply(unix, Formatter.SENTINEL_NO_FILE_ON_DISK);
160160
}
161161
}
162162
}

0 commit comments

Comments
 (0)