136. EPMO Open Source Coordination Office Redaction File Detail Report

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

136.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\DicomCodecImpl\main\src\java\gov\va\med\imaging\dicom\dataelement DataElement_FD.java Mon Dec 4 21:34:54 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\DicomCodecImpl\main\src\java\gov\va\med\imaging\dicom\dataelement DataElement_FD.java Mon Dec 4 21:59:20 2017 UTC

136.2 Comparison summary

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

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

136.4 Active regular expressions

No regular expressions were active.

136.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: Aug  8, 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.dic om.dataele ment;
  25  
  26   import org .apache.lo gging.log4 j.Level;
  27  
  28   import gov .va.med.im aging.dico m.DataElem ent;
  29   import gov .va.med.im aging.dico m.DataElem entFactory ;
  30   import gov .va.med.im aging.dico m.DataElem entTag;
  31   import gov .va.med.im aging.dico m.ValueRep resentatio n;
  32   import gov .va.med.im aging.dico m.dictiona ry.DicomDi ctionaryEn try;
  33   import gov .va.med.im aging.dico m.exceptio ns.DicomFo rmatExcept ion;
  34   import gov .va.med.im aging.dico m.exceptio ns.ValueRe presentati onInterpre tationExce ption;
  35  
  36   /**
  37    * @author         
BECKEC
  38    *
  39    * Single  precision  binary flo ating poin t number r epresented  in IEEE 7 54:1985 
  40    * 32-bit  Floating P oint Numbe r Format.
  41    * 
  42    * @see ht tp://en.wi kipedia.or g/wiki/IEE E_754
  43    */
  44   public cla ss DataEle ment_FD 
  45   extends Da taElement< Double>
  46   {
  47           pr ivate Doub le value =  null;
  48           
  49           pu blic DataE lement_FD( DataElemen tFactory i nstantiati ngFactory,  DataEleme ntTag data ElementTag ,
  50                DicomDic tionaryEnt ry diction aryEntry,  long value Length, by te[] value
  51           th rows Dicom FormatExce ption
  52       {
  53                super(in stantiatin gFactory,  dataElemen tTag, dict ionaryEntr y, valueLe ngth, valu e);
  54       }
  55  
  56           pu blic DataE lement_FD( DataElemen tFactory i nstantiati ngFactory,  DataEleme ntTag data ElementTag ,
  57                ValueRep resentatio n explicit VRField, l ong valueL ength, byt e[] value)  
  58           th rows Dicom FormatExce ption
  59       {
  60                super(in stantiatin gFactory,  dataElemen tTag, expl icitVRFiel d, valueLe ngth, valu e);
  61       }
  62  
  63           @O verride
  64           pr otected vo id parseRa wValue() 
  65           th rows Value Representa tionInterp retationEx ception
  66       {
  67                    if(g etRawValue () == null )
  68                             value  = new Doub le(0);
  69                    
  70                    try
  71           {
  72                             long b its = getI nstantiati ngFactory( ).getTrans ferSyntaxU id().makeU nsignedLon gFrom8Byte s(getRawVa lue());
  73                             value  = new Doub le( Double .longBitsT oDouble(bi ts) );
  74           } 
  75                    catc h (Excepti on e)
  76           {
  77                             getLog ger().log( Level.WARN , "");
  78                             throw  new ValueR epresentat ionInterpr etationExc eption("Va lue '" + g etRawValue ()+ "' cou ld not be  interprete d as a Flo ating Poin t String") ;
  79           }
  80                
  81       }
  82  
  83           /* *
  84            *  @see gov. va.med.ima ging.dicom .DataEleme nt#getValu e()
  85            * /
  86           @O verride
  87           pu blic Doubl e getValue ()
  88           {
  89                    retu rn value;
  90           }
  91   }