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

217.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\image AbstractImageActionTag.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\image AbstractImageActionTag.java Mon Dec 4 22:01:15 2017 UTC

217.2 Comparison summary

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

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

217.4 Active regular expressions

No regular expressions were active.

217.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: Feb  4, 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.image;
  25  
  26   import jav ax.servlet .jsp.JspEx ception;
  27  
  28   import org .apache.lo gging.log4 j.LogManag er;
  29   import org .apache.lo gging.log4 j.Logger;
  30  
  31   /**
  32    * This ta g will gen erate a St ring that  is a JavaS cript meth od call, w ith the
  33    * enclosi ng image H REF as the  only arg.   The meth od call is  specified  as the 'a ction' att ribute.
  34    * Derived  classes o f this tag  specify t he image q uality (Th umbnail, R eference,  and Diagno stic).
  35    * 
  36    * @author         
BECKEC
  37    */
  38   public abs tract clas s Abstract ImageActio nTag 
  39   extends Ab stractImag eHRefTag
  40   {
  41           pr ivate Logg er logger  = LogManag er.getLogg er(this.ge tClass());
  42           pr ivate Stri ng action;
  43           
  44           /* *
  45        * @re turn the a ction
  46        */
  47       public  String ge tAction()
  48       {
  49           re turn actio n;
  50       }
  51  
  52           /* *
  53        * @pa ram action  the actio n to set
  54        */
  55       public  void setA ction(Stri ng action)
  56       {
  57           th is.action  = action;
  58       }
  59  
  60           /* *
  61            *  @see gov. va.med.ima ging.excha nge.busine ss.taglib. image.Abst ractImageP ropertyTag #getElemen tValue()
  62            * /
  63           @O verride
  64           pr otected St ring getEl ementValue () 
  65           th rows JspEx ception
  66           {
  67                    logg er.info("B uilding im age action  '" + getA ction() +  "', to hre f '" + sup er.getElem entValue()  + "'.");
  68                    Stri ngBuilder  elementVal ue = new S tringBuild er();
  69                    
  70                    elem entValue.a ppend(getA ction());
  71                    elem entValue.a ppend("('" );
  72                    elem entValue.a ppend(supe r.getEleme ntValue()) ;
  73                    elem entValue.a ppend("'); ");
  74  
  75                    retu rn element Value.toSt ring();
  76           }
  77   }