Issue 18421: RequestOffered.requestedOfferedContract() semantic should be removed (dds-psm-java-rtf) Source: ADLINK Technology Ltd (Mr. Julien Enoch, julien.enoch(at)adlinktech.com) Nature: Enhancement Severity: Significant Summary: Instead of providing the requestedOfferedContract() method for RxO comparison, the inherited Compare implementation should follow the RxO rules. For instance: Deadline(2) > Deadline(5) This change simplify the API and avoids the creation of temporary object when trying to evaluate RxO. Notice that, in this case, the natural ordering is still available via the Duration type. Resolution: Revised Text: Actions taken: February 6, 2013: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 06 Feb 2013 05:14:06 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Julien Enoch Employer: PrismTech mailFrom: julien.enoch@prismtech.com Terms_Agreement: I agree Specification: Java 5 DDS PSM Section: N/A FormalNumber: ptc/12-12-04 Version: 1.0 Doc_Year: Year Doc_Month: Month Doc_Day: Day Page: 0 Title: RequestOffered.requestedOfferedContract() semantic should be removed Nature: Enhancement Severity: Significant CODE: 3TMw8 B1: Report Issue Description: Instead of providing the requestedOfferedContract() method for RxO comparison, the inherited Compare implementation should follow the RxO rules. For instance: Deadline(2) > Deadline(5) This change simplify the API and avoids the creation of temporary object when trying to evaluate RxO. Notice that, in this case, the natural ordering is still available via the Duration type.