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-main\src\main\java\gov\va\med\mhv\usermgmt\main\service\converter | DirectMessageDTOConverter.java | Thu Aug 23 20:55:38 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-main\src\main\java\gov\va\med\mhv\usermgmt\main\service\converter | DirectMessageDTOConverter.java | Sat Sep 15 22:56:16 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 66 |
| 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.main.ser vice.conve rter; | |
| 5 | ||
| 6 | import jav a.util.Dat e; | |
| 7 | ||
| 8 | import org .springfra mework.cor e.convert. converter. Converter; | |
| 9 | ||
| 10 | import gov .va.med.mh v.usermgmt .common.dt o.DirectMe ssageDTO; | |
| 11 | import gov .va.med.mh v.usermgmt .data.mode l.DirectMe ssage; | |
| 12 | ||
| 13 | /** | |
| 14 | * @author DNS | |
| 15 | * | |
| 16 | */ | |
| 17 | public cla ss DirectM essageDTOC onverter i mplements Converter< DirectMess age, Direc tMessageDT O> { | |
| 18 | ||
| 19 | @O verride | |
| 20 | pu blic Direc tMessageDT O convert( DirectMess age src) { | |
| 21 | Dire ctMessageD TO dest = new Direct MessageDTO (); | |
| 22 | ||
| 23 | dest .setCreate dDate(src. getCreated Date() != null ? new Date(src. getCreated Date().get Time()) : null); | |
| 24 | dest .setDirect MessageId( src.getDir ectMessage Id()); | |
| 25 | dest .setDirect MessageSta tus(src.ge tDirectMes sageStatus ()); | |
| 26 | dest .setMessag eId(src.ge tMessageId ()); | |
| 27 | dest .setModifi edDate(src .getModifi edDate() ! = null ? n ew Date(sr c.getModif iedDate(). getTime()) : null); | |
| 28 | dest .setSentTo EmailAddre ss(src.get SentToEmai lAddress() ); | |
| 29 | dest .setUserPr ofileId(sr c.getUserP rofileId() ); | |
| 30 | ||
| 31 | retu rn dest; | |
| 32 | } | |
| 33 | ||
| 34 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.