use proper replace

This commit is contained in:
Stepan Koltsov
2012-04-19 16:41:39 +04:00
parent b47d37094e
commit 9bfcc017b2
@@ -232,7 +232,7 @@ public class BytecodeToolwindow extends JPanel implements Disposable {
private static String printStackTraceToString(Throwable e) {StringWriter out = new StringWriter(1024);
e.printStackTrace(new PrintWriter(out));
return out.toString().replaceAll("\r", "");
return out.toString().replace("\r", "");
}
@Override