Andreas Dangel
b3460f6951
whitespaces, javadoc
2018-05-21 12:53:51 +02:00
Andreas Dangel
f14fbd02b5
Rework InsecureCryptoIvRule to use RuleChain on AllocationExpression
...
No need for Util. Use Symbol Table instead.
2018-05-21 12:46:29 +02:00
Andreas Dangel
e9f6668c9b
Rework HardCodedCryptoKeyRule to use RuleChain on AllocationExpression and symbol table
2018-05-21 12:40:34 +02:00
Andreas Dangel
af250c3503
whitespaces
2018-05-21 11:56:23 +02:00
Andreas Dangel
ac7b94aaa2
The rule is new with 6.4.0. Sort alphabetically
2018-05-21 11:52:11 +02:00
Andreas Dangel
4d31d1fb04
whitespaces
2018-05-21 11:51:24 +02:00
Sergey Gorbaty
98fe1d3757
Final util
2018-04-23 14:25:08 -07:00
Sergey Gorbaty
ac8135c6a5
Style fix
2018-04-23 14:23:25 -07:00
Sergey Gorbaty
fcac918bd5
merging upstream
2018-04-23 14:03:58 -07:00
Sergey Gorbaty
2378444862
comments
2018-04-23 14:01:28 -07: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
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
6f881116ed
Removing comment
2018-04-19 14:15:49 -07:00
Sergey Gorbaty
ec86fd2584
HardCoded keys used as secrets
2018-04-19 14:13:15 -07:00
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