corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
equal
deleted
inserted
replaced
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. |