11546 Commits

Author SHA1 Message Date
Andreas Dangel
a175b90665 Update plugins 2017-09-24 10:39:44 +02:00
Andreas Dangel
b72f1bd18c Adjust javadoc settings: disable doclint, add weird dependency 2017-09-24 10:39:39 +02:00
Andreas Dangel
8bd413591f Add enforcer plugin to make sure, we are using java9 2017-09-23 19:24:37 +02:00
Andreas Dangel
ade0d7d029 Update compiler plugin, use "release" option, adjust java.version properties
No need for the toolchain plugin anymore
2017-09-23 19:24:17 +02:00
Andreas Dangel
8fc518c814 Using java9 as default version 2017-09-23 18:48:37 +02:00
Andreas Dangel
51181f123f Update release notes, refs #584 2017-09-23 00:31:02 +02:00
Andreas Dangel
6590a358e6 Support concise try-with-resources with java9 2017-09-23 00:15:08 +02:00
Andreas Dangel
280a656f87 Checkstyle 2017-09-22 23:51:56 +02:00
Andreas Dangel
f30eb4b5ff Use semantic lookahead for the module productions
The new keyword are only "restricted keywords" and can still be used
as identifiers.
2017-09-22 23:43:43 +02:00
Andreas Dangel
07eede38db Fix unit test after changing return type to String (for XPath attributes) 2017-09-22 23:39:38 +02:00
Filipe Esperandio
a4c1150891 Fix wrong internal property name 2017-09-22 17:18:48 -03:00
Filipe Esperandio
4d01d2c6d5 Remove import 2017-09-22 17:13:01 -03:00
Filipe Esperandio
c6aaf3fbc4 Prevent internal dev-properties from being displayed on CodeClimate's documentation markdown 2017-09-22 17:10:10 -03:00
Andreas Dangel
1020bf73db Enhance grammar to parse Java 9 module-info.java 2017-09-22 21:35:24 +02:00
Andreas Dangel
cb772167bb Simplify Java Language Module 2017-09-22 15:37:23 +02:00
Andreas Dangel
fa44c405bd Interface methods can be private now 2017-09-22 15:32:24 +02:00
Andreas Dangel
672f9216dd Simplify grammar: TypeArguments is not used here, it's resolved
as a child by ClassOrInterfaceType already
2017-09-22 15:32:24 +02:00
Andreas Dangel
77222904de Check for diamond operator for anonymous classes 2017-09-22 15:32:19 +02:00
Andreas Dangel
722b2b1657 Allow nested private methods 2017-09-22 13:33:08 +02:00
Andreas Dangel
cfa4b5b85c Add Java9 Language Module, Update grammar
* Java8 mode now rejects private methods in interfaces
* Java9 mode now rejects "_" as identifier
2017-09-22 12:19:38 +02:00
Clément Fournier
d12e70aab5 Truly disable multifile 2017-09-22 01:04:48 +02:00
Jan Aertgeerts
2639b4fe66 [apex] Add AvoidDirectAccessTriggerMap rule to the performance set 2017-09-20 12:42:22 +02:00
Jan Aertgeerts
8bc6810196 [apex] add empty statement block rule 2017-09-19 10:21:55 +02:00
Jan Aertgeerts
a890dbf68c [apex] use correct AST 2017-09-18 20:12:57 +02:00
Jan Aertgeerts
5d7237cd2d [apex] style, indent 2017-09-18 00:35:00 +02:00
Jan Aertgeerts
882139e189 [apex] fix tests and add to ruleset for tests 2017-09-17 23:35:42 +02:00
Clément Fournier
60d40aee6b Checkstyle 2017-09-17 23:17:32 +02:00
Clément Fournier
4f25c1feb3 Add test case for operations 2017-09-17 22:54:40 +02:00
Clément Fournier
8af7d28197 Corrections for PR #602 2017-09-17 22:38:54 +02:00
Jan Aertgeerts
62c1a6fc68 [apex] single quote ruining tests xml 2017-09-17 21:50:39 +02:00
Jan Aertgeerts
1ddd5d2ac6 [apex] fix catch xpath and add meaningful names for test cases 2017-09-17 21:37:54 +02:00
Jan Aertgeerts
8a95fcd257 [apex] fix xpath, test recheck 2017-09-17 19:54:01 +02:00
Jan Aertgeerts
bec10ce1d2 [apex] add tests for empty checks 2017-09-17 19:42:24 +02:00
Jan Aertgeerts
00b06ef810 [apex] version since in empty rules, correct xpath expression 2017-09-17 18:46:05 +02:00
Jan Aertgeerts
cacb82ace5 [apex] Add test for empty xpath checks. 2017-09-17 18:45:37 +02:00
Jan Aertgeerts
c3da9ec086 empty code ruleset for apex 2017-09-17 16:19:51 +02:00
Travis CI (pmd-bot)
df87db8d7a Update documentation 2017-09-16 14:34:19 +00:00
Andreas Dangel
9e55969eb1 Merge branch 'pr-601' 2017-09-16 16:18:17 +02:00
Andreas Dangel
16eb55d0c8 Merge branch 'pr-596' 2017-09-16 16:09:45 +02:00
Andreas Dangel
4272674488 Merge branch 'pr-593' 2017-09-15 11:07:56 +02:00
Andreas Dangel
7ec56e37b0 Merge branch 'pr-592' 2017-09-15 10:59:14 +02:00
Juan Martín Sotuyo Dodero
8d808049f3 Merge branch 'pr-620' 2017-09-14 11:49:25 -03:00
Juan Martín Sotuyo Dodero
5bbca3e59d Update changelog, refs #620 2017-09-14 11:49:08 -03:00
Juan Martín Sotuyo Dodero
02fc43737a Remove commented default access modifier 2017-09-14 11:47:52 -03:00
Clément Fournier
51fc08a8f6 Fix compil error 2017-09-14 15:31:31 +02:00
Clément Fournier
0349ad74c1 Forgot stuff in n.s.pmd 2017-09-14 15:28:40 +02:00
Clément Fournier
45cb608c17 Merge branch 'multifile-split' of https://github.com/oowekyala/pmd into multifile-split 2017-09-14 14:37:18 +02:00
Clément Fournier
f02026995d Merge upstream 2017-09-14 14:37:00 +02:00
Clément Fournier
4743b92a09 Merge branch 'master' into multifile-split 2017-09-14 00:30:04 +02:00
Clément Fournier
6a162c238c Moved properties to n.s.pmd.properties 2017-09-14 00:05:55 +02:00