corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
changeset 18302 3b06314efbd0
parent 5555 b2b5ed3f0d0d
child 22131 4d7b21463768
equal deleted inserted replaced
17815:b72ae39e1329 18302:3b06314efbd0
   143 
   143 
   144         if (ior == null)
   144         if (ior == null)
   145             return ior == other.ior ;
   145             return ior == other.ior ;
   146         else
   146         else
   147             return ior.equals( other.ior ) ;
   147             return ior.equals( other.ior ) ;
       
   148     }
       
   149 
       
   150     public int hashCode() {
       
   151         if (ior == null) {
       
   152             return 0;
       
   153         } else {
       
   154             return ior.hashCode();
       
   155         }
   148     }
   156     }
   149 
   157 
   150     /**
   158     /**
   151      * Returns a string representation of this stub. Returns the same string
   159      * Returns a string representation of this stub. Returns the same string
   152      * for all stubs that represent the same remote object.
   160      * for all stubs that represent the same remote object.