mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
more consistent Java inspection names
GitOrigin-RevId: 5c958dfd8b5f55e9e5bede82be5015c3299dd16e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6fecec667a
commit
ed2c73e98c
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.util.Locale;
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
|
||||
class Test {
|
||||
String foo1(char c) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
|
||||
class StringBuilderToString {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
void test(String s) {
|
||||
String s1 = s.substring(1);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
void test(String s) {
|
||||
String s1 = "";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
void test(String s) {
|
||||
String s1 = s.substring(1);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
|
||||
class Test {
|
||||
String foo1(char c) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class X {
|
||||
boolean testStrip(String s) {
|
||||
return s.isBlank();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class X {
|
||||
void test(String s, int pos, String s2) {
|
||||
if (s.startsWith("xyzt", pos)) { }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
int i = Integer.parseInt(args[2]);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
||||
class Main {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
import java.util.Locale;
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
|
||||
class Test {
|
||||
String foo1(char c) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
|
||||
class StringBuilderToString {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
void test(String s) {
|
||||
String s1 = s.substring(1, s.leng<caret>th());
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
void test(String s) {
|
||||
String s1 = s.substring(s.leng<caret>th());
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
void test(String s) {
|
||||
String s1 = s.substring(1);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
|
||||
class Test {
|
||||
String foo1(char c) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class X {
|
||||
boolean testStrip(String s) {
|
||||
return s.st<caret>rip().isEmpty();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class X {
|
||||
void test(String s, int pos, String s2) {
|
||||
if (s.sub<caret>string(pos, pos + 4).equals("xyzt")) { }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Fix all 'Redundant String operation' problems in file" "true"
|
||||
// "Fix all 'Redundant 'String' operation' problems in file" "true"
|
||||
class Foo {
|
||||
public static void main(String[] args) {
|
||||
int i = Integer.parseInt(args[2]);
|
||||
|
||||
Reference in New Issue
Block a user