amitbitcse
1d190605e5
Added capability in Java and JSP parser for tracking tokens. It is often useful to keep track of each node's first and last token so that input can be easily reproduced again. Ref - https://javacc.java.net/doc/JJTree.html
2015-10-06 11:04:22 +05:30
Andreas Dangel
84c407f5d2
add src zip file in do-release.sh upload instructions
2015-10-04 14:07:12 +02:00
Andreas Dangel
79e9b7616a
Prepare next development version
2015-10-04 13:54:43 +02:00
Andreas Dangel
af9f9d477d
[maven-release-plugin] prepare for next development iteration
2015-10-04 12:48:25 +02:00
Andreas Dangel
f357da73b6
[maven-release-plugin] prepare release pmd_releases/5.3.5
pmd_releases/5.3.5
2015-10-04 12:48:25 +02:00
Andreas Dangel
98e0c1f914
Prepare pmd release 5.3.5
2015-10-04 12:40:49 +02:00
Andreas Dangel
73fe285b1a
#1418 RedundantFieldInitializer false positive with large long value
2015-10-03 17:36:07 +02:00
Andreas Dangel
3bf91a84d6
travis - don't try to deploy pull request builds...
2015-10-03 16:57:16 +02:00
Andreas Dangel
8b80efbd88
Merge branch 'mkordas-patch-1' into pmd/5.3.x
2015-10-03 16:53:42 +02:00
Andreas Dangel
87db2a5736
Update changelog
2015-10-03 16:49:36 +02:00
Michal Kordas
4a395ee8b7
#1410 Improve description of DefaultPackage rule
2015-09-30 22:36:00 +02:00
Andreas Dangel
98278cfdfc
#1413 False positive StringBuffer constructor with ?: int value
2015-09-26 11:08:21 +02:00
Andreas Dangel
145780de9c
#1407 UselessParentheses "&" and "+" operator precedence
2015-09-26 10:23:43 +02:00
Andreas Dangel
f3da33cca2
#1387 CloseResource has false positive for ResultSet
2015-09-26 09:55:02 +02:00
Andreas Dangel
4cce31418a
Add travis.yml - see https://travis-ci.org/pmd/pmd
...
Cherry picked from master
* 1a110587f005704a2e8354ef241cae23d35f5169
* 51f17c60104edd731bcfa0abcf6d617fae69d3ae
* 36bc2c2dee8d3c64bcd73fcfb257b97fbcb9630f
* cbf598c92c1ca251a4a7a2d8e3c30b49979d997b
2015-09-26 09:26:43 +02:00
Andreas Dangel
d8d8a9539f
#1409 NullPointerException in InsufficientStringBufferRule
2015-09-20 20:51:09 +02:00
Andreas Dangel
365e7a1f68
#1410 DefaultPackage triggers on field annotated with @VisibleForTesting
2015-09-20 20:24:46 +02:00
Andreas Dangel
3fb43a060a
Prepare next development version
2015-09-18 13:46:06 +02:00
Andreas Dangel
819611dd23
[maven-release-plugin] prepare for next development iteration
2015-09-18 12:36:07 +02:00
Andreas Dangel
0ffbe97a04
[maven-release-plugin] prepare release pmd_releases/5.3.4
pmd_releases/5.3.4
2015-09-18 12:36:06 +02:00
Andreas Dangel
06d77b371a
Use release profile PMD_GPG_PROFILE
2015-09-18 12:24:27 +02:00
Andreas Dangel
972eac40f0
Specify gpg.keyname via -Darguments
2015-09-18 11:57:09 +02:00
Andreas Dangel
336c06fb10
Actually use the variables PMD_GPG_KEY and PMD_SF_USER
2015-09-18 11:49:20 +02:00
Andreas Dangel
87803ed27a
Prepare pmd release 5.3.4
2015-09-18 11:44:40 +02:00
Andreas Dangel
ca2794bf7d
Fixes for the release script
2015-09-18 11:40:16 +02:00
Andreas Dangel
d921ffe1e3
Add the release shell script
2015-09-18 11:25:30 +02:00
Andreas Dangel
0f48fd501d
#1393 PMD hanging during DataflowAnomalyAnalysis
2015-09-18 10:17:01 +02:00
Andreas Dangel
e1a41bdf98
#1405 UnusedPrivateMethod false positive?
...
Don't use the auxclasspath if not provided.
2015-09-17 20:26:07 +02:00
Andreas Dangel
ad1ffa5835
#1404 Java8 'Unnecessary use of fully qualified name' in Streams Collector
2015-09-16 22:11:18 +02:00
Andreas Dangel
64012cc0b4
verified #1405 UnusedPrivateMethod false positive?
2015-09-16 21:37:17 +02:00
Andreas Dangel
2500412b14
#1403 False positive UnusedPrivateMethod with JAVA8
2015-09-14 22:36:05 +02:00
Andreas Dangel
9f6190f3b6
#1380 InsufficientStringBufferDeclaration false positive when literal string passed to a lookup service
2015-09-13 10:20:58 +02:00
Andreas Dangel
9e620c2661
#1388 ConstructorCallsOverridableMethodRule doesn't work with params?
2015-09-12 17:56:45 +02:00
Andreas Dangel
ac9fd51f84
#1392 SimplifyStartsWith false-negative
2015-09-11 12:22:49 +02:00
Andreas Dangel
93b4ce9bb4
#1394 dogfood.xml - Unable to exclude rules [UncommentedEmptyMethod]
2015-09-08 20:03:28 +02:00
Andreas Dangel
f242c5c5f4
Upgrade maven-pmd-plugin to 3.5 and add pmd execution
...
The profile "reports" was accidently deactivated by adding other
profiles. Now pmd and checkstyle are executed with all builds.
2015-09-08 19:58:21 +02:00
Andreas Dangel
1984f5ac8a
#1395 UnusedPrivateMethod false positive for array element method call
2015-09-08 19:45:49 +02:00
Andreas Dangel
b553c52ef5
#1396 PrematureDeclaration lambda false positive
2015-09-07 20:23:10 +02:00
Andreas Dangel
3abfc2fccb
#1397 StringToString should ignore method references
2015-09-07 20:01:18 +02:00
Andreas Dangel
100dd09b28
#1398 False positive for GuardLogStatementJavaUtil with Log4j
2015-09-06 11:06:48 +02:00
Andreas Dangel
a1ab0d6657
#1399 False positive for VariableNamingConventions with annotation @interface
2015-09-05 19:53:05 +02:00
Andreas Dangel
f0dd2b0519
#1400 False positive with JUnit4TestShouldUseBeforeAnnotation
2015-09-05 19:39:31 +02:00
Andreas Dangel
58292bfc38
#1401 False positive for StringBuilder.append called with constructor
2015-09-05 12:10:38 +02:00
Andreas Dangel
bd83821dd9
Fix unit test
2015-09-04 21:58:01 +02:00
Andreas Dangel
c0c79e522f
#1371 fix unit test
2015-09-04 21:55:16 +02:00
Andreas Dangel
0027fcdd77
Update changelog
2015-09-04 21:55:08 +02:00
José Manuel Rolón
abe800dfa9
Fixed InsufficientStringBufferDeclaration error detection.
...
Summary:
Added new method to obtaint the lenght of strings added after a constructor.
Added new test for this case.
Fix: http://sourceforge.net/p/pmd/bugs/1371/
Test Plan: Run tests.
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12322
2015-09-04 21:53:45 +02:00
Andreas Dangel
203e39b9b3
Added a new if to check for the append statements after an append contructor.
...
Summary:
Now the rule check for appends after a contructor call.
Added a new test for this case.
Issue: http://sourceforge.net/p/pmd/bugs/1370/
Test Plan: Run tests.
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12292
2015-09-04 21:34:38 +02:00
Andreas Dangel
922e35453a
#1402 Windows-Only: File exclusions are not case insensitive
2015-09-04 21:22:47 +02:00
Andreas Dangel
22671445e2
#1370 ConsecutiveAppendsShouldReuse not detected properly on StringBuffer
...
Extended unit test
2015-09-04 20:15:07 +02:00