4337. EPMO Open Source Coordination Office Redaction File Detail Report

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

4337.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:29 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\user User.java Fri Apr 21 20:15:58 2017 UTC

4337.2 Comparison summary

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

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

4337.4 Active regular expressions

No regular expressions were active.

4337.5 Comparison detail

        1   package go v.va.nvap. web.user;
        2  
        3   import jav a.util.Arr ayList;
        4   import jav a.util.Lis t;
        5  
        6   /**
        7    *
        8    * @author  Zack Pete rson
        9    */
        10   public cla ss User {
        11  
        12       privat e String n ame;
        13       privat e List<Str ing> roles ;
        14  
        15       public  User() {}
        16  
        17       public  User(Stri ng name) {
        18           th is.name =  name;
        19       }
        20  
        21       public  User(Stri ng name, L ist<String > roles) {
        22           th is.name =  name;
        23           th is.roles =  roles;
        24       }
        25  
        26       public  User(List <String> r oles) {
        27           th is.roles =  roles;
        28       }
        29  
        30       public  boolean h asName() {
        31           re turn !(nam e == null  || name.is Empty() ||  name.equa ls("null") );
        32       }
        33  
        34       public  boolean h asRole(Str ing roleNa me) {
        35           re turn roles  != null & & roles.co ntains(rol eName);
        36       }
        37  
        38       public  void addR ole(String  roleName)  {
        39           if  (roles ==  null) rol es = new A rrayList<> ();
        40  
        41           ro les.add(ro leName);
        42       }
        43  
        44       public  boolean h asRoles()  {
        45           re turn !(rol es == null  || roles. isEmpty()) ;
        46       }
        47  
        48       public  String ge tName() {
        49           re turn name;
        50       }
        51  
        52       public  void setN ame(String  name) {
        53           th is.name =  name;
        54       }
        55  
        56       public  List<Stri ng> getRol es() {
        57           re turn roles ;
        58       }
        59  
        60       public  void setR oles(List< String> ro les) {
        61           th is.roles =  roles;
        62       }
        63   }