java: report string.toCharArray().length -> string.length() (IDEA-351174)

for "Redundant 'String' operation" inspection

GitOrigin-RevId: 96c3b5d310b9639c74241f48348257bbb83dbe93
This commit is contained in:
Bas Leijdekkers
2024-04-11 09:52:00 +00:00
committed by intellij-monorepo-bot
parent b686093c55
commit 0b1872f794
5 changed files with 61 additions and 2 deletions
@@ -2185,6 +2185,7 @@ inspection.redundant.string.replace.with.empty.fix.name=Replace with empty strin
inspection.redundant.string.option.do.not.report.string.constructors=Do not report String constructor calls
inspection.redundant.string.option.do.not.report.single.argument.substring=Do not report redundant single argument substring() calls
inspection.x.call.can.be.replaced.with.y=<code>#ref()</code> call can be replaced with ''{0}()''
remove.unnecessary.0.call.quickfix=Remove unnecessary ''{0}()'' call
inspection.type.may.be.weakened.display.name=Type may be weakened
inspection.type.may.be.weakened.problem.descriptor=Type of variable <code>#ref</code> may be weakened to {0} #loc