72620cd99c
Release 1.9.0.0.1 for JDeveloper 11g Developer Preview 2
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5633 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-06 22:40:43 +00:00
aa6a927e76
First pass through the pmd plugin, to update it to pmd-4.0
...
Replaced jaxen 1.1-beta with 1.1
reformatted PMDOptionPane
removed some deprecated member usage
updated some collections with generics
Added new option for setting java version
does not quite work yet - I am getting
java.lang.ClassCastException: net.sourceforge.pmd.jedit.JEditPMDRule cannot be cast to net.sourceforge.pmd.rules.XPathRule at net.sourceforge.pmd.ast.JavaRuleChainVisitor.visit(JavaRuleChainVisitor.java:28)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5632 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-06 22:23:22 +00:00
5acbec63de
freeze code line
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5631 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 21:17:56 +00:00
3fff1dbdaf
freeze code line
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5630 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 21:16:25 +00:00
ca729c4280
create base code line for JDeveloper version 11g
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5629 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 21:14:58 +00:00
f209697927
freeze code line
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5628 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 21:01:52 +00:00
029e3c4c7b
freeze code line
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5627 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 21:00:33 +00:00
abb7c6a9ab
Fixed annotation bug: ClassCastException when a formal parameter had multiple annotations
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5626 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 20:04:40 +00:00
741aca9fa8
code cleanup: junit rules output...
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5625 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 00:25:45 +00:00
74245a2c4a
new rules added in basic.xml
...
output is now indented
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5624 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 00:25:13 +00:00
a0c9856f4c
change version info to 3.2.3.alpha-20071102-1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5623 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 22:51:02 +00:00
6c83a0d9e2
code cleanup: pmd violations removed
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5622 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 22:45:25 +00:00
3b27635bf8
indentation is used when writing xml rulesets files
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5621 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 21:55:22 +00:00
027dd4726c
bug fix: NPE on empty ruleset
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5620 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 19:57:23 +00:00
1776b3be48
junit.jar needed by pmd-4.1rc1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5619 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 19:02:37 +00:00
37602a45d6
improved error handling
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5618 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 19:01:51 +00:00
d2f60e445e
pmd updated to 4.1rc1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5617 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 22:03:40 +00:00
4030ec04c5
4.1rc1 link updates
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5616 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 20:05:44 +00:00
bcb484a676
script fixes before 4.1rc1 release
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5614 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 19:23:35 +00:00
07921532e9
tag command was incorrect
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5611 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 18:51:10 +00:00
edea80e958
preparing for release 4.1rc1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5610 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 18:36:40 +00:00
f86810fc60
new scripts to automate most of the release process
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5609 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 18:29:59 +00:00
81afc0eab0
pmd-src-<version>.jar removed in 'delete' target
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5608 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 17:07:14 +00:00
6acbf226ca
use VERSION variable for easier (i.e. automated) update before a new release
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5607 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-01 01:36:51 +00:00
98e34e3484
all pmd-eclipse subproejcts moved to pmd-eclipse-plugin
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5606 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-31 21:39:15 +00:00
578e1fd822
bug fix: log level label wasn't refreshed when pressing "Restore Defaults"
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5605 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-31 21:13:33 +00:00
df287f9dd5
Bug fix [ 1811828 ] RuntimeException in RuleSetFactory
...
At least the second part from the comments about the
ArrayIndexOutOfBoundsException is fixed by this change
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5604 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-30 04:02:49 +00:00
eda9223e3c
Eclipse plugin 3.2.2 changes imported from old cvs repository to amke it current
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5603 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-30 01:45:33 +00:00
f3342c9052
obsolete junit report dir deleted when starting new test
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5602 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-29 21:38:32 +00:00
218b023458
output directory can be set for yahtml report
...
-> junit testing doesn't "pollute" parent directory
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5601 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-29 21:35:58 +00:00
607f5d6dcd
default for outputTestResultsToFile property set to 'true' -> junit text summary displayed by default
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5600 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-29 16:45:47 +00:00
5adbdcb4dc
changes for jdk 1.4 support (weaved classes now behave exactly the same way as
...
regular classes, i.e. same number of failures):
testDtd() needs the full path for the SYSTEM ruleset.dtd even if that's not
the one used by the validator.
isJdk14 boolean set in setUp() method and used in testXmlSchema() to ignore
test as Xerces is not present.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5599 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-28 18:21:41 +00:00
e2f9edae98
"Bug fix": list of method calls are sorted to provide repeatable results on
...
different runs. Not really a bug but useful for regression testing.
The previous code relied on the default hashCode() to provide the HashMap keys
so the order was based on memory location and thus not repeatable.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5598 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-28 17:18:46 +00:00
13a5d5dad0
total test count added to junit summary
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5597 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-27 19:46:51 +00:00
ef24358495
Bug fix: state info in BooleanInstantiation rule needs to be reset for each file
...
(stress test on jdk src wasn't giving consistent results depending on which thread
was processing files as each thread has a different set of Rule objects)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5596 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-27 17:54:00 +00:00
d7972f80d1
AvoidUsingHardCodedIP now checks for IPv6 addresses as well
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5595 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-27 17:44:43 +00:00
68b3ffb069
synchronization was incorrect
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5594 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-26 17:22:20 +00:00
3f1302fc93
code cleanup: xpath rule simplification
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5593 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-26 17:14:41 +00:00
eef9e5ee35
code cleanup: xpath rule simplification
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5592 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-26 17:06:22 +00:00
b4f4e3c098
code cleanup: xpath rule simplification
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5591 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-26 16:57:31 +00:00
4691599f0b
Removing useles restriction in test classes.
...
mvn test is 'almost' working... There is still a couple of tests that fails very strangely ( and they are not failing with the bin/build.xml).
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5590 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-26 09:48:18 +00:00
701095c41b
tweak
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5589 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-26 02:08:30 +00:00
05d5663109
cleanup: consistent use of tabs instead of spaces
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5588 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 23:15:59 +00:00
1ae3bcd1fc
Junit changes:
...
testAll() xml test case now tests all possible test cases even if one fails
custom JUnit runner is used to send several failures to the notifier
build.xml:
common parameterized tasks are used to run tests and reports for "test" and "test14"
if "outputTestResultsToFile" property is set, a text summary is also generated after testing
(xsl transformation is using etc/xslt/junit-txt-output.xsl)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5587 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 23:08:30 +00:00
b4e8751acb
no need to redefine testAll() and ignore it if no rule is inserted in setup
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5586 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 22:53:06 +00:00
dee7967d2a
1503099, fixed false positive for
...
new StringBuffer(str1.length() + str2.length());
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5585 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 14:56:24 +00:00
3fe03f18d7
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5584 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 13:31:43 +00:00
5541a0397c
Minor refactoring
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5583 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 13:31:36 +00:00
54c9b32615
cleanups
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5582 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 11:11:44 +00:00
0ac96b5f3b
generics
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5581 51baf565-9d33-0410-a72c-fc3788e3496d
2007-10-25 11:06:06 +00:00