346. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:48 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.

346.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ROICommands\main\src\java\gov\va\med\imaging\roi\commands\facade ROICommandsContext.java Mon Dec 4 21:35:20 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ROICommands\main\src\java\gov\va\med\imaging\roi\commands\facade ROICommandsContext.java Mon Dec 4 22:05:21 2017 UTC

346.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 164
Changed 2 4
Inserted 0 0
Removed 0 0

346.3 Comparison options

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

346.4 Active regular expressions

No regular expressions were active.

346.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: Mar  26, 2012
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:          
WERFEJ
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.roi .commands. facade;
  27  
  28   import gov .va.med.im aging.core .FacadeRou terUtility ;
  29   import gov .va.med.im aging.tran sactioncon text.Trans actionCont ext;
  30   import gov .va.med.im aging.tran sactioncon text.Trans actionCont extFactory ;
  31  
  32   import org .apache.lo gging.log4 j.LogManag er;
  33   import org .apache.lo gging.log4 j.Logger;
  34  
  35   /**
  36    * @author         
WERFEJ
  37    *
  38    */
  39   public cla ss ROIComm andsContex t
  40   {
  41           pr ivate stat ic Logger  logger = L ogManager. getLogger( ROICommand sContext.c lass);
  42           
  43           /* *
  44            *  
  45            *  @return
  46            * /
  47           pu blic stati c ROIComma ndsRouter  getRouter(
  48           {
  49                    ROIC ommandsRou ter router  = null;
  50                    Tran sactionCon text trans actionCont ext = Tran sactionCon textFactor y.get();
  51                    try
  52                    {
  53                             router  = FacadeR outerUtili ty.getFaca deRouter(R OICommands Router.cla ss);
  54                    } 
  55                    catc h (Excepti on x)
  56                    {
  57                             String  msg = "Er ror gettin g ROIComma ndsRouter  instance.   Applicati on deploym ent is pro bably inco rrect.";                            
  58                             Transa ctionConte xtFactory. get().setE rrorMessag e(msg + "\ n" + x.get Message()) ;
  59                             logger .error(msg , x);
  60                             transa ctionConte xt.setExce ptionClass Name(x.get Class().ge tSimpleNam e());
  61                             //TODO  - figure  out what t o do here:  transacti onContext. setRespons eCode(Http ServletRes ponse.SC_C ONFLICT +  "");
  62                    }
  63                    retu rn router;
  64           } 
  65           
  66           pu blic stati c ROIPerio dicCommand sRouter ge tROIPeriod icRouter()  
  67           {
  68                    ROIP eriodicCom mandsRoute r router =  null;
  69                    Tran sactionCon text trans actionCont ext = Tran sactionCon textFactor y.get();
  70                    try
  71                    {
  72                             router  = FacadeR outerUtili ty.getFaca deRouter(R OIPeriodic CommandsRo uter.class );
  73                    } 
  74                    catc h (Excepti on x)
  75                    {
  76                             String  msg = "Er ror gettin g ROIPerio dicCommand sRouter in stance.  A pplication  deploymen t is proba bly incorr ect.";                            
  77                             Transa ctionConte xtFactory. get().setE rrorMessag e(msg + "\ n" + x.get Message()) ;
  78                             logger .error(msg , x);
  79                             transa ctionConte xt.setExce ptionClass Name(x.get Class().ge tSimpleNam e());
  80                             //TODO  - figure  out what t o do here:  transacti onContext. setRespons eCode(Http ServletRes ponse.SC_C ONFLICT +  "");
  81                    }
  82                    retu rn router;
  83           } 
  84   }