3247. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:49:59 PM Eastern 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.

3247.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:49:59 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-common\src\main\java\gov\va\nvap\common\xsl XalanTransformerFactoryImpl.java Fri Apr 21 20:03:26 2017 UTC

3247.2 Comparison summary

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

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

3247.4 Active regular expressions

No regular expressions were active.

3247.5 Comparison detail

        1   package go v.va.nvap. common.xsl ;
        2  
        3   import jav a.io.IOExc eption;
        4   import jav a.io.Input Stream;
        5   import jav a.net.URL;
        6   import jav a.util.Has htable;
        7  
        8   import jav ax.xml.tra nsform.Tem plates;
        9   import jav ax.xml.tra nsform.Tra nsformer;
        10   import jav ax.xml.tra nsform.Tra nsformerCo nfiguratio nException ;
        11   import jav ax.xml.tra nsform.str eam.Stream Source;
        12  
        13   import org .springfra mework.con text.annot ation.Conf iguration;
        14  
        15   /**
        16    * A defau lt SAXON f actory for  XSL trans former fac tory.
        17    * 
        18    * @author  Asha Amri traj
        19    */
        20   @Configura tion
        21   public cla ss XalanTr ansformerF actoryImpl  extends
        22                    org. apache.xal an.process or.Transfo rmerFactor yImpl impl ements
        23                    Tran sformerFac tory {
        24  
        25           /* *
        26            *  The cache  of templa tes.
        27            * /
        28           pr ivate fina l Hashtabl e<String,  Templates>  templates Cache = ne w Hashtabl e<String,  Templates> ();
        29  
        30           @O verride
        31           pu blic final  Templates  newTempla tes(final  URL url)
        32                             throws  Transform erConfigur ationExcep tion {
        33                    if ( this.templ atesCache. containsKe y(url.getP ath())) {
        34                             return  this.temp latesCache .get(url.g etPath());
        35                    }
        36                    Stre amSource s ource = nu ll;
        37                    Inpu tStream is  = null;
        38                    try  {
        39                             is = u rl.openStr eam();
        40                             source  = new Str eamSource( is);
        41                    } ca tch (final  IOExcepti on ex) {
        42                             throw  new Transf ormerConfi gurationEx ception(ex );
        43                    }
        44                    fina l Template s template s = super. newTemplat es(source) ;
        45                    try  {
        46                             is.clo se();
        47                    } ca tch (final  IOExcepti on ex) {
        48                             throw  new Transf ormerConfi gurationEx ception(ex );
        49                    }
        50                    if ( templates  == null) {
        51                             throw  new Runtim eException (
        52                                               "Failed to  create te mplates fo r styleshe et "
        53                                                                + ur l.getPath( ));
        54                    }
        55  
        56                    this .templates Cache.put( url.getPat h(), templ ates);
        57                    retu rn templat es;
        58           }
        59  
        60           @O verride
        61           pu blic final  Transform er newTran sformer()
        62                             throws  Transform erConfigur ationExcep tion {
        63                    retu rn super.n ewTransfor mer();
        64           }
        65  
        66           @O verride
        67           pu blic final  void setU RIResolver (final Cla sspathURLR esolver re solver) {
        68                    supe r.setURIRe solver(res olver);
        69           }
        70   }