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

84.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\utils JAXBContextFactory.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\utils JAXBContextFactory.java Mon Apr 3 14:25:47 2017 UTC

84.2 Comparison summary

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

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

84.4 Active regular expressions

No regular expressions were active.

84.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.utils;
  2  
  3   /**
  4    *
  5    * @author         
JAINS
  6    */
  7   import jav a.util.Map ;
  8   import jav a.util.con current.Co ncurrentHa shMap;
  9  
  10   import jav ax.xml.bin d.JAXBCont ext;
  11   import jav ax.xml.bin d.JAXBExce ption;
  12  
  13   public cla ss JAXBCon textFactor y
  14   {
  15           pr ivate stat ic JAXBCon textFactor y instance  = new JAX BContextFa ctory();
  16  
  17           pr ivate stat ic final M ap<String,  JAXBConte xt> instan ces = new  Concurrent HashMap<St ring, JAXB Context>() ;
  18  
  19           pr ivate JAXB ContextFac tory()
  20           {
  21           }
  22  
  23           /* *
  24            *  Returns a n existing  JAXBConte xt if one  for the pa rticular n amespace
  25            *  exists, e lse it cre ates an in stance add s it to a  internal m ap.
  26            *  
  27            *  @param co ntextPath  the contex t path
  28            *  @throws J AXBExcepti on excepti on in crea ting conte xt
  29            *  @return a  created J AXBContext
  30            * /
  31           pu blic JAXBC ontext get JaxBContex t(final St ring conte xtPath) th rows JAXBE xception
  32           {
  33                    JAXB Context co ntext = in stances.ge t(contextP ath);
  34                    if(c ontext ==  null)
  35                    {
  36                             contex t = JAXBCo ntext.newI nstance(co ntextPath) ;
  37                             instan ces.put(co ntextPath,  context);
  38                    }
  39                    retu rn context ;
  40           }
  41  
  42           /* *
  43            *  Returns a n existing  JAXBConte xt if one  for the pa rticular n amespace
  44            *  exists, e lse it cre ates an in stance add s it to a  internal m ap.
  45            *  
  46            *  @param co ntextPath  the contex t path
  47            *  @throws J AXBExcepti on excepti on in crea ting conte xt
  48            *  @return a  created J AXBContext
  49            * /
  50           pu blic JAXBC ontext get JaxBContex t(final Cl ass contex tPath) thr ows JAXBEx ception
  51           {
  52                    JAXB Context co ntext = in stances.ge t(contextP ath.getNam e());
  53                    if(c ontext ==  null)
  54                    {
  55                             contex t = JAXBCo ntext.newI nstance(co ntextPath) ;
  56                             instan ces.put(co ntextPath. getName(),  context);
  57                    }
  58                    retu rn context ;
  59           }
  60  
  61           /* *
  62            *  Get insta nce.
  63            *  
  64            *  @return I nstance of  this fact ory
  65            * /
  66           pu blic stati c JAXBCont extFactory  getInstan ce()
  67           {
  68                    retu rn instanc e;
  69           }
  70   }