Commit Graph

599 Commits

Author SHA1 Message Date
970624dab1 Merge branch 'issue-216' 2017-02-06 20:16:09 +01:00
03306df325 [doc] [java] Improve docs on NonThreadSafeSingleton 2017-02-06 20:11:30 +01:00
42a07c808a Merge branch 'issue-219' 2017-02-06 20:09:09 +01:00
1950aeb001 [java] Fix ClassCastException in UnnecessaryLocalBeforeReturn
- This fixes #219
2017-02-06 19:52:41 +01:00
c4298c6b3c Merge branch 'issue-215' 2017-02-05 18:00:14 +01:00
630b92b64e [java] Treat annotation members as public static final
- This fixes #215
 - I created a new method so we didn't change public APIs
2017-02-05 17:44:55 +01:00
09b2644688 Merge branch 'master' of https://github.com/kdaemonv/pmd into pr-217 2017-02-02 20:53:49 +01:00
d92688a07d Introduce end-of-line normalization
References pmd/build-tools#2
2017-02-02 20:52:08 +01:00
e01951a63d Use OS independant path separator in checkstyle suppressions 2017-01-29 13:23:22 +02:00
e9149551b7 [maven-release-plugin] prepare for next development iteration 2017-01-28 13:15:11 +01:00
12758ef777 [maven-release-plugin] prepare release pmd_releases/5.4.4 2017-01-28 13:15:10 +01:00
c8b62ed651 Merge branch 'issue-1495' 2017-01-28 12:04:14 +01:00
6899c63597 Fixes #1495 [java] UnnecessaryLocalBeforeReturn with assert 2017-01-28 11:45:59 +01:00
a5e85b8069 Merge branch 'issue-1448' 2017-01-28 10:55:14 +01:00
7fbb304c8f java: ImmutableFieldRule - use enum 2017-01-28 10:43:17 +01:00
fa3a9b0d66 java: ImmutableFieldRule - take usages inside lambdas into account
Fixes #1448 ImmutableField Rule: Private field in inner class gives false positive[java] ImmutableField: Private field in inner class gives false positive with lambdas
2017-01-28 10:38:49 +01:00
0ef09b2c0a Merge branch 'issue-208'
Closes #211 (rebased onto pmd/5.4.x)
2017-01-27 20:11:49 +01:00
c53e1790e1 [java] Allow more than 1 annotation in local classes
- This fixes #208
2017-01-27 20:00:08 +01:00
bbc9abd4e2 Merge branch 'issue-206'
Closes #210 (rebased onto pmd/5.4.x)
2017-01-27 19:50:50 +01:00
455b1c4ded Fix grammar for annotation members
- The lookahead (3 tokens) was too small, and without reaching the opening
    parenthesis assumed it was parsing a method and not a field.
 - Using a larger lookahead solves the issue.
 - Fixes #206
2017-01-27 19:38:48 +01:00
5c1a0a7abe Merge branch 'issue-207'
Closes #209 (rebased onto pmd/5.4.x)
2017-01-27 19:26:56 +01:00
33fd84d521 [java] Support generics in method references
- Fixes #207
 - Extend the Java grammar to support generics in
    method references: `Type::<Generic>method`
2017-01-27 19:10:42 +01:00
29d76da3b0 Merge branch 'issue-202'
Closes #205 (rebased onto pmd/5.4.x)
2017-01-27 17:43:59 +01:00
47137e3789 Improve docs on ConsecutiveAppendsShouldReuse
- This should help with people having doubts for this rule such as #202
    and http://stackoverflow.com/questions/37672785/how-can-i-improve-performance-if-append-is-called-on-stringbuffer-or-stringb
 - Fixes #202
2017-01-27 17:30:13 +01:00
4808cb089f Merge branch 'issue-199'
Closes #203 (rebased onto pmd/5.4.x)
2017-01-27 17:10:56 +01:00
420c6d45a3 Fixes #199 - False positives with ternary operator
- I deected a couple of extra related issues with ternary operators which are now fixed.
2017-01-27 16:42:24 +01:00
137b76a561 Merge branch 'issue-185'
Closes #196 (rebased onto pmd/5.5.x)
2017-01-27 11:42:38 +01:00
36fcdd252c Fix NPE error in CPD reported under #185 2017-01-27 11:26:51 +01:00
756c2f6774 Fix build 2017-01-21 14:46:35 +01:00
2efe75fac5 Merge branch 'unit-test-for-pr-170' 2017-01-21 13:53:57 +01:00
12f2431bb4 Fix build 2017-01-21 13:43:04 +01:00
620fed2732 Merge branch 'unit-test-for-pr-170' into pmd/5.5.x 2017-01-21 12:13:47 +01:00
ba260e753c Adjust unit test to verify console encoding of XML formatter 2017-01-21 11:58:59 +01:00
4c1890d56c Add unit test to verify encoding of XML formatter 2017-01-21 11:58:59 +01:00
056554c4e3 Merge branch 'bug-1556' 2017-01-08 14:03:37 +01:00
923aab8065 Merge branch 'bug-1556' into pmd/5.5.x 2017-01-08 13:58:13 +01:00
c0e1c3e731 Slightly improve performance of XPath Rule UseLocaleWithCaseConversions 2017-01-08 13:51:44 +01:00
af3ad2bc02 Fixes #1556 [java] UseLocaleWithCaseConversions does not works with ResultSet (false negative) 2017-01-08 12:12:56 +01:00
5b3142433b Merge branch 'doclint' 2017-01-07 17:06:05 +01:00
e1d12dd4f8 Further Javadoc doclint fixes
References #1516 [build] doclint error during build
2017-01-07 17:05:03 +01:00
62e33b8e03 Merge branch 'bug-177'
Fixes #177
2017-01-06 10:42:21 +01:00
c9514e563a Merge branch 'bug-177' into pmd/5.5.x
Fixes #177
2017-01-06 10:35:45 +01:00
af9d78c01a Update changelog 2017-01-06 10:16:45 +01:00
767c9aae79 Bugfix singular field + lambda 2017-01-06 10:07:19 +01:00
c9d3bd3e9c [java] Javadoc doclint fixes
References #1516 [build] doclint error during build
2017-01-05 21:54:48 +01:00
2c714e1fbc Merge branch 'pr-164'
Closes #164 (rebased onto pmd/5.5.x)
2017-01-03 12:19:45 +01:00
a499711990 Fix compile error 2017-01-03 12:12:11 +01:00
932ad7dd2b Reduce memory allocations during symbol table 2017-01-03 12:07:30 +01:00
79d7869782 Merge branch 'pr-162'
Closes #162 (rebased onto pmd/5.4.x)
2017-01-03 11:54:26 +01:00
992e5547bb Merge branch 'pr-162' into pmd/5.5.x
Closes #162 (rebased onto pmd/5.4.x)
2017-01-03 11:45:47 +01:00