Produced by Araxis Merge on 8/31/2017 11:16:53 AM 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 | JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao | TestConfig.java | Thu Aug 31 12:13:10 2017 UTC |
2 | JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao | TestConfig.java | Thu Aug 31 13:29:28 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 152 |
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 | * Janus 4 .0 (c) | |
3 | * Copyrig ht (c) 201 1 Hawaii R esource Gr oup LLC. A ll Rights Reserved. | |
4 | * Develop ed for the Pacific T elehealth & Technolo gy Hui and the Pacif ic Joint I nformation Technolog y Center | |
5 | * Contrib utors: | |
6 | * Hon orable Sen ator Danie l K. Inouy e | |
7 | * VA Pacific Is lands Heal th Care Sy stem | |
8 | * Tri pler Army Medical Ce nter | |
9 | */ | |
10 | ||
11 | ||
12 | package go v.va.med.j meadows.da o; | |
13 | ||
14 | import org .slf4j.Log ger; | |
15 | import org .slf4j.Log gerFactory ; | |
16 | ||
17 | import jav a.io.IOExc eption; | |
18 | import jav a.io.Input Stream; | |
19 | import jav a.util.Pro perties; | |
20 | ||
21 | ||
22 | /** | |
23 | * User: D N S UYEHAC | |
24 | * Date: 8 /2/11 | |
25 | * Time: 3 :36 PM | |
26 | */ | |
27 | public cla ss TestCon fig | |
28 | { | |
29 | privat e static f inal Logge r logger = LoggerFac tory.getLo gger(TestC onfig.clas s); | |
30 | ||
31 | public static fi nal String PROVIDER_ ACCESS_COD E = "PROVI DER_ACCESS _CODE"; | |
32 | public static fi nal String PROVIDER_ VERIFY_COD E = "PROVI DER_VERIFY _CODE"; | |
33 | public static fi nal String PROVIDER_ SITE_CODE = "PROVIDE R_SITE_COD E"; | |
34 | public static fi nal String PATIENT_S SN = "PATI ENT_SSN"; | |
35 | public static fi nal String PATIENT_N AME_FIRST = "PATIENT _NAME_FIRS T"; | |
36 | public static fi nal String PATIENT_N AME_LAST = "PATIENT_ NAME_LAST" ; | |
37 | ||
38 | privat e static P roperties testConfig Prop = new Propertie s(); | |
39 | ||
40 | public static St ring get(S tring prop erty) | |
41 | { | |
42 | if (testConf igProp.isE mpty()) | |
43 | { | |
44 | init(); | |
45 | } | |
46 | ||
47 | re turn (Stri ng) testCo nfigProp.g et(propert y); | |
48 | } | |
49 | ||
50 | privat e static v oid init() | |
51 | { | |
52 | Cl assLoader classLoade r = TestCo nfig.class .getClassL oader(); | |
53 | ||
54 | if (classLoa der == nul l) throw n ew NullPoi nterExcept ion("Class Loader is null!"); | |
55 | ||
56 | In putStream inputStrea m = null; | |
57 | tr y { | |
58 | inputStr eam = clas sLoader.ge tResourceA sStream("t estconfig. properties "); | |
59 | testConf igProp.loa d(inputStr eam); | |
60 | } catch (IOE xception e ) { | |
61 | throw ne w RuntimeE xception(e ); | |
62 | } | |
63 | fi nally { | |
64 | try | |
65 | { | |
66 | if ( inputStrea m != null) | |
67 | { | |
68 | inputStrea m.close(); | |
69 | } | |
70 | } | |
71 | catch (I OException e) | |
72 | { | |
73 | logg er.error(e .getMessag e()); | |
74 | } | |
75 | } | |
76 | } | |
77 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.