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

148.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\DicomServiceProvider\main\src\java\gov\va\med\imaging\dicom\parser\impl\rawvalueparsers RawValueParser_FL.java Mon Dec 4 21:35:30 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\DicomServiceProvider\main\src\java\gov\va\med\imaging\dicom\parser\impl\rawvalueparsers RawValueParser_FL.java Mon Dec 4 21:59:34 2017 UTC

148.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 96
Changed 1 2
Inserted 0 0
Removed 0 0

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

148.4 Active regular expressions

No regular expressions were active.

148.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.i maging.dic om.parser. impl.rawva lueparsers ;
  5  
  6   import org .apache.lo gging.log4 j.Level;
  7  
  8   import gov .va.med.im aging.dico m.dataset. elements.D ataElement _FL;
  9   import gov .va.med.im aging.dico m.exceptio ns.DicomFo rmatExcept ion;
  10   import gov .va.med.im aging.dico m.exceptio ns.ValueRe presentati onInterpre tationExce ption;
  11   import gov .va.med.im aging.dico m.parser.i mpl.DataEl ementFacto ry;
  12   import gov .va.med.im aging.dico m.parser.i mpl.RawVal ueParser;
  13   import gov .va.med.im aging.dico m.parser.i mpl.Transf erSyntaxUi dUtility;
  14  
  15   /**
  16    * @author         
BECKEC
  17    *
  18    */
  19   public cla ss RawValu eParser_FL  
  20   extends Ra wValuePars er<Float,  DataElemen t_FL>
  21   {
  22  
  23       public  RawValueP arser_FL(D ataElement Factory fa ctory, Dat aElement_F L dataElem ent)
  24       {
  25           su per(factor y, dataEle ment);
  26       }
  27  
  28       @Overr ide
  29       public  void pars eRawValue( ) throws D icomFormat Exception
  30       {
  31           if (getDataEl ement().ge tRawValue( ) == null  || getData Element(). getRawValu e().length  == 0)
  32                getDataE lement().s etValue( n ew Float(0 ) );
  33           el se
  34           {
  35                try
  36                {
  37                    getD ataElement ().setValu e( Transfe rSyntaxUid Utility.ma keFloatFro m4Bytes(
  38                             getFac tory().get TransferSy ntaxUid(). isLittleEn dian(),
  39                             getDat aElement() .getRawVal ue()) );
  40                } 
  41                catch (E xception e )
  42                {
  43                    getL ogger().lo g(Level.WA RN, "");
  44                    thro w new Valu eRepresent ationInter pretationE xception(" Value '" +  getRawVal ueCharacte rRepresent ation(getD ataElement ())+ "' co uld not be  interpret ed as a Fl oating Poi nt String" );
  45                }
  46           }        
  47       }
  48  
  49   }