equal
deleted
inserted
replaced
58 String s = "Foo" + new MyObject(); |
58 String s = "Foo" + new MyObject(); |
59 } catch (RuntimeException ex) { |
59 } catch (RuntimeException ex) { |
60 boolean indifiedStringConcat = false; |
60 boolean indifiedStringConcat = false; |
61 ex.printStackTrace(); |
61 ex.printStackTrace(); |
62 for (StackTraceElement e : ex.getStackTrace()) { |
62 for (StackTraceElement e : ex.getStackTrace()) { |
63 if (e.getClassName().startsWith("java.lang.String$Concat") && |
63 if (e.getClassName().contains("$$StringConcat") && |
64 e.getMethodName().equals("concat")) { |
64 e.getMethodName().equals("concat")) { |
65 indifiedStringConcat = true; |
65 indifiedStringConcat = true; |
66 break; |
66 break; |
67 } |
67 } |
68 } |
68 } |