aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-02-25 13:00:17 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-02-25 13:00:17 +0000
commit256279fbd282807e2d49fda3c167243b79e833de (patch)
tree79af97b0130c88ceac87caf0f7a48c777e518a69 /src/main
parenta8e8b5e785def68b1d643e536459c10db2d79a96 (diff)
downloadjavassist-256279fbd282807e2d49fda3c167243b79e833de.tar.gz
javassist-256279fbd282807e2d49fda3c167243b79e833de.zip
fixed JASSIST-156
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@622 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main')
-rw-r--r--src/main/javassist/bytecode/analysis/ControlFlow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/bytecode/analysis/ControlFlow.java b/src/main/javassist/bytecode/analysis/ControlFlow.java
index 459f666d..38b59130 100644
--- a/src/main/javassist/bytecode/analysis/ControlFlow.java
+++ b/src/main/javassist/bytecode/analysis/ControlFlow.java
@@ -344,7 +344,7 @@ public class ControlFlow {
StringBuffer sbuf = new StringBuffer();
sbuf.append("Node[pos=").append(block().position());
sbuf.append(", parent=");
- sbuf.append(parent == null ? "*" : parent.block().position());
+ sbuf.append(parent == null ? "*" : Integer.toString(parent.block().position()));
sbuf.append(", children{");
for (int i = 0; i < children.length; i++)
sbuf.append(children[i].block().position()).append(", ");