[Code Analysis. Inspection] IDEA-234302 System.getProperty(str) inspection implementation.

Call to System.getProperty(str) could be simplified for certain predefined constants. Implementation includes inspection and quickfix.

GitOrigin-RevId: 8b7edf6c4a6849062535ded1c49e733b8fed05a8
This commit is contained in:
Georgii Ustinov
2023-09-21 19:51:28 +00:00
committed by intellij-monorepo-bot
parent 89dd759681
commit 0382910261
9 changed files with 282 additions and 0 deletions
@@ -1087,6 +1087,7 @@ class.loader.instantiation.problem.descriptor=Instantiation of <code>#ref</code>
public.static.array.field.problem.descriptor='public static' array field <code>#ref</code>, compromising security #loc
public.static.collection.field.problem.descriptor='public static' collection field <code>#ref</code>, compromising security #loc
abstract.class.with.only.one.direct.inheritor.problem.descriptor=Abstract class <code>#ref</code> has only one direct inheritor #loc
system.get.property.problem.descriptor=Call <code>#ref</code> can be simplified for ''{0}''
#other
abstract.method.overrides.abstract.method.remove.quickfix=Remove redundant abstract method declaration