1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SourceToHTMLConverter.java Tue Jul 15 09:50:36 2008 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SourceToHTMLConverter.java Tue Jul 15 19:22:51 2008 -0700 1.3 @@ -260,12 +260,12 @@ 1.4 * @param docs the array of <code>Doc</code>s to add anchors for. 1.5 * @param hash the <code>HashMap</code> to add to. 1.6 */ 1.7 - protected static void addToHash(Doc[] docs, HashMap hash) { 1.8 + protected static void addToHash(Doc[] docs, HashMap<Integer,String> hash) { 1.9 if(docs == null) { 1.10 return; 1.11 } 1.12 for(int i = 0; i < docs.length; i++) { 1.13 - hash.put(new Integer(docs[i].position().line()), getAnchor(docs[i])); 1.14 + hash.put(docs[i].position().line(), getAnchor(docs[i])); 1.15 } 1.16 } 1.17