From 0825111230e3e8fa276f187c3ce7b6643f8b6fdc Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Thu, 30 Oct 2003 18:38:12 +0000 Subject: [PATCH] Added array dimensions to the toString() output git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2349 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/ast/ASTType.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pmd/src/net/sourceforge/pmd/ast/ASTType.java b/pmd/src/net/sourceforge/pmd/ast/ASTType.java index 3130b73a65..6014433f1a 100644 --- a/pmd/src/net/sourceforge/pmd/ast/ASTType.java +++ b/pmd/src/net/sourceforge/pmd/ast/ASTType.java @@ -41,7 +41,13 @@ public class ASTType extends SimpleNode { public void dump(String prefix) { String out = toString(prefix) + ":"; - if (isArray()) {out += "(array)";} + if (isArray()) { + out += "(array"; + for (int i=0;i