View | Details | Raw Unified | Return to bug 42790
Collapse All | Expand All

(-)src/share/org/apache/slide/common/PropertyName.java (-1 / +9 lines)
Lines 175-182 Link Here
175
       if (other instanceof PropertyName) {
175
       if (other instanceof PropertyName) {
176
           PropertyName that = (PropertyName)other;
176
           PropertyName that = (PropertyName)other;
177
           
177
           
178
           // luetzkendorf:
178
           // we can use == because we have internalized name and namespace
179
           // we can use == because we have internalized name and namespace
179
           return this.name == that.name && this.namespace == that.namespace;
180
           //return this.name == that.name && this.namespace == that.namespace;
181
182
           // mkalen: JNDIPrincipalStore does not work with String intern()
183
           // values, after refreshing in a separate RefreshThread,
184
           // .intern() values for eg "group-member-set" will not be
185
           // true when checking with "==", but will be true when checking
186
           // with equals           
187
           return this.name.equals(that.name) && this.namespace.equals(that.namespace);
180
       }
188
       }
181
       
189
       
182
       return false;
190
       return false;

Return to bug 42790