Produced by Araxis Merge on 9/15/2018 10:48: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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-data\src\main\java\gov\va\med\mhv\usermgmt\converter | ActivityListConverter.java | Thu Aug 23 20:25:32 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-data\src\main\java\gov\va\med\mhv\usermgmt\converter | ActivityListConverter.java | Sat Sep 15 22:48:37 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 68 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | /** | |
| 2 | * | |
| 3 | */ | |
| 4 | package go v.va.med.m hv.usermgm t.converte r; | |
| 5 | ||
| 6 | import jav a.util.Arr ayList; | |
| 7 | import jav a.util.Lis t; | |
| 8 | ||
| 9 | import org .springfra mework.bea ns.factory .annotatio n.Autowire d; | |
| 10 | import org .springfra mework.cor e.convert. converter. Converter; | |
| 11 | import org .springfra mework.ste reotype.Co mponent; | |
| 12 | ||
| 13 | import gov .va.med.mh v.usermgmt .common.dt o.Activity DTO; | |
| 14 | import gov .va.med.mh v.usermgmt .data.mode l.Activity ; | |
| 15 | ||
| 16 | /** | |
| 17 | * @author DNS | |
| 18 | * | |
| 19 | */ | |
| 20 | @Component | |
| 21 | public cla ss Activit yListConve rter imple ments Conv erter<List <Activity> , List<Act ivityDTO>> { | |
| 22 | ||
| 23 | @A utowired | |
| 24 | pr ivate Acti vityConver ter activi tyConverte r; | |
| 25 | ||
| 26 | @O verride | |
| 27 | pu blic List< ActivityDT O> convert (List<Acti vity> sour ce) { | |
| 28 | ||
| 29 | List <ActivityD TO> destin ation = ne w ArrayLis t<Activity DTO>(); | |
| 30 | for( Activity a : source) { | |
| 31 | destin ation.add( this.activ ityConvert er.convert (a)); | |
| 32 | } | |
| 33 | retu rn destina tion; | |
| 34 | } | |
| 35 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.