Produced by Araxis Merge on 12/5/2017 12:06:35 PM Central Standard 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 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\BaseWebFacade\main\src\java\gov\va\med\imaging\system | RealmNameTag.java | Mon Dec 4 21:34:50 2017 UTC |
| 2 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\BaseWebFacade\main\src\java\gov\va\med\imaging\system | RealmNameTag.java | Mon Dec 4 21:57:18 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 152 |
| Changed | 2 | 4 |
| 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 | * Package : MAG - Vi stA Imagin g | |
| 3 | * WARNING : Per VHA Directive 2004-038, this routi ne should not be mod ified. | |
| 4 | * Date Cr eated: May 9, 2008 | |
| 5 | * Site Na me: Washi ngton OI F ield Offic e, Silver Spring, MD | |
| 6 | * @author
|
|
| 7 | * @versio n 1.0 | |
| 8 | * | |
| 9 | * ------- ---------- ---------- ---------- ---------- ---------- ------- | |
| 10 | * Propert y of the U S Governme nt. | |
| 11 | * No perm ission to copy or re distribute this soft ware is gi ven. | |
| 12 | * Use of unreleased versions of this so ftware req uires the user | |
| 13 | * to exec ute a writ ten test a greement w ith the Vi stA Imagin g | |
| 14 | * Develop ment Offic e of the D epartment of Veteran s Affairs, | |
| 15 | * telepho ne (301) 7 34-0100. | |
| 16 | * | |
| 17 | * The Foo d and Drug Administr ation clas sifies thi s software as | |
| 18 | * a Class II medica l device. As such, it may not be change d | |
| 19 | * in any way. Modi fications to this so ftware may result in an | |
| 20 | * adulter ated medic al device under 21CF R820, the use of whi ch | |
| 21 | * is cons idered to be a viola tion of US Federal S tatutes. | |
| 22 | * ------- ---------- ---------- ---------- ---------- ---------- ------- | |
| 23 | */ | |
| 24 | package go v.va.med.i maging.sys tem; | |
| 25 | ||
| 26 | import jav a.io.IOExc eption; | |
| 27 | ||
| 28 | import gov .va.med.im aging.tran sactioncon text.Trans actionCont ext; | |
| 29 | import gov .va.med.im aging.tran sactioncon text.Trans actionCont extFactory ; | |
| 30 | ||
| 31 | import jav ax.servlet .jsp.JspEx ception; | |
| 32 | import jav ax.servlet .jsp.tagex t.Tag; | |
| 33 | import jav ax.servlet .jsp.tagex t.TagSuppo rt; | |
| 34 | ||
| 35 | import org .apache.lo gging.log4 j.Logger; | |
| 36 | import org .apache.lo gging.log4 j.LogManag er; | |
| 37 | ||
| 38 | /** | |
| 39 | * @author
|
|
| 40 | * The rea lm name re turned fro m here ide ntifies th e site num ber that | |
| 41 | * this Vi x fronts f or. The r ealm name is defined in the in stantiatio n | |
| 42 | * of the VistaRealm . | |
| 43 | */ | |
| 44 | public cla ss RealmNa meTag | |
| 45 | extends Ta gSupport | |
| 46 | { | |
| 47 | pr ivate stat ic final l ong serial VersionUID = 1L; | |
| 48 | pr ivate Logg er logger = LogManag er.getLogg er(this.ge tClass()); | |
| 49 | ||
| 50 | /* * | |
| 51 | * | |
| 52 | * / | |
| 53 | pu blic Realm NameTag() | |
| 54 | { | |
| 55 | } | |
| 56 | ||
| 57 | @O verride | |
| 58 | public int doSta rtTag() | |
| 59 | th rows JspEx ception | |
| 60 | { | |
| 61 | Tran sactionCon text tc = Transactio nContextFa ctory.get( ); | |
| 62 | if(t c != null) | |
| 63 | { | |
| 64 | try | |
| 65 | { | |
| 66 | pageCo ntext.getO ut().write ( tc.getRe alm() ); | |
| 67 | } | |
| 68 | catc h (IOExcep tion e) | |
| 69 | { | |
| 70 | logger .error(e); | |
| 71 | throw new JspExc eption(e); | |
| 72 | } | |
| 73 | } | |
| 74 | return T ag.EVAL_PA GE; | |
| 75 | } | |
| 76 | ||
| 77 | ||
| 78 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.