62. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/5/2017 4:21:46 PM Central Daylight 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.

62.1 Files compared

# Location File Last Modified
1 C:\working_scrub\Unredacted\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterLIB\src\archive\java\gov\va\med\nhin\adapter\datamanager\translators XMLBeanEncoderDataTranslator.java Fri Feb 10 15:41:44 2017 UTC
2 eHX-CIF.zip\eHX-CIF\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterLIB\src\archive\java\gov\va\med\nhin\adapter\datamanager\translators XMLBeanEncoderDataTranslator.java Mon Apr 3 14:24:57 2017 UTC

62.2 Comparison summary

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

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

62.4 Active regular expressions

No regular expressions were active.

62.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.datamana ger.transl ators;
  2  
  3   import jav a.beans.XM LEncoder;
  4   import jav a.io.FileO utputStrea m;
  5   import jav a.io.IOExc eption;
  6  
  7   import gov .va.med.nh in.adapter .datamanag er.DataMan agerExcept ion;
  8   import gov .va.med.nh in.adapter .datamanag er.DataQue ry;
  9   import gov .va.med.nh in.adapter .datamanag er.DataTra nslator;
  10   import gov .va.med.nh in.adapter .datamanag er.Referen ce;
  11  
  12   /**
  13    *
  14    * @author   DN S      VAZQUD
  15    */
  16   public cla ss XMLBean EncoderDat aTranslato r implemen ts DataTra nslator
  17   {
  18           pu blic Objec t translat e(Object i nput, Obje ct result,  Reference  translati on, DataQu ery dataQu ery) throw s IOExcept ion {
  19                    File OutputStre am fos = n ull;
  20  
  21                    if(i nput != nu ll)
  22                    {
  23                             try
  24                             {
  25                                      String p ath = tran slation.ge tProperty( "path");
  26                                      fos = ne w FileOutp utStream(p ath);
  27  
  28                                      XMLEncod er xmlEnco der = new  XMLEncoder (fos);
  29                                      xmlEncod er.writeOb ject(input );
  30                                      xmlEncod er.close() ;
  31                             }
  32                             catch( Throwable  t)
  33                             {
  34                                      throw ne w DataMana gerExcepti on("An err or occurre d.", t);
  35                             }
  36                             finall y
  37                                      {
  38                                      if(fos ! = null)
  39                                               {
  40                                               fos.close( );
  41                                               }
  42                                      }
  43                    }
  44  
  45                    retu rn input;
  46           }
  47   }