mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-i18n] Path.toString() NlsSafe
GitOrigin-RevId: 17838ac51a239d55c029fb2596c54570b3808fc7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
29a65e5f06
commit
a95ed178a6
@@ -85,6 +85,7 @@ public class I18nInspection extends AbstractBaseUastLocalInspectionTool implemen
|
||||
CallMatcher.staticCall(CommonClassNames.JAVA_LANG_INTEGER, "toString"),
|
||||
CallMatcher.staticCall(CommonClassNames.JAVA_LANG_LONG, "toString"),
|
||||
CallMatcher.instanceCall(CommonClassNames.JAVA_IO_FILE, "getAbsolutePath", "getCanonicalPath", "getName", "getPath"),
|
||||
CallMatcher.instanceCall("java.nio.file.Path", "toString"),
|
||||
CallMatcher.instanceCall(CommonClassNames.JAVA_LANG_THROWABLE, "getMessage", "getLocalizedMessage").parameterCount(0),
|
||||
CallMatcher.instanceCall(CommonClassNames.JAVA_LANG_THROWABLE, "toString").parameterCount(0),
|
||||
CallMatcher.instanceCall("javax.swing.text.JTextComponent", "getText").parameterCount(0)
|
||||
|
||||
Reference in New Issue
Block a user