10485 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
cc4294b399 [java] Simplify handling of SLF4J log arguments
- Fixes #365
2017-06-21 17:04:41 -03:00
Andreas Dangel
bede603fb3 Merge branch 'pr-449' 2017-06-19 21:56:09 +02:00
Juan Martín Sotuyo Dodero
6ed0336971 Update changelog, refs #449 2017-06-19 11:19:52 -03:00
Juan Martín Sotuyo Dodero
2f0e12da6c [java] Fix false positive in UnusedImport
- When referencing static inner members of imports, false positives
would be reported.
 - Fixes #348
2017-06-19 11:07:12 -03:00
Juan Martín Sotuyo Dodero
5aa72289ce Merge branch 'pr-447' 2017-06-17 15:22:01 -03:00
Juan Martín Sotuyo Dodero
04831b20e0 Merge branch 'pr-446' 2017-06-17 15:14:44 -03:00
Andreas Dangel
c8a0bc9b13 cpd: fix line number issue, add tests for apex cpd
Fixes #427
2017-06-17 19:42:07 +02:00
Andreas Dangel
0f9a4a97c0 cpp: skip line continuation character in grammar
Fixes #431

Note: the tokens separate by such continuation characters are not
merged and appear as two separate tokens, which could lead to false
negatives in duplication detection.

ContinuationReader is deleted, since skipping characters in the stream
makes it difficult to provide accurate line numbers/positions.
2017-06-17 12:42:13 +02:00
Andreas Dangel
2c861a2f6c cpp: add missing "finally" token, move ID Token to beginning of file 2017-06-17 12:27:47 +02:00
Juan Martín Sotuyo Dodero
5a8054cfcc Merge branch 'pr-430' 2017-06-16 20:40:02 -03:00
Andreas Dangel
afbb3eb600 Enhance ruleset schema validation test
refs #440
2017-06-16 21:10:57 +02:00
Andreas Dangel
ff9d1b47d4 Add simple test to check ruleset schema
refs #440
2017-06-16 19:03:41 +02:00
Andreas Dangel
7f7afc66e9 Merge branch 'pr-440' 2017-06-16 17:44:27 +02:00
Andreas Dangel
c477eddfc0 Update changelog, refs #440 2017-06-16 17:44:15 +02:00
Andreas Dangel
da310bee91 Merge branch 'ruleset-3.0.0' of https://github.com/oowekyala/pmd into pr-440 2017-06-16 17:42:10 +02:00
Andreas Dangel
64c1c976cd Merge branch 'pr-436' 2017-06-16 17:40:13 +02:00
Andreas Dangel
ac5f37c99c Update changelog, refs #436 2017-06-16 17:32:36 +02:00
Andreas Dangel
135db3f4ce Merge branch 'metrics' of https://github.com/oowekyala/pmd into pr-436 2017-06-16 17:31:20 +02:00
oowekyala
2eb06ada55 Corrections from review #436 2017-06-16 14:21:15 +02:00
Andreas Dangel
e9248b4124 Merge branch 'metrics' of https://github.com/oowekyala/pmd into pr-436 2017-06-16 09:47:26 +02:00
Juan Martín Sotuyo Dodero
c1e30b833b Merge branch 'pr-443' 2017-06-14 21:58:28 -03:00
Juan Martín Sotuyo Dodero
6fc280d479 Update changelof, refs #443 2017-06-14 21:58:12 -03:00
Bendegúz Nagy
6c7ec75339 Java, typeres: optimize visit(ASTName) by skipping package and import declarations 2017-06-15 00:44:23 +02:00
Juan Martín Sotuyo Dodero
f57d05d2b3 Merge branch 'pr-423' 2017-06-14 17:41:52 -03:00
Juan Martín Sotuyo Dodero
9517884137 Update changelog, refs #423 2017-06-14 17:40:44 -03:00
Bendegúz Nagy
41ed666d48 Java, typeres: add field visibility test, fix tests 2017-06-14 18:11:20 +02:00
Bendegúz Nagy
2291dd2a38 Java, typeres: cleanup non-generic field tests 2017-06-14 14:56:01 +02:00
oowekyala
64a6dd19ee Created ruleset schema 3.0.0 2017-06-13 18:17:44 +02:00
Juan Martín Sotuyo Dodero
d53c0c2fe6 Merge branch 'pr-435' 2017-06-12 19:21:05 -03:00
Juan Martín Sotuyo Dodero
53687afeb8 Update changelog, include changed rules info 2017-06-12 19:20:07 -03:00
Juan Martín Sotuyo Dodero
435373faf7 Prefer multicatch for brevity 2017-06-12 19:11:15 -03:00
Juan Martín Sotuyo Dodero
6d86d85479 Merge branch 'pr-425' 2017-06-12 19:04:20 -03:00
Juan Martín Sotuyo Dodero
c9d20c8964 Update changelog, refs #425 2017-06-12 19:04:01 -03:00
dreniers
38447ca3ee PR18522: [java] Fixed false positive for PreserveStackTraceRule when using builder pattern. 2017-06-12 19:00:15 -03:00
Juan Martín Sotuyo Dodero
0553073208 Merge branch 'pr-426' 2017-06-12 18:11:09 -03:00
Juan Martín Sotuyo Dodero
0776ef8dac Update changelog, refs #426 2017-06-12 18:09:10 -03:00
Juan Martín Sotuyo Dodero
7c3e96e02d Update message and description for UnnecessaryFinalModifier 2017-06-12 18:08:26 -03:00
oowekyala
04f72c1509 Added nested class test case 2017-06-12 20:54:58 +02:00
oowekyala
f9095f4480 Use stack in MetricsVisitor 2017-06-12 20:50:14 +02:00
Juan Martín Sotuyo Dodero
494040fe92 Merge pull request #434 from adangel/issue-410
[java] ImmutableField: False positive with lombok (fixes #410)
2017-06-11 23:11:47 +02:00
oowekyala
8e495cb5e1 Checkstyle fixes 2017-06-11 16:41:07 +02:00
oowekyala
8e9313791f Completed tests for signatures 2017-06-11 15:51:33 +02:00
Andreas Dangel
cb5452fcbb Revert "travis: use travis_wait"
This reverts commit cd39cd6fa8486fef01811725c3d303e9accc2fab.
2017-06-11 10:50:42 +02:00
Andreas Dangel
a3004395ab Revert "travis: let bash read its .bashrc file"
This reverts commit 929afd8318314a53b561dfc4f7ea5ef4769026ed.
2017-06-11 10:50:39 +02:00
Andreas Dangel
929afd8318 travis: let bash read its .bashrc file 2017-06-11 10:46:07 +02:00
Andreas Dangel
0fc9ac185a [java] PMD requires public modifier on JUnit 5 test (fixes #428) 2017-06-11 10:18:12 +02:00
Andreas Dangel
cd39cd6fa8 travis: use travis_wait 2017-06-11 09:26:35 +02:00
Andreas Dangel
6bb044b517 vf: Update shortname of VisualForce
Looks nicer in the Designer menu than just "vf".
2017-06-11 09:21:02 +02:00
Andreas Dangel
8af4d71940 [java] ImmutableField: False positive with lombok (fixes #410) 2017-06-11 09:07:13 +02:00
oowekyala
a052550130 Reorganised and finished memoization 2017-06-10 19:14:11 +02:00