multiple methods with the same signature but a different return type can be merged_to_trunk
authorsdedic@netbeans.org
Wed, 24 Jan 2001 09:20:17 +0000
changeset 857478cfe472981
parent 856 5ac2cab202f3
child 858 665c38077b2f
multiple methods with the same signature but a different return type can be
present in the map.
clazz/src/org/netbeans/modules/clazz/ClassElementImpl.java
     1.1 --- a/clazz/src/org/netbeans/modules/clazz/ClassElementImpl.java	Tue Jan 23 22:02:59 2001 +0000
     1.2 +++ b/clazz/src/org/netbeans/modules/clazz/ClassElementImpl.java	Wed Jan 24 09:20:17 2001 +0000
     1.3 @@ -363,7 +363,7 @@
     1.4              if (!addedByCompiler(reflMethods[i])) {
     1.5                  curME = new MethodElement(new MethodElementImpl(reflMethods[i]),
     1.6                                            (ClassElement)element);
     1.7 -                result.put(new MethodElement.Key(curME), curME);
     1.8 +                result.put(new MethodElement.Key(curME, true), curME);
     1.9              }
    1.10          }
    1.11          return result;