mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
Java: fix IOE on replacing single character string operation
GitOrigin-RevId: 26ba697294eebb109148b86672a22e7aa2e921e4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
26bbaa3c5f
commit
e7c55493a1
@@ -0,0 +1,6 @@
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class X {
|
||||
void x(String message) {
|
||||
boolean underline = message.charAt(1) == '_';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class X {
|
||||
void x(String message) {
|
||||
boolean underline = message.<caret>substring(1, 2).equals("""
|
||||
_""");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user