76. EPMO Open Source Coordination Office Redaction File Detail Report

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

76.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\main\java\gov\va\med\nhin\adapter\datamanager\translators FirstNotBlankDataTranslator.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\main\java\gov\va\med\nhin\adapter\datamanager\translators FirstNotBlankDataTranslator.java Mon Apr 3 14:25:37 2017 UTC

76.2 Comparison summary

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

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

76.4 Active regular expressions

No regular expressions were active.

76.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.datamana ger.transl ators;
  2  
  3   import gov .va.med.nh in.adapter .datamanag er.DataMan agerExcept ion;
  4   import gov .va.med.nh in.adapter .datamanag er.DataQue ry;
  5   import gov .va.med.nh in.adapter .datamanag er.DataTra nslator;
  6   import gov .va.med.nh in.adapter .datamanag er.Referen ce;
  7   import gov .va.med.nh in.adapter .utils.Nul lChecker;
  8  
  9   /**
  10    *
  11    * @author   DN S      VAZQUD
  12    */
  13   public cla ss FirstNo tBlankData Translator  implement s DataTran slator
  14   {
  15           pu blic Objec t translat e(Object i nput, Obje ct result,  Reference  translati on, DataQu ery dataQu ery)
  16           {
  17                    Obje ct ret = n ull;
  18                    Stri ng propert yNames = t ranslation .getProper ty("proper tyNames");
  19  
  20                    if(N ullChecker .isNullOrE mpty(prope rtyNames))
  21                    {
  22                             throw  new DataMa nagerExcep tion("proe rtyNames p roperty mu st be set. ");
  23                    }
  24  
  25                    for( String pro pertyName  : property Names.spli t(","))
  26                    {
  27                             Object  value = t ranslation .getValue( propertyNa me);
  28                             if(Nul lChecker.i sNotNullOr Empty(valu e))
  29                             {
  30                                      ret = va lue;
  31                                      break;
  32                             }
  33                    }
  34  
  35                    retu rn ret;
  36           }
  37   }