Juan Martín Sotuyo Dodero
4c3f6e5c6b
Merge branch 'pr-1033'
2018-04-25 00:35:26 -03:00
Andreas Dangel
ba6f3fb5cb
Merge branch 'pr-1042'
2018-04-23 21:02:48 +02:00
Andreas Dangel
1f662e81f7
Update release notes, refs #1042 - new rule
2018-04-23 21:01:11 +02:00
Andreas Dangel
fd71799c83
Don't consider null literal inside lambda
2018-04-23 19:32:13 +02:00
Andreas Dangel
bc9b18cc69
[java] NullAssignment false positive
...
Fixes #629
2018-04-23 19:32:13 +02:00
Andreas Dangel
bf8855c1e5
Merge branch 'pr-1039'
2018-04-23 18:59:05 +02:00
Akshat Bahety
b095e05bae
Merge pull request #1 from akshatbahety/patch-2
...
Singleton Test Case
2018-04-23 10:32:32 +05:30
Akshat Bahety
92ecdde2f4
Singleton Test Case
...
Added a test case to check the singleton rule for nested classes
2018-04-23 10:29:43 +05:30
Akshat Bahety
c137ebaa60
CheckStyle Updated
2018-04-23 10:04:32 +05:30
Akshat Bahety
bee7adb33a
Removed Debugging parts
...
Updated the file, removed the unnecessary debugging statements
2018-04-23 09:48:34 +05:30
Akshat Bahety
1a51582963
Solution for issue #816
...
Fixed the issue with traversing the tree and checking out if the getInstance method is used twice under the same class.
2018-04-23 02:08:16 +05:30
Sergey Gorbaty
d7ac0b8186
Using narrower scoped AST node + scope for global declarations
2018-04-18 15:20:26 -07:00
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
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