Produced by Araxis Merge on 9/15/2018 10:47:53 PM Eastern 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 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-main\src\main\java\gov\va\med\mhv\integration\phr\service\cds | AllergyErrorSection.java | Thu Aug 23 21:20:40 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-main\src\main\java\gov\va\med\mhv\integration\phr\service\cds | AllergyErrorSection.java | Sat Sep 15 21:37:34 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 108 |
| 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 | /** | |
| 2 | * | |
| 3 | */ | |
| 4 | package go v.va.med.m hv.integra tion.phr.s ervice.cds ; | |
| 5 | ||
| 6 | import jav a.util.Arr ayList; | |
| 7 | import jav a.util.Lis t; | |
| 8 | ||
| 9 | import gov .va.med.mh v.integrat ion.phr.se rvice.Erro r; | |
| 10 | import gov .va.med.mh v.integrat ion.phr.se rvice.Erro rSection; | |
| 11 | ||
| 12 | /** | |
| 13 | * @author DNS | |
| 14 | * | |
| 15 | */ | |
| 16 | public cla ss Allergy ErrorSecti on impleme nts ErrorS ection { | |
| 17 | ||
| 18 | pr ivate gov. va.med.mhv .cds.templ ate.mhvint oleranceco nditionrea d40011.Err orSection errorSecti on; | |
| 19 | ||
| 20 | pu blic Aller gyErrorSec tion(gov.v a.med.mhv. cds.templa te.mhvinto lerancecon ditionread 40011.Erro rSection e rrorSectio n) { | |
| 21 | if(e rrorSectio n == null) { | |
| 22 | throw new Illega lArgumentE xception(" Invalid nu ll error s ection."); | |
| 23 | } | |
| 24 | this .errorSect ion = erro rSection; | |
| 25 | } | |
| 26 | ||
| 27 | @O verride | |
| 28 | pu blic List< Error> get Warnings() { | |
| 29 | retu rn nullSaf eWrap(this .errorSect ion.getWar nings()); | |
| 30 | } | |
| 31 | ||
| 32 | @O verride | |
| 33 | pu blic List< Error> get Errors() { | |
| 34 | retu rn nullSaf eWrap(this .errorSect ion.getErr ors()); | |
| 35 | ||
| 36 | } | |
| 37 | ||
| 38 | @O verride | |
| 39 | pu blic List< Error> get FatalError s() { | |
| 40 | retu rn nullSaf eWrap(this .errorSect ion.getFat alErrors() ); | |
| 41 | } | |
| 42 | ||
| 43 | pr ivate List <Error> nu llSafeWrap (List<gov. va.med.mhv .cds.templ ate.mhvint oleranceco nditionrea d40011.Err or> errors ) { | |
| 44 | List <Error> wr appedError s = null; | |
| 45 | ||
| 46 | if(e rrors != n ull) { | |
| 47 | wrappe dErrors = new ArrayL ist<Error> (); | |
| 48 | for(go v.va.med.m hv.cds.tem plate.mhvi ntolerance conditionr ead40011.E rror e : t his.errorS ection.get Errors()) { | |
| 49 | wrappedE rrors.add( new Allerg yError(e)) ; | |
| 50 | } | |
| 51 | } | |
| 52 | ||
| 53 | retu rn wrapped Errors; | |
| 54 | } | |
| 55 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.