Bug #2050
Subjects are using subject.getValue().equals instead of subject.equals
Status:
Closed
Priority:
High
Assignee:
Ben Leinfelder
Category:
Metacat
Target version:
Start date:
2011-11-22
Due date:
% Done:
100%
Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:
Description
And example of this may be found in CNodeService.java line 974
History
#1 Updated by Robert Waltz about 13 years ago
- Subject changed from Subjects may be compare for equality using subject.getValue().equals instead of subject.equals to Subjects are using subject.getValue().equals instead of subject.equals
#2 Updated by Ben Leinfelder about 13 years ago
- Assignee changed from Chris Jones to Ben Leinfelder
#3 Updated by Ben Leinfelder about 13 years ago
- Status changed from New to Closed
All calls to Subject.getValue() that were being used for object comparison are now using the Subject.equals() method.
Note: we still use the Subject.getValue() method when we need a string representation of the subject (logging, system metadata serialization, etc).