Add generics to the field types in the API file. automerge: 5db09cd automerge: 5787d1d
automerge: f8a3be5
* commit 'f8a3be52b9a4eb3086db5cbe236e99f0a5a05f5d':
Add generics to the field types in the API file.
diff --git a/src/com/google/doclava/ClassInfo.java b/src/com/google/doclava/ClassInfo.java
index add8270..466c22b 100644
--- a/src/com/google/doclava/ClassInfo.java
+++ b/src/com/google/doclava/ClassInfo.java
@@ -1429,7 +1429,7 @@
}
public boolean hasShowAnnotation() {
- return mShowAnnotations.size() > 0;
+ return mShowAnnotations != null && mShowAnnotations.size() > 0;
}
public ArrayList<AnnotationInstanceInfo> showAnnotations() {