4353. EPMO Open Source Coordination Office Redaction File Detail Report

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

4353.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:30 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-web\src\main\java\gov\va\nvap\web\util TestData.java Fri Apr 21 20:03:30 2017 UTC

4353.2 Comparison summary

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

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

4353.4 Active regular expressions

No regular expressions were active.

4353.5 Comparison detail

        1   package go v.va.nvap. web.util;
        2  
        3  
        4   import gov .va.nvap.w eb.consent .audit.Aud itedConsen t;
        5  
        6   import jav a.util.Arr ayList;
        7   import jav a.util.Lis t;
        8  
        9  
        10   /**
        11    * @author  Stephen T  Miller
        12    */
        13   public cla ss TestDat a {
        14  
        15           pu blic TestD ata() {
        16  
        17           }
        18  
        19           pu blic List< AuditedCon sent> excl udeTestDat a(
        20                             List<A uditedCons ent> audit edConsentL ist) {
        21                    //no  test data  allowed
        22                    List <AuditedCo nsent> ret urnList =  new ArrayL ist<Audite dConsent>( );
        23                    for( AuditedCon sent ac:au ditedConse ntList){
        24                             if(!th is.isTestE ntry(ac)){
        25                                      returnLi st.add(ac) ;
        26                             }
        27                    }
        28                    retu rn returnL ist;
        29           }
        30  
        31           pu blic List< AuditedCon sent> ensu reTestData (
        32                             List<A uditedCons ent> audit edConsentL ist) {
        33                    //on ly test da ta should  be allowed  in the re turn list
        34                    List <AuditedCo nsent> ret urnList =  new ArrayL ist<Audite dConsent>( );
        35                    for( AuditedCon sent ac:au ditedConse ntList){
        36                             if(thi s.isTestEn try(ac)){
        37                                      returnLi st.add(ac) ;
        38                             }
        39                    }
        40                    retu rn returnL ist;
        41           }
        42  
        43           pr ivate bool ean isTest Entry      (AuditedCo nsent test ){
        44                    Stri ng last =  test.getPa tientLastN ame();
        45                    Stri ng ssn = t est.getPat ientSsn();
        46                    Stri ng ssnAbr3  = ssn.sub string(0,2 ); //first  three
        47                    Stri ng ssnAbr8  = ssn.sub string(0,  7);
        48                    if(( last.conta ins("ZZZ")  || last.c ontains("z zz") ||      last.con tains("tes t") || las t.contains ("TEST"))  &&
        49                                      (ssnAbr3 .equals("6 66") || ss nAbr8.equa ls("000000 00"))){
        50                             return  true;
        51                    }
        52                    retu rn false;
        53           }
        54           
        55   }