1.1 --- a/src/share/classes/com/sun/tools/javadoc/AnnotationTypeDocImpl.java Tue May 14 13:55:35 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javadoc/AnnotationTypeDocImpl.java Tue May 14 15:04:06 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -31,9 +31,7 @@ 1.11 import com.sun.tools.javac.code.Kinds; 1.12 import com.sun.tools.javac.code.Scope; 1.13 import com.sun.tools.javac.code.Symbol.*; 1.14 -import com.sun.tools.javac.tree.JCTree.*; 1.15 import com.sun.tools.javac.util.List; 1.16 -import com.sun.tools.javac.util.Names; 1.17 1.18 /** 1.19 * Represents an annotation type. 1.20 @@ -92,7 +90,6 @@ 1.21 * Elements are always public, so no need to filter them. 1.22 */ 1.23 public AnnotationTypeElementDoc[] elements() { 1.24 - Names names = tsym.name.table.names; 1.25 List<AnnotationTypeElementDoc> elements = List.nil(); 1.26 for (Scope.Entry e = tsym.members().elems; e != null; e = e.sibling) { 1.27 if (e.sym != null && e.sym.kind == Kinds.MTH) {