From a7fa2accdc9b014e1393ec24090af7464a74e80d Mon Sep 17 00:00:00 2001 From: svc-excavator-bot Date: Wed, 29 Oct 2025 14:45:19 +0000 Subject: [PATCH] Excavator: [Action Required] Fix Safety annotations to avoid SDIs --- .../com/palantir/javaformat/intellij/FormatterProvider.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java b/idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java index 9ae0e9bee..2ae2851a9 100644 --- a/idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java +++ b/idea-plugin/src/main/java/com/palantir/javaformat/intellij/FormatterProvider.java @@ -76,7 +76,6 @@ Optional get(Project project, PalantirJavaFormatSettings setti settings.injectedVersionIsOutdated())); } - @SuppressWarnings("for-rollout:Slf4jLogsafeArgs") private static Optional createFormatter(FormatterCacheKey cacheKey) { if (cacheKey.nativeImageClassPath.isPresent()) { log.info("Using the native formatter with classpath: {}", cacheKey.nativeImageClassPath.get()); @@ -121,7 +120,6 @@ private static List getProvidedImplementationUrls(List implementation return implementationClasspath.stream().map(Path::of).collect(Collectors.toList()); } - @SuppressWarnings("for-rollout:Slf4jLogsafeArgs") private static List getBundledImplementationUrls() { // Load from the jars bundled with the plugin. IdeaPluginDescriptor ourPlugin = getPluginDescriptor(); @@ -131,7 +129,6 @@ private static List getBundledImplementationUrls() { return listDirAsUrlsUnchecked(implDir); } - @SuppressWarnings("for-rollout:Slf4jLogsafeArgs") private static List getImplementationUrls( Optional> implementationClassPath, boolean useBundledImplementation) { if (useBundledImplementation) { @@ -180,7 +177,6 @@ private static OptionalInt parseSdkJavaVersion(Sdk sdk) { return parseSdkJavaVersion(version); } - @SuppressWarnings("for-rollout:Slf4jLogsafeArgs") @VisibleForTesting static OptionalInt parseSdkJavaVersion(String version) { int indexOfVersionDelimiter = version.indexOf('.');