langtools/src/share/classes/com/sun/tools/javac/code/Attribute.java
changeset 21041 99f5e5e97425
parent 21010 5ffe0d8a5e24
child 22163 3651128c74eb
--- a/langtools/src/share/classes/com/sun/tools/javac/code/Attribute.java	Tue Oct 15 22:15:35 2013 +0200
+++ b/langtools/src/share/classes/com/sun/tools/javac/code/Attribute.java	Tue Oct 15 15:57:13 2013 -0700
@@ -236,6 +236,7 @@
 
     public static class TypeCompound extends Compound {
         public TypeAnnotationPosition position;
+
         public TypeCompound(Compound compound,
                 TypeAnnotationPosition position) {
             this(compound.type, compound.values, position);
@@ -256,7 +257,7 @@
         }
 
         public boolean hasUnknownPosition() {
-            return position == null || position.type == TargetType.UNKNOWN;
+            return position.type == TargetType.UNKNOWN;
         }
 
         public boolean isContainerTypeCompound() {