Skip to content

Commit 2d28e6a

Browse files
Excavator: [Action Required] Fix Safety annotations to avoid SDIs
1 parent 7ba76b1 commit 2d28e6a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Optional<FormatterService> get(Project project, PalantirJavaFormatSettings setti
7676
settings.injectedVersionIsOutdated()));
7777
}
7878

79-
@SuppressWarnings("for-rollout:Slf4jLogsafeArgs")
8079
private static Optional<FormatterService> createFormatter(FormatterCacheKey cacheKey) {
8180
if (cacheKey.nativeImageClassPath.isPresent()) {
8281
log.info("Using the native formatter with classpath: {}", cacheKey.nativeImageClassPath.get());
@@ -121,7 +120,6 @@ private static List<Path> getProvidedImplementationUrls(List<URI> implementation
121120
return implementationClasspath.stream().map(Path::of).collect(Collectors.toList());
122121
}
123122

124-
@SuppressWarnings("for-rollout:Slf4jLogsafeArgs")
125123
private static List<Path> getBundledImplementationUrls() {
126124
// Load from the jars bundled with the plugin.
127125
IdeaPluginDescriptor ourPlugin = getPluginDescriptor();
@@ -131,7 +129,6 @@ private static List<Path> getBundledImplementationUrls() {
131129
return listDirAsUrlsUnchecked(implDir);
132130
}
133131

134-
@SuppressWarnings("for-rollout:Slf4jLogsafeArgs")
135132
private static List<Path> getImplementationUrls(
136133
Optional<List<URI>> implementationClassPath, boolean useBundledImplementation) {
137134
if (useBundledImplementation) {
@@ -180,7 +177,6 @@ private static OptionalInt parseSdkJavaVersion(Sdk sdk) {
180177
return parseSdkJavaVersion(version);
181178
}
182179

183-
@SuppressWarnings("for-rollout:Slf4jLogsafeArgs")
184180
@VisibleForTesting
185181
static OptionalInt parseSdkJavaVersion(String version) {
186182
int indexOfVersionDelimiter = version.indexOf('.');

0 commit comments

Comments
 (0)