3220. EPMO Open Source Coordination Office Redaction File Detail Report

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

3220.1 Files compared

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

3220.2 Comparison summary

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

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

3220.4 Active regular expressions

No regular expressions were active.

3220.5 Comparison detail

        1   package go v.va.nvap. common.tra nsformer.s tring;
        2  
        3   import gov .va.nvap.c ommon.tran sformer.Tr ansformer;
        4   import gov .va.nvap.c ommon.tran sformer.Tr ansformerE xception;
        5   import gov .va.nvap.c ommon.vali dation.Nul lChecker;
        6  
        7   import jav a.util.Has hMap;
        8   import jav a.util.Map ;
        9   import jav a.util.Set ;
        10  
        11   import org .springfra mework.bea ns.factory .annotatio n.Required ;
        12  
        13   public cla ss Collect ionTransfo rmer imple ments
        14                    Tran sformer<St ring, Map< String, Ob ject>> {
        15  
        16           pr ivate Map< String, Tr ansformer< String, Ob ject>> tra nsformers;
        17  
        18           @R equired
        19           pu blic void  setTransfo rmers(
        20                             final  Map<String , Transfor mer<String , Object>>  transform ers) {
        21                    this .transform ers = tran sformers;
        22           }
        23  
        24           @O verride
        25           pu blic Map<S tring, Obj ect> trans form(final  String sr c)
        26                             throws  Transform erExceptio n {
        27                    fina l Set<Stri ng> keySet  = this.tr ansformers .keySet();
        28  
        29                    if ( NullChecke r.isEmpty( src)) {
        30                             return  null;
        31                    }
        32  
        33                    fina l Map<Stri ng, Object > property Map = new  HashMap<St ring, Obje ct>();
        34                    for  (final Str ing key :  keySet) {
        35  
        36                             final  Transforme r<String,  Object> tr ansformer  = this.tra nsformers
        37                                               .get(key);
        38                             final  Object val ue = trans former.tra nsform(src );
        39                             proper tyMap.put( key, value );
        40                    }
        41                    retu rn propert yMap;
        42           }
        43   }