mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
Adds an inspection with a quickfix that suggests replacing `String#replaceAll` that doesn't pass regular expressions with `String#replace`. #IDEA-288385 Fixed (cherry picked from commit e4bf212ae5693754c5a3dd51d9f5c578a5490e39) IJ-MR-186138 GitOrigin-RevId: 8e2ad43e460b08f02529093e3f0d61a31e7d4efd
7 lines
209 B
Java
7 lines
209 B
Java
public class Comment {
|
|
void m(String s) {
|
|
// before line
|
|
/* before */ s = /* qualifier */ s. /* call */ replace(/* arg 1 */"a", /* arg 2 */ "b" /* arg 3 */) /* expr */; // end
|
|
// after line
|
|
}
|
|
} |