From 99404ea6cf68276509bb154d75343efa53a8720f Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 22 Oct 2014 18:45:21 +0400 Subject: [PATCH] decompiler: more correct toString --- src/org/jetbrains/java/decompiler/code/cfg/ControlFlowGraph.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/jetbrains/java/decompiler/code/cfg/ControlFlowGraph.java b/src/org/jetbrains/java/decompiler/code/cfg/ControlFlowGraph.java index 44c58f0..1365858 100644 --- a/src/org/jetbrains/java/decompiler/code/cfg/ControlFlowGraph.java +++ b/src/org/jetbrains/java/decompiler/code/cfg/ControlFlowGraph.java @@ -82,6 +82,7 @@ public class ControlFlowGraph implements CodeConstants { } public String toString() { + if (blocks == null) return "Empty"; String new_line_separator = DecompilerContext.getNewLineSeparator();