Skip to content

Commit b65b74b

Browse files
Excavator: [Action Required] Fix Safety annotations to avoid SDIs
1 parent 64bcec2 commit b65b74b

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
@@ -75,7 +75,6 @@ Optional<FormatterService> get(Project project, PalantirJavaFormatSettings setti
7575
settings.injectedVersionIsOutdated()));
7676
}
7777

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

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

132-
@SuppressWarnings("for-rollout:Slf4jLogsafeArgs")
133130
private static List<Path> getImplementationUrls(
134131
Optional<List<URI>> implementationClassPath, boolean useBundledImplementation) {
135132
if (useBundledImplementation) {
@@ -177,7 +174,6 @@ private static OptionalInt parseSdkJavaVersion(Sdk sdk) {
177174
return parseSdkJavaVersion(version);
178175
}
179176

180-
@SuppressWarnings("for-rollout:Slf4jLogsafeArgs")
181177
@VisibleForTesting
182178
static OptionalInt parseSdkJavaVersion(String version) {
183179
int indexOfVersionDelimiter = version.indexOf('.');

0 commit comments

Comments
 (0)