Fix equals method of DynamicMap.NamePair
Equals was wrongly implemented so that the lookup of functions from the map failed. Change-Id: Id996f4eb52e33defb93579eeecb7ef3825e95b3f Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
		@@ -147,7 +147,7 @@ public abstract class DynamicMap<T> {
 | 
			
		||||
    public boolean equals(Object other) {
 | 
			
		||||
      if (other instanceof NamePair) {
 | 
			
		||||
        NamePair np = (NamePair) other;
 | 
			
		||||
        return pluginName.equals(np) && exportName.equals(np);
 | 
			
		||||
        return pluginName.equals(np.pluginName) && exportName.equals(np.exportName);
 | 
			
		||||
      }
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user