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

3245.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 SaxonTransformerFactoryImpl.java Fri Apr 21 20:03:26 2017 UTC

3245.2 Comparison summary

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

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

3245.4 Active regular expressions

No regular expressions were active.

3245.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 SaxonTr ansformerF actoryImpl  extends
        22                    net. sf.saxon.T ransformer FactoryImp l implemen ts Transfo rmerFactor y {
        23  
        24           /* *
        25            *  The cache  of templa tes.
        26            * /
        27           pr ivate fina l Hashtabl e<String,  Templates>  templates Cache = ne w Hashtabl e<String,  Templates> ();
        28  
        29           @O verride
        30           pu blic final  Templates  newTempla tes(final  URL url)
        31                             throws  Transform erConfigur ationExcep tion {
        32                    if ( this.templ atesCache. containsKe y(url.getP ath())) {
        33                             return  this.temp latesCache .get(url.g etPath());
        34                    }
        35                    Stre amSource s ource = nu ll;
        36                    Inpu tStream is  = null;
        37                    try  {
        38                             is = u rl.openStr eam();
        39                             source  = new Str eamSource( is);
        40                    } ca tch (final  IOExcepti on ex) {
        41                             throw  new Transf ormerConfi gurationEx ception(ex );
        42                    }
        43                    fina l Template s template s = super. newTemplat es(source) ;
        44                    try  {
        45                             is.clo se();
        46                    } ca tch (final  IOExcepti on ex) {
        47                             throw  new Transf ormerConfi gurationEx ception(ex );
        48                    }
        49                    if ( templates  == null) {
        50                             throw  new Runtim eException (
        51                                               "Failed to  create te mplates fo r styleshe et "
        52                                                                + ur l.getPath( ));
        53                    }
        54  
        55                    this .templates Cache.put( url.getPat h(), templ ates);
        56                    retu rn templat es;
        57           }
        58  
        59           @O verride
        60           pu blic final  Transform er newTran sformer()
        61                             throws  Transform erConfigur ationExcep tion {
        62                    retu rn super.n ewTransfor mer();
        63           }
        64  
        65           @O verride
        66           pu blic final  void setU RIResolver (final Cla sspathURLR esolver re solver) {
        67                    supe r.setURIRe solver(res olver);
        68           }
        69   }