langtools/test/tools/javac/tree/AbstractTreeScannerTest.java
changeset 10950 e87b50888909
parent 7846 f72ce57eb9c1
--- a/langtools/test/tools/javac/tree/AbstractTreeScannerTest.java	Sat Nov 05 00:02:33 2011 -0700
+++ b/langtools/test/tools/javac/tree/AbstractTreeScannerTest.java	Tue Nov 08 11:51:05 2011 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -274,7 +274,7 @@
         return fields;
     }
     // where
-    Map<Integer, Set<Field>> map = new HashMap<Integer,Set<Field>>();
+    Map<JCTree.Tag, Set<Field>> map = new HashMap<JCTree.Tag,Set<Field>>();
 
     /** Get the line number for the primary position for a tree.
      * The code is intended to be simple, although not necessarily efficient.