https://redmine.dataone.org/https://redmine.dataone.org/favicon.ico2011-11-23T01:11:33ZDataONE TasksInfrastructure - Bug #2050: Subjects are using subject.getValue().equals instead of subject.equals https://redmine.dataone.org/issues/2050?journal_id=103122011-11-23T01:11:33ZRobert Waltz
<ul><li><strong>Subject</strong> changed from <i>Subjects may be compare for equality using subject.getValue().equals instead of subject.equals</i> to <i>Subjects are using subject.getValue().equals instead of subject.equals </i></li></ul> Infrastructure - Bug #2050: Subjects are using subject.getValue().equals instead of subject.equals https://redmine.dataone.org/issues/2050?journal_id=103142011-11-23T17:56:01ZBen Leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Assignee</strong> changed from <i>Chris Jones</i> to <i>Ben Leinfelder</i></li></ul> Infrastructure - Bug #2050: Subjects are using subject.getValue().equals instead of subject.equals https://redmine.dataone.org/issues/2050?journal_id=103172011-11-23T18:21:22ZBen Leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>All calls to Subject.getValue() that were being used for object comparison are now using the Subject.equals() method.<br>
Note: we still use the Subject.getValue() method when we need a string representation of the subject (logging, system metadata serialization, etc).</p>