3199. EPMO Open Source Coordination Office Redaction File Detail Report

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

3199.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:49:57 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\file FileUtil.java Fri Apr 21 20:03:26 2017 UTC

3199.2 Comparison summary

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

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

3199.4 Active regular expressions

No regular expressions were active.

3199.5 Comparison detail

        1   package go v.va.nvap. common.fil e;
        2  
        3   import jav a.io.Buffe redReader;
        4   import jav a.io.IOExc eption;
        5   import jav a.io.Input StreamRead er;
        6  
        7   import org .springfra mework.cor e.io.Resou rce;
        8  
        9   /**
        10    * @author  Asha Amri traj
        11    */
        12   public cla ss FileUti l {
        13  
        14           pu blic stati c String g etResource (final Res ource reso urce)
        15                             throws  IOExcepti on {
        16                    fina l StringBu ffer fileD ata = new  StringBuff er(1000);
        17                    fina l Buffered Reader rea der = new  BufferedRe ader(new I nputStream Reader(
        18                                      resource .getInputS tream()));
        19  
        20                    try{
        21                             char[]  buf = new  char[1024 ];
        22                             int nu mRead = 0;
        23                             while  ((numRead  = reader.r ead(buf))  != -1) {
        24                                      final St ring readD ata = Stri ng.valueOf (buf, 0, n umRead);
        25                                      fileData .append(re adData);
        26                                      buf = ne w char[102 4];
        27                             }
        28                    
        29                    } fi nally{
        30                             reader .close();
        31                    }
        32                    
        33                    retu rn fileDat a.toString ();
        34           }
        35  
        36           pr otected Fi leUtil() {
        37           }
        38   }