Skip to content

Commit db37fc0

Browse files
Excavator: [Action Required] Fix Safety annotations to avoid SDIs
1 parent be188f7 commit db37fc0

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

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

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

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

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

0 commit comments

Comments
 (0)