223. EPMO Open Source Coordination Office Redaction File Detail Report

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

223.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ImagingBaseWebFacade\main\src\java\gov\va\med\imaging\exchange\business\taglib\series AbstractSeriesCollectionTag.java Mon Dec 4 21:35:30 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ImagingBaseWebFacade\main\src\java\gov\va\med\imaging\exchange\business\taglib\series AbstractSeriesCollectionTag.java Mon Dec 4 22:01:18 2017 UTC

223.2 Comparison summary

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

223.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

223.4 Active regular expressions

No regular expressions were active.

223.5 Comparison detail

  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: Jan  22, 2008
  5    * Site Na me:  Washi ngton OI F ield Offic e, Silver  Spring, MD
  6    * @author         
BECKEC
  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.exc hange.busi ness.tagli b.series;
  25  
  26   import gov .va.med.im aging.exch ange.busin ess.Series ;
  27  
  28   import jav a.io.IOExc eption;
  29   import jav a.util.Col lection;
  30   import jav a.util.Ite rator;
  31  
  32   import jav ax.servlet .jsp.JspEx ception;
  33   import jav ax.servlet .jsp.tagex t.BodyTagS upport;
  34   import jav ax.servlet .jsp.tagex t.Iteratio nTag;
  35   import jav ax.servlet .jsp.tagex t.Tag;
  36   import jav ax.servlet .jsp.tagex t.TagSuppo rt;
  37  
  38   import org .apache.lo gging.log4 j.LogManag er;
  39   import org .apache.lo gging.log4 j.Logger;
  40  
  41   /**
  42    * This cl ass must b e subclass ed with so mething th at will pr ovide the
  43    * Collect ion of Ser ies instan ces to dis play.
  44    * 
  45    * @author         
BECKEC
  46    *
  47    */
  48   public abs tract clas s Abstract SeriesColl ectionTag 
  49   extends Bo dyTagSuppo rt
  50   {
  51           pr ivate stat ic final l ong serial VersionUID  = 1L;
  52           
  53           pr ivate Logg er logger  = LogManag er.getLogg er(this.ge tClass());
  54           pr ivate Stri ng emptyRe sultMessag e = null;
  55           
  56           /* *
  57        * @re turn the s tudyList
  58        */
  59       protec ted abstra ct Collect ion<Series > getSerie sCollectio n()
  60       throws  JspExcept ion;
  61  
  62           /* *
  63            *  The messa ge to show  if the se ries list  is empty
  64            *  @return
  65            * /
  66           pu blic Strin g getEmpty ResultMess age()
  67       {
  68           re turn empty ResultMess age;
  69       }
  70  
  71           pu blic void  setEmptyRe sultMessag e(String e mptyResult Message)
  72       {
  73           th is.emptyRe sultMessag e = emptyR esultMessa ge;
  74       }
  75           
  76           /* *
  77        * @se e javax.se rvlet.jsp. tagext.Tag Support#do StartTag()
  78        */
  79       @Overr ide
  80       public  int doSta rtTag() 
  81       throws  JspExcept ion
  82       {
  83           Co llection<S eries> ser iesList =  getSeriesC ollection( );
  84           
  85           if (seriesLis t != null  && seriesL ist.size()  > 0)
  86           {
  87                    seri esIterator  = seriesL ist.iterat or();
  88                return T ag.EVAL_BO DY_INCLUDE ;
  89           }
  90           
  91           if (getEmptyR esultMessa ge() != nu ll)
  92                    try{ pageContex t.getOut() .write(get EmptyResul tMessage() );}
  93                    catc h(IOExcept ion ioX){l ogger.erro r("Unable  to write e mpty resul t set mess age.");}
  94                    
  95           re turn Tag.S KIP_BODY;
  96       }
  97  
  98       privat e Iterator <Series> s eriesItera tor;
  99       
  100       Iterat or<Series>  getSeries Iterator()
  101       {
  102           re turn serie sIterator;
  103       }
  104  
  105           @O verride
  106       public  int doAft erBody() 
  107           th rows JspEx ception
  108       {
  109                return g etSeriesIt erator().h asNext() ?  Iteration Tag.EVAL_B ODY_AGAIN  : Iteratio nTag.SKIP_ BODY;
  110       }
  111  
  112       
  113           /* *
  114        * @se e javax.se rvlet.jsp. tagext.Tag Support#do EndTag()
  115        */
  116       @Overr ide
  117       public  int doEnd Tag() 
  118       throws  JspExcept ion
  119       {
  120                return T ag.EVAL_PA GE;
  121       }
  122  
  123   }