--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java Fri Dec 16 15:27:34 2016 +0000
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java Fri Dec 16 15:27:47 2016 +0000
@@ -140,7 +140,7 @@
*/
public List<Attribute.Compound> getRawAttributes() {
return (metadata == null)
- ? List.<Attribute.Compound>nil()
+ ? List.nil()
: metadata.getDeclarationAttributes();
}
@@ -150,7 +150,7 @@
*/
public List<Attribute.TypeCompound> getRawTypeAttributes() {
return (metadata == null)
- ? List.<Attribute.TypeCompound>nil()
+ ? List.nil()
: metadata.getTypeAttributes();
}
@@ -192,13 +192,13 @@
public List<Attribute.TypeCompound> getClassInitTypeAttributes() {
return (metadata == null)
- ? List.<Attribute.TypeCompound>nil()
+ ? List.nil()
: metadata.getClassInitTypeAttributes();
}
public List<Attribute.TypeCompound> getInitTypeAttributes() {
return (metadata == null)
- ? List.<Attribute.TypeCompound>nil()
+ ? List.nil()
: metadata.getInitTypeAttributes();
}
@@ -212,7 +212,7 @@
public List<Attribute.Compound> getDeclarationAttributes() {
return (metadata == null)
- ? List.<Attribute.Compound>nil()
+ ? List.nil()
: metadata.getDeclarationAttributes();
}
@@ -1248,7 +1248,7 @@
public Type erasure(Types types) {
if (erasure_field == null)
erasure_field = new ClassType(types.erasure(type.getEnclosingType()),
- List.<Type>nil(), this,
+ List.nil(), this,
type.getMetadata());
return erasure_field;
}