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 | ChemistryErrorSection.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 | ChemistryErrorSection.java | Sat Sep 15 21:37:52 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 104 |
| 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 Chemist ryErrorSec tion imple ments Erro rSection { | |
| 17 | ||
| 18 | pr ivate gov. va.med.mhv .cds.templ ate.mhvlab read40011. ErrorSecti on errorSe ction; | |
| 19 | ||
| 20 | pu blic Chemi stryErrorS ection(gov .va.med.mh v.cds.temp late.mhvla bread40011 .ErrorSect ion errorS ection) { | |
| 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.mhvlab read40011. Error> err ors) { | |
| 44 | List <Error> wr appedError s = null; | |
| 45 | if(e rrors != n ull) { | |
| 46 | wrappe dErrors = new ArrayL ist<Error> (); | |
| 47 | for(go v.va.med.m hv.cds.tem plate.mhvl abread4001 1.Error e : this.err orSection. getErrors( )) { | |
| 48 | wrappedE rrors.add( new Chemis tryError(e )); | |
| 49 | } | |
| 50 | } | |
| 51 | retu rn wrapped Errors; | |
| 52 | } | |
| 53 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.