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

147.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_FD.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_FD.java Mon Dec 4 21:59:33 2017 UTC

147.2 Comparison summary

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

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

147.4 Active regular expressions

No regular expressions were active.

147.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 _FD;
  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_FD  
  20   extends Ra wValuePars er<Double,  DataEleme nt_FD>
  21   {
  22  
  23       public  RawValueP arser_FD(D ataElement Factory fa ctory, Dat aElement_F D dataElem ent)
  24       {
  25           su per(factor y, dataEle ment);
  26       }
  27  
  28       @Overr ide
  29       public  void pars eRawValue(
  30       throws  DicomForm atExceptio n
  31       {
  32           if (getDataEl ement().ge tRawValue( ) == null)
  33                getDataE lement().s etValue( n ew Double( 0) );
  34           
  35           tr y
  36           {
  37                long bit s = Transf erSyntaxUi dUtility.m akeUnsigne dLongFrom8 Bytes(
  38                    getF actory().g etTransfer SyntaxUid( ).isLittle Endian(),  getDataEle ment().get RawValue()
  39                );
  40                getDataE lement().s etValue( n ew Double(  Double.lo ngBitsToDo uble(bits)  ) );
  41           } 
  42           ca tch (Excep tion e)
  43           {
  44                getLogge r().log(Le vel.WARN,  "");
  45                throw ne w ValueRep resentatio nInterpret ationExcep tion("Valu e '" + get DataElemen t().getRaw Value()+ " ' could no t be inter preted as  a Floating  Point Str ing");
  46           }
  47       }
  48   }