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 | DirectMessageConverter.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 | DirectMessageConverter.java | Sat Sep 15 22:56:08 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 72 |
| 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 | package go v.va.med.m hv.usermgm t.main.ser vice.conve rter; | |
| 2 | ||
| 3 | import jav a.sql.Time stamp; | |
| 4 | ||
| 5 | import org .springfra mework.cor e.convert. converter. Converter; | |
| 6 | ||
| 7 | import gov .va.med.mh v.usermgmt .common.dt o.DirectMe ssageDTO; | |
| 8 | import gov .va.med.mh v.usermgmt .data.mode l.DirectMe ssage; | |
| 9 | ||
| 10 | /** | |
| 11 | * | |
| 12 | */ | |
| 13 | ||
| 14 | /** | |
| 15 | * @author DNS | |
| 16 | * | |
| 17 | */ | |
| 18 | public cla ss DirectM essageConv erter impl ements | |
| 19 | Conv erter<Dire ctMessageD TO, Direct Message> { | |
| 20 | ||
| 21 | @O verride | |
| 22 | pu blic Direc tMessage c onvert(Dir ectMessage DTO src) { | |
| 23 | Dire ctMessage dest = new DirectMes sage(); | |
| 24 | ||
| 25 | dest .setCreate dDate(src. getCreated Date() != null ? new Timestamp (src.getCr eatedDate( ).getTime( )) : new T imestamp(S ystem.curr entTimeMil lis())); | |
| 26 | dest .setDirect MessageId( src.getDir ectMessage Id()); | |
| 27 | dest .setDirect MessageSta tus(src.ge tDirectMes sageStatus ()); | |
| 28 | dest .setMessag eId(src.ge tMessageId ()); | |
| 29 | dest .setModifi edDate(src .getModifi edDate() ! = null ? n ew Timesta mp(src.get ModifiedDa te().getTi me()) : nu ll); | |
| 30 | dest .setOplock (1); | |
| 31 | dest .setSentTo EmailAddre ss(src.get SentToEmai lAddress() ); | |
| 32 | dest .setUserPr ofileId(sr c.getUserP rofileId() ); | |
| 33 | ||
| 34 | retu rn dest; | |
| 35 | } | |
| 36 | ||
| 37 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.