<No Comment Entered>

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@956 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
David Craine
2002-09-13 19:50:36 +00:00
parent 1039e9f6bd
commit b00fc220d4
6 changed files with 9 additions and 5 deletions

View File

@ -26,9 +26,10 @@ debug.NoTracingClasses.7[0]=17 com.borland.sql.*1 1 -1
debug.NoTracingClasses.8[0]=9 com.sun.*1 1 -1
debug.NoTracingClasses.9[0]=6 java.*1 1 -1
editor.search.file_filter_history.1[0]=*.java
history.files.active[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java
history.files.open.1[0]=src/net/sourceforge/pmd/jbuilder/AcceleratorPropertyGroup.java,F;17,1052
history.files.open.2[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java,F;276,13289
history.files.active[0]=src/net/sourceforge/pmd/jbuilder/AcceleratorPropertyGroup.java
history.files.open.1[0]=src/net/sourceforge/pmd/jbuilder/AcceleratorPropertyGroup.java,F;0,590
history.files.open.2[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java,F;190,7921
history.files.open.3[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java,F;443,20740
import.optimize.packageprefixgroupings.1[0]=java
import.optimize.packageprefixgroupings.2[0]=<blank line>
import.optimize.packageprefixgroupings.3[0]=javax

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -8,4 +8,7 @@ Although the openTool has no other special requirements, the PMD utility does.
and Ant be available in the JBuilder classpath as well. This is not an issue for JBuilder 6/7 Enterprise users
since those libraries come preinstalled. However, users of the Professional/Personal versions may have to
put those libraries into their JBuilder lib directory manually. I have not tested on anything other than
JBuilder 7 Enterprise, but the tool should run fine on most of them given the aforementioned changes.
JBuilder 7 Enterprise, but the tool should run fine on most of them given the aforementioned changes.
JBuilder 4 Users - The PMD Check Project and CPD Check Project operations will only work if you have packages
defined in your project view. This is because of some of the differences in JBuilder 7 (at least) and JBuilder 4 in handling packages within the project view. I'm working on a way to remedy this.

View File

@ -464,7 +464,7 @@ public class PMDOpenTool {
Tile t = (Tile)iter.next();
resultCount++;
int tileLineCount = cpd.getLineCountFor(t);
int dupCount = results.getOccurrenceCountFor(t);
int dupCount = ((TileOccurrences)results).getOccurrenceCountFor(t);
CPDMessage msg = CPDMessage.createMessage(String.valueOf(dupCount)+" duplicates in code set: " + resultCount, cpd.getImage(t));
for (Iterator iter2 = results.getOccurrences(t); iter2.hasNext(); ) {
TokenEntry te = (TokenEntry)iter2.next();