Project

General

Profile

Bug #2050

Subjects are using subject.getValue().equals instead of subject.equals

Added by Robert Waltz over 8 years ago. Updated over 8 years ago.

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 over 8 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 over 8 years ago

  • Assignee changed from Chris Jones to Ben Leinfelder

#3 Updated by Ben Leinfelder over 8 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).

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)