From 5e08d8f34d85870ce9f5242ac7d62729f4f80612 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Thu, 15 Aug 2002 14:43:33 +0000 Subject: [PATCH] removed debugging thingy git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@701 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/cpd/GUI.java | 4 ++-- .../sourceforge/pmd/rules/design/ExcessiveNodeCountRule.java | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pmd/src/net/sourceforge/pmd/cpd/GUI.java b/pmd/src/net/sourceforge/pmd/cpd/GUI.java index 31b439b3b0..7b314b4bd2 100644 --- a/pmd/src/net/sourceforge/pmd/cpd/GUI.java +++ b/pmd/src/net/sourceforge/pmd/cpd/GUI.java @@ -56,8 +56,8 @@ public class GUI implements CPDListener { } //private JTextField rootDirectoryField= new JTextField("C:\\data\\datagrabber\\datagrabber\\src\\org\\cougaar\\mlm\\ui\\newtpfdd\\transit\\"); - //private JTextField rootDirectoryField = new JTextField(System.getProperty("user.home")); - private JTextField rootDirectoryField= new JTextField("C:\\j2sdk1.4.0_01\\src\\java\\lang\\reflect"); + //private JTextField rootDirectoryField= new JTextField("C:\\j2sdk1.4.0_01\\src\\java\\lang\\reflect"); + private JTextField rootDirectoryField = new JTextField(System.getProperty("user.home")); private JTextField minimumLengthField= new JTextField("30"); private JTextField timeField = new JTextField(6); diff --git a/pmd/src/net/sourceforge/pmd/rules/design/ExcessiveNodeCountRule.java b/pmd/src/net/sourceforge/pmd/rules/design/ExcessiveNodeCountRule.java index 0e6893818a..5a77ab94e0 100644 --- a/pmd/src/net/sourceforge/pmd/rules/design/ExcessiveNodeCountRule.java +++ b/pmd/src/net/sourceforge/pmd/rules/design/ExcessiveNodeCountRule.java @@ -40,9 +40,6 @@ public class ExcessiveNodeCountRule } if (nodeClass.isInstance( node )) { - System.err.println("NODE: " + node + " # subs: " + - Integer.toString( numNodes )); - DataPoint point = new DataPoint(); point.setLineNumber( node.getBeginLine() ); point.setScore( 1.0 * numNodes );