4. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/8/2018 10:11:21 AM 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.

4.1 Files compared

# Location File Last Modified
1 PRE_PPS-N_v3.0.1.zip\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\email RichEmail.java Fri Jan 12 15:43:14 2018 UTC
2 PRE_PPS-N_v3.0.1.zip\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\email RichEmail.java Tue Mar 6 18:34:46 2018 UTC

4.2 Comparison summary

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

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

4.4 Active regular expressions

No regular expressions were active.

4.5 Comparison detail

  1   package go v.va.med.p harmacy.pe ps.common. email;
  2  
  3   import jav a.util.Arr ays;
  4  
  5  
  6   /**
  7    * @author       DNS
  8    * @versio n 1.0
  9    * 
  10    * This cl ass differ s from the  email cla ss in term s of attac hments. Th at class i s mainly f or 
  11    * populat ing email  object for  sending e mail witho ut attachm ent. 
  12    *
  13    */
  14   public cla ss RichEma il extends  Email{
  15           
  16       
  17           
  18           pr ivate Stri ng senderE nvironment ; //env li ke test, p rod etc.
  19           pr ivate Stri ng attachm entPath; / / location  to look f or attachm ent
  20           pr ivate Stri ng attachm entName; / / name of  the file t o be attac hed e.g. s omereport. xls, somer eport.xlsx , somerepo rt.cvs etc .
  21           
  22                    
  23           pu blic Strin g getSende rEnvironme nt() {
  24                    retu rn senderE nvironment ;
  25           }
  26           pu blic void  setSenderE nvironment (String se nderEnviro nment) {
  27                    this .senderEnv ironment =  senderEnv ironment;
  28           }
  29           pu blic Strin g getAttac hmentPath( ) {
  30                    retu rn attachm entPath;
  31           }
  32           pu blic void  setAttachm entPath(St ring attac hmentPath)  {
  33                    this .attachmen tPath = at tachmentPa th;
  34           }
  35           pu blic Strin g getAttac hmentName( ) {
  36                    retu rn attachm entName;
  37           }
  38           pu blic void  setAttachm entName(St ring attac hmentName)  {
  39                    this .attachmen tName = at tachmentNa me;
  40           }
  41       
  42           
  43           //  for loggi ng purpose s. usage r ichEmailOb j.toString () after p opulating  the object .
  44           @O verride
  45           pu blic Strin g toString () {
  46                    retu rn "RichEm ailBean [t o=" + Arra ys.toStrin g(super.to ) +
  47                            ", cc="  + Arrays. toString(c c) +
  48                            ", from =" + from  +
  49                            ", subj ect=" + su bject +
  50                            ", emai lMessage="  + emailMe ssage +
  51                            ", send erEnvironm ent=" + se nderEnviro nment +
  52                            ", atta chmentPath =" + attac hmentPath  +
  53                            ", atta chmentName =" + attac hmentName  + "]";
  54           }
  55      
  56   }