Produced by Araxis Merge on 7/10/2017 1:01:42 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\CoreValueObjects\main\src\java\gov\va\med\imaging\mix\business | ImagingStudyComparator.java | Thu Jun 29 17:22:22 2017 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\CoreValueObjects\main\src\java\gov\va\med\imaging\mix\business | ImagingStudyComparator.java | Thu Jul 6 15:00:08 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 50 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.med.i maging.mix .business; | |
| 2 | ||
| 3 | import gov .va.med.im aging.mix. business.f hir.Imagin gStudy; | |
| 4 | ||
| 5 | import jav a.io.Seria lizable; | |
| 6 | import jav a.util.Com parator; | |
| 7 | ||
| 8 | /** | |
| 9 | * | |
| 10 | * A Compa rator clas s to assur e that the two imagi ng Studies are ident ical | |
| 11 | * | |
| 12 | * @author DNS TITTOC | |
| 13 | * | |
| 14 | */ | |
| 15 | public cla ss Imaging StudyCompa rator impl ements Com parator<Im agingStudy >, Seriali zable { | |
| 16 | ||
| 17 | pr ivate stat ic final l ong serial VersionUID = 4739063 6356417770 03L; | |
| 18 | ||
| 19 | pu blic int c ompare(Ima gingStudy iStudy1, I magingStud y iStudy2) | |
| 20 | { | |
| 21 | int patientRel ation = iS tudy1.getP atientID() .compareTo (iStudy2.g etPatientI D()); | |
| 22 | int studyUidRe lation = i Study1.get Uid().comp areTo(iStu dy2.getUid ()); | |
| 23 | ||
| 24 | retu rn (patien tRelation + studyUid Relation); // 0 - eq uals | |
| 25 | } | |
| 26 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.