108. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/20/2017 5:56:12 PM Eastern Standard 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.

108.1 Files compared

# Location File Last Modified
1 Genisis_2.0_v6_bld6.zip\Source Code\UI\Services\src\main\java\gov\va\genisis2\converter UserTypeConverter.java Thu Dec 14 19:57:07 2017 UTC
2 Genisis_2.0_v6_bld6.zip\Source Code\UI\Services\src\main\java\gov\va\genisis2\converter UserTypeConverter.java Wed Dec 20 22:11:01 2017 UTC

108.2 Comparison summary

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

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

108.4 Active regular expressions

No regular expressions were active.

108.5 Comparison detail

  1   package go v.va.genis is2.conver ter;
  2  
  3   import org .springfra mework.cor e.convert. converter. Converter;
  4   import org .springfra mework.ste reotype.Co mponent;
  5  
  6   import gov .va.genisi s2.dto.Use rTypeDTO;
  7   import gov .va.genisi s2.model.U serType;
  8  
  9   /**
  10    * This cl ass is use d to conve rt UserTyp eDTO to Us erType ent ity and vi ce-versa.
  11    * 
  12    * @author  P II
  13    *
  14    */
  15   @Component
  16   public cla ss UserTyp eConverter  implement s Converte r<UserType , UserType DTO> {
  17  
  18           @O verride
  19           pu blic UserT ypeDTO con vert(UserT ype userTy pe) {
  20                    User TypeDTO us erTypeDto  = new User TypeDTO();
  21  
  22                    user TypeDto.se tUserTypeI d(userType .getUserTy peId());
  23                    user TypeDto.se tUserTypeD esc(userTy pe.getUser TypeDesc() );
  24  
  25                    retu rn userTyp eDto;
  26           }
  27  
  28           pu blic UserT ype conver t(UserType DTO userTy peDto) {
  29                    User Type userT ype = new  UserType() ;
  30  
  31                    user Type.setUs erTypeId(u serTypeDto .getUserTy peId());
  32                    user Type.setUs erTypeDesc (userTypeD to.getUser TypeDesc() );
  33  
  34                    retu rn userTyp e;
  35           }
  36   }