Sergey Gorbaty
f9ebe4c119
Version change and use of shorthands
2018-04-18 10:25:12 -07:00
Sergey Gorbaty
d3afc40c67
Remove unused code
2018-04-17 17:00:02 -07:00
Sergey Gorbaty
86e95d876c
Refactoring
2018-04-17 16:47:13 -07:00
Sergey Gorbaty
9d360ced03
all zeros
2018-04-17 15:37:00 -07:00
Sergey Gorbaty
04bf04af10
Simple example
2018-04-17 15:36:33 -07:00
Sergey Gorbaty
475744b515
Code example
2018-04-17 15:32:33 -07:00
Sergey Gorbaty
1f7fc0ac8b
Indentation and license
2018-04-17 15:27:58 -07:00
Sergey Gorbaty
a3f30476ce
Hard-coded IV used in crypto operations
2018-04-17 15:02:05 -07:00
Clément Fournier
3716329a3a
Update rule desc and changelog
2018-04-16 16:00:17 +02:00
Clément Fournier
34cc9ed8fe
Add tests
2018-04-16 16:00:17 +02:00
Clément Fournier
47923d6eb4
Add regex properties to MethodNamingConventions
...
Brush up some AST classes
2018-04-16 16:00:12 +02:00
Juan Martín Sotuyo Dodero
94103cb0c2
Merge branch 'pr-1030'
2018-04-15 02:09:35 -03:00
Juan Martín Sotuyo Dodero
052c46f5b6
Merge branch 'pr-1006'
2018-04-15 02:06:41 -03:00
Andreas Dangel
28714a156b
[java] enable type resolution for AvoidUsingShortType
...
refs #586
2018-04-13 11:12:51 +02:00
Juan Martín Sotuyo Dodero
d6bea21ed6
[core] Refactor CPD token filtering
...
- Define a generic `TokenFilter` interface in pmd-core
- Provide a base, extension-friendly `JavaCCTokenFilter` to process and
filter JavaCC token streams, honoring `CPD-OFF` and `CPD-ON` comments
- Refactor the `JavaTokenizer` to use `JavaCCTokenFilter` by extending
it and adding custom Java-specific token filters
2018-04-11 01:49:40 -03:00
Andreas Dangel
5fa3167868
Corrections from PR #1032
2018-04-10 17:29:23 +02:00
Andreas Dangel
b720210723
[java] AvoidUsingShortType erroneously triggered on overrides of 3rd party methods
...
Fixes #586
2018-04-10 16:29:04 +02:00
Andreas Dangel
9d40872259
Avoid potential NPE
2018-04-09 20:29:49 +02:00
Andreas Dangel
f1923bd4b2
Merge branch 'pr-1026'
2018-04-09 19:30:22 +02:00
Andreas Dangel
ee5a7eefa3
[java] Refactor how the classloader is passed along, avoiding static
2018-04-09 17:07:07 +02:00
Juan Martín Sotuyo Dodero
b30a31397c
Fix checkstyle
2018-04-09 10:43:36 -03:00
Andreas Dangel
82cbd52240
[java] Fix wrong classloader for JavaQualifiedName
2018-04-09 15:34:25 +02:00
Andreas Dangel
354108dc40
[java] False positive for useless parenthesis
...
Fixes #1023
2018-04-09 12:28:13 +02:00
Juan Martín Sotuyo Dodero
50158421c1
[java] Prevent NPEs during JavaTypeDefinitionSimple.toString
...
- Resolves #894
- Resolves #899
2018-04-09 02:20:25 -03:00
Andreas Dangel
bfae79011d
Fix checkstyle
2018-04-08 09:33:12 +02:00
Juan Martín Sotuyo Dodero
a24e52b658
Merge branch 'pr-1024'
2018-04-07 21:30:25 -03:00
Juan Martín Sotuyo Dodero
f8e64abb6e
Simplify regexp
2018-04-07 21:23:12 -03:00
Juan Martín Sotuyo Dodero
ae48542132
Revert check on initializers
2018-04-07 21:06:02 -03:00
Clément Fournier
8ae3916505
Merge branch 'master' into update-classnamingconventions
2018-04-07 17:42:19 +02:00
Clément Fournier
a3c93766df
Move toCamelCase to StringUtil
2018-04-07 17:38:59 +02:00
Clément Fournier
4496aa7d6a
Add getKind to AnyTypeBodyDeclaration
2018-04-07 17:24:24 +02:00
Utku Cuhadaroglu
56bf57ec2e
Try to fix problem about enum whitlist
2018-04-07 18:09:45 +03:00
Andreas Dangel
99a73ca59b
Merge branch 'pr-1012'
...
Closes #1009
2018-04-06 10:01:52 +02:00
Utku Cuhadaroglu
e869ea43da
fixed test typo
2018-04-05 18:22:22 +03:00
Utku Cuhadaroglu
ace459c670
Accept Enums as a Declaration
2018-04-05 18:18:22 +03:00
BBG
c94890b353
fixed comments
2018-04-05 18:41:20 +08:00
Andreas Dangel
fff1a5eeee
Merge branch 'pr-1010'
2018-04-04 16:44:53 +02:00
Juan Martín Sotuyo Dodero
c9621b8880
More explicit implementation
2018-04-03 21:29:47 -03:00
Juan Martín Sotuyo Dodero
cb5c100465
[java] Ignore receiver parameters when matching signatures
...
- Allow sto match all method calls, meaning UnusedPrivateMethod will
not longer produce false positives
- Resolves #719
2018-04-03 03:42:43 -03:00
Juan Martín Sotuyo Dodero
2052087676
[java] Allow UnusedFormalParameter to ignore receiver params
...
- Part of #719
2018-04-03 03:42:09 -03:00
BBG
27d2d88158
fixed comments
2018-04-02 10:36:35 +08:00
BBG
c0846c26a7
merge master
2018-04-01 19:46:45 +08:00
BBG
ca1aff2e8e
fixed pmd violation
2018-04-01 19:16:28 +08:00
BBG
eb09126fb0
detects unnecessary constructor in enum
2018-04-01 19:16:28 +08:00
BBG
a8b3cebb96
Issue #1003 : rewriting UneccessaryConstructorRule into java rule
2018-04-01 19:16:28 +08:00
Clément Fournier
3ca6e40197
Merge branch 'master' into update-classnamingconventions
2018-03-29 18:48:31 +02:00
BBG
c1306659fb
Issue #1009 : fixed FP of JUnitAssertionsShouldIncludeMessage with assertEquals in Junit5
2018-03-29 17:11:00 +08:00
Juan Martín Sotuyo Dodero
1e3b1bf0b5
Merge branch 'master' into tree-transversal-boundaries
2018-03-29 01:54:56 -03:00
Clément Fournier
66983f0882
Use the rulechain
2018-03-27 15:32:25 +02:00
Clément Fournier
82799bdfe2
Fix property names and utility class detection
2018-03-27 15:05:06 +02:00