From eee5e0480450ac4dba116eb2551f7695ffaafc9d Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 30 Dec 2011 13:51:35 +0400 Subject: [PATCH] Small fix for infinite error log from CodeWindow --- .../jet/plugin/internal/codewindow/BytecodeToolwindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/jet/plugin/internal/codewindow/BytecodeToolwindow.java b/idea/src/org/jetbrains/jet/plugin/internal/codewindow/BytecodeToolwindow.java index e5d0bbf7caa..08da0f6abef 100644 --- a/idea/src/org/jetbrains/jet/plugin/internal/codewindow/BytecodeToolwindow.java +++ b/idea/src/org/jetbrains/jet/plugin/internal/codewindow/BytecodeToolwindow.java @@ -186,7 +186,7 @@ public class BytecodeToolwindow extends JPanel { } catch (Exception e) { StringWriter out = new StringWriter(1024); e.printStackTrace(new PrintWriter(out)); - return out.toString(); + return out.toString().replaceAll("\r", ""); }