Skip to content

Commit f1abe66

Browse files
authored
Merge pull request #604 from unv-unv/optimizing-localize-value-map
Replacing LocalizeValue.map() call excluding localizeManager
2 parents df00614 + e876ceb commit f1abe66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp-impl/src/main/java/consulo/csharp/impl/ide/highlight/check/CompilerCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public static LocalizeValue message(@Nonnull Class<?> aClass, Object... args) {
182182

183183
LocalizeValue value = getValue(LocalizeKey.of(LOCALIZE_ID, id), args);
184184

185-
return ApplicationProperties.isInSandbox() ? value.map((localizeManager, s) -> id + ": " + s) : value;
185+
return ApplicationProperties.isInSandbox() ? value.map(s -> id + ": " + s) : value;
186186
}
187187

188188
@Nonnull

0 commit comments

Comments
 (0)