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
Juan Martín Sotuyo Dodero
777e1cfbd2
Merge pull request #433 from adangel/issue-429
...
Fixes #429 [core] Error when running PMD from folder with space
2017-06-09 15:54:09 +02:00
Andreas Dangel
45b7e7615b
Fixes #429 [core] Error when running PMD from folder with space
2017-06-09 11:52:39 +02:00
Andreas Dangel
31ad613552
travis: run site upload in background job to mitigate no-output problem
2017-06-03 10:23:59 +02:00
Juan Martín Sotuyo Dodero
de72522642
Merge branch 'type-resolution'
2017-06-02 17:55:39 -03:00
Juan Martín Sotuyo Dodero
70d6b6b012
Update changelog, refs #418
2017-06-02 17:54:50 -03:00
Bendegúz Nagy
1b910587f3
Java: add more tests to this and super expressions
2017-06-02 21:34:24 +02:00
Andreas Dangel
161070396c
Merge branch 'pr-409'
2017-06-02 09:43:29 +02:00
Andreas Dangel
5c8ac2499e
Update changelog, refs #409
2017-06-02 09:36:22 +02:00
Andreas Dangel
ca59d3665e
Merge branch 'metrics-prework' of https://github.com/oowekyala/pmd into pr-409
2017-06-02 09:33:47 +02:00
Andreas Dangel
e6e0483659
travis: fix path for $HOME/.m2
2017-06-02 09:29:08 +02:00
Juan Martín Sotuyo Dodero
a239b6c78a
Merge branch 'pr-416'
2017-06-01 12:04:53 -03:00
Juan Martín Sotuyo Dodero
2e869d4c6e
Update changelog, refs #416
2017-06-01 12:02:32 -03:00
Juan Martín Sotuyo Dodero
0822218574
Simplify expressions
2017-06-01 11:56:48 -03:00
snap252
2460402ea8
test case & adapted grammar for annotated generic return type
...
public static <T> @Nullable T getNullableEnum() {
return null;
}
2017-06-01 15:00:20 +02:00
Git Guru
b8d435235f
fixed/removed unneeded change
...
@@ -1488,7 +1488,7 @@ void MethodDeclaration(int modifiers) :
{jjtThis.setModifiers(modifiers);}
{
[ TypeParameters() ]
- ResultType() MethodDeclarator() [ "throws" NameList() ]
+ [(Annotation() {checkForBadTypeAnnotations();})+] ResultType()
MethodDeclarator() [ "throws" NameList() ]
2017-06-01 10:13:29 +02:00
Bendegúz Nagy
d40e80742c
Java: fix checkstyle issues
2017-05-31 15:59:48 +02:00
oowekyala
455e42bf3b
Merge branch 'master' of https://github.com/pmd/pmd into metrics-prework
2017-05-31 11:38:41 +02:00
oowekyala
255dfd04a8
Changed benchmark name
2017-05-31 00:40:23 +02:00
Bendegúz Nagy
0ec1e44b13
Java: resolve 'super' expression's type
2017-05-30 20:23:11 +02:00
Bendegúz Nagy
babe32a16c
Java: resolve qualified 'this' expression's type
2017-05-30 17:37:47 +02:00
snap252
1a6be9190b
+ beautified method signature
2017-05-30 16:09:17 +02:00
oowekyala
0aff989862
Checkstyle fix
2017-05-30 15:36:39 +02:00
oowekyala
9ee19ac7ac
Remove ALL fields in enums
2017-05-30 15:29:25 +02:00
snap252
a4754e9fc9
I hear voices ... and they tell me to like multi dimensional arrays
...
private static void testMultiDimArrayWithAnnotations() {
// ever used a 2D-Array in java??
Object x = new Object @NonNull[2] @Nullable[1] @NonNull[3];
}
2017-05-30 15:15:44 +02:00
oowekyala
c543cef8b1
Big refactor of qname
...
The creation methods now mostly take the node to describe as parameter. That way, the implementation of the class is less exposed, the creation methods can be overloaded and simplified in the AST nodes' classes.
Only nested class do not do that. That is to keep the recursive call to getQualifiedName which would be much more complicated if it was called from QualifiedName rather than the AST node.
2017-05-30 15:15:10 +02:00
snap252
3e75ddc188
+ should have tried first :(
2017-05-30 14:59:53 +02:00
snap252
5120b0985c
fixed bad void return
2017-05-30 14:58:09 +02:00
snap252
7997297e0b
test case for
...
public void createNonNullArray() {
return new MetaColumn @NonNull [value];
}
2017-05-30 14:13:38 +02:00
snap252
b5474cdcf8
test case and fix for
...
public static <T extends @NonNull Enum<T>> getEnum() {
return null;
}
2017-05-30 14:05:29 +02:00
oowekyala
9ad46fbf88
Documented usesMetrics and usesTypeRes
2017-05-30 13:39:41 +02:00
oowekyala
02bac9ab71
Moved QualifiedName into standalone class
2017-05-30 13:34:48 +02:00
snap252
0660c7298a
+ simplified
2017-05-30 12:31:03 +02:00
snap252
d314a2c301
test case for
...
private byte @Nullable [] getBytes(){
return null;
}
2017-05-30 12:20:26 +02:00
Git Guru
7a4766e8a6
[java] Parsing Problem with Annotation for Array Member Types #417
2017-05-30 10:52:09 +02:00
Git Guru
68ab7048cb
*[java]* Java 8 parsing problem with annotations for wildcards #414
2017-05-29 18:20:12 +02:00
Bendegúz Nagy
6fb5681734
Resolve 'this' keyword in Java
2017-05-29 02:47:21 +02:00
Bendegúz Nagy
e75cf1b55c
Add test for Java 'this' keyword typeresolution
2017-05-29 02:29:13 +02:00
oowekyala
da4897f2b3
Fix misplaced benchmark
2017-05-28 18:14:10 +02:00
oowekyala
4be7616c15
Fixed formatter chaos
2017-05-28 18:13:19 +02:00
Andreas Dangel
872718a0dd
Update changelog, closes #407
2017-05-27 20:37:12 +02:00
Andreas Dangel
cee7d2a046
release script: use English locale (refs #407 )
2017-05-27 20:33:03 +02:00
Juan Martín Sotuyo Dodero
fdf497e4a6
Merge branch 'pr-406'
2017-05-26 14:28:10 -03:00
Juan Martín Sotuyo Dodero
dde5e416b4
Update changelog, refs #406
2017-05-26 14:27:44 -03:00
Juan Martín Sotuyo Dodero
7ef9b93b90
Add method reference test case
2017-05-26 14:24:24 -03:00
oowekyala
e1f02acf87
Checkstyle fix
2017-05-26 17:56:09 +02:00
oowekyala
6fbcb431fc
Checkstyle fixes
2017-05-26 17:45:21 +02:00
oowekyala
ad51c61f33
Revert dumb move with gitignore
2017-05-26 15:27:48 +02:00
oowekyala
acff55e151
Deleted local file
2017-05-26 15:19:12 +02:00