forked from phoedos/pmd
Fixed bug 1593292 - The CPD GUI now works with the 'by extension' option selected.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4833 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
Fixed in CVS, and you can download a new pmd-3.8.jar file here:
|
||||
Fixed in CVS, and if you hit this page again:
|
||||
|
||||
http://infoether.com/~tom/pmd-3.8.jar
|
||||
http://pmd.sf.net/cpd.html
|
||||
|
||||
that contains that fix.
|
||||
you'll get an updated version that includes this fix.
|
||||
|
||||
Thanks,
|
||||
|
||||
Tom
|
||||
Tom
|
||||
The PMD book for $20: http://pmdapplied.com/
|
||||
|
@ -16,6 +16,7 @@ Fixed bug 1579615 - OverrideBothEqualsAndHashcode no longer throws an Exception
|
||||
Fixed bug 1580859 - AvoidDecimalLiteralsInBigDecimalConstructor now catches more cases.
|
||||
Fixed bug 1581123 - False +: UnnecessaryWrapperObjectCreation.
|
||||
Fixed bug 1592710 - VariableNamingConventions no longer reports false positives on certain enum declarations.
|
||||
Fixed bug 1593292 - The CPD GUI now works with the 'by extension' option selected.
|
||||
Applied patch 1551189 - SingularField false + for initialization blocks
|
||||
Applied patch 1573981 - false + in CloneMethodMustImplementCloneable
|
||||
Applied patch 1574988 - false + in OverrideBothEqualsAndHashcode
|
||||
|
@ -11,7 +11,6 @@ public class ASTEnumElement extends SimpleJavaNode {
|
||||
super(p, id);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Accept the visitor. *
|
||||
*/
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
package net.sourceforge.pmd.ast;
|
||||
|
||||
|
||||
public class ASTSingleMemberAnnotation extends SimpleJavaNode {
|
||||
public ASTSingleMemberAnnotation(int id) {
|
||||
super(id);
|
||||
|
@ -456,7 +456,7 @@ public class GUI implements CPDListener {
|
||||
private boolean isLegalPath(String path, LanguageConfig config) {
|
||||
String[] extensions = config.extensions();
|
||||
for (int i=0; i<extensions.length; i++) {
|
||||
if (path.endsWith(extensions[i])) return true;
|
||||
if (path.endsWith(extensions[i]) && extensions[i].length() > 0) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -54,6 +54,7 @@
|
||||
</subsection>
|
||||
<subsection name="Contributors">
|
||||
<ul>
|
||||
<li>Harald Rohan - Reported bug in CPD GUIr</li>
|
||||
<li>classens - Noted missing varargs setting in ASTFormalParameter</li>
|
||||
<li>piair - Implemented StringBufferInstantiationWithChar, AvoidUsingOctalValues</li>
|
||||
<li>Christopher Eagan - Reported bug in VariableNamingConventions</li>
|
||||
|
Reference in New Issue
Block a user