263. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/13/2018 10:35:27 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.

263.1 Files compared

# Location File Last Modified
1 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\mail ConfigurableMailService.java Fri Dec 7 17:36:18 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\mail ConfigurableMailService.java Wed Dec 12 19:46:45 2018 UTC

263.2 Comparison summary

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

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

263.4 Active regular expressions

No regular expressions were active.

263.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2004 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4   // Package
  5   package go v.va.med.f w.mail;
  6  
  7   // Java cl asses
  8   import jav a.io.Input Stream;
  9  
  10   import jav ax.mail.in ternet.Mim eMessage;
  11  
  12   import org .apache.co mmons.lang .Validate;
  13   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  14   import org .springfra mework.bea ns.factory .annotatio n.Qualifie r;
  15   import org .springfra mework.cor e.io.Resou rce;
  16   import org .springfra mework.mai l.MailExce ption;
  17   import org .springfra mework.mai l.SimpleMa ilMessage;
  18   import org .springfra mework.mai l.javamail .MimeMessa gePreparat or;
  19   import org .springfra mework.ste reotype.Se rvice;
  20  
  21   import gov .va.med.fw .service.A bstractCom ponent;
  22  
  23   /**
  24    * Allow f or injecti on of spec ific concr ete mail s ervice eit her synchr onous or
  25    * asynchr onous serv ice. This  service is  recommend ed to be u sed as a p ublic
  26    * interfa ce to appl ication se rvices. </ br>
  27    * 
  28    * Project : Framewor k</br> Cre ated on: 1 0:55:55 AM  </br>
  29    * 
  30    * @author   DN S
  31    */
  32   @Service
  33   public cla ss Configu rableMailS ervice ext ends Abstr actCompone nt impleme nts MailSe rvice {
  34  
  35           /* *
  36            *  An instan ce of seri alVersionU ID
  37            * /
  38           pr ivate stat ic final l ong serial VersionUID  = 8735063 9722574219 90L;
  39  
  40           /* *
  41            *  An instan ce of mail Service
  42            * /
  43           @A utowired
  44           @Q ualifier(" synchronou sMailServi ce")
  45           pr ivate Mail Service ma ilService  = null;
  46  
  47           /* *
  48            *  A default  construct or
  49            * /
  50           pu blic Confi gurableMai lService()  {
  51                    supe r();
  52           }
  53  
  54           /* *
  55            *  @param ma ilService
  56            *              The mail Service to  set.
  57            * /
  58           pu blic void  setMailSer vice(MailS ervice mai lService)  {
  59                    this .mailServi ce = mailS ervice;
  60           }
  61  
  62           /* *
  63            *  @see gov. va.med.fw. service.Ab stractComp onent#afte rPropertie sSet()
  64            * /
  65           pu blic void  afterPrope rtiesSet()  throws Ex ception {
  66                    supe r.afterPro pertiesSet ();
  67                    Vali date.notNu ll(this.ma ilService,  "A mail s ervice mus t be confi gured");
  68           }
  69  
  70           /* *
  71            *  @see org. springfram ework.mail .javamail. JavaMailSe nder#creat eMimeMessa ge()
  72            * /
  73           pu blic MimeM essage cre ateMimeMes sage() {
  74                    retu rn mailSer vice.creat eMimeMessa ge();
  75           }
  76  
  77           /* *
  78            *  @see org. springfram ework.mail .javamail. JavaMailSe nder#creat eMimeMessa ge(java.io .InputStre am)
  79            * /
  80           pu blic MimeM essage cre ateMimeMes sage(Input Stream arg 0) throws  MailExcept ion {
  81                    retu rn mailSer vice.creat eMimeMessa ge(arg0);
  82           }
  83  
  84           /* *
  85            *  @see org. springfram ework.mail .javamail. JavaMailSe nder#send( javax.mail .internet. MimeMessag e)
  86            * /
  87           pu blic void  send(MimeM essage arg 0) throws  MailExcept ion {
  88                    mail Service.se nd(arg0);
  89           }
  90  
  91           /* *
  92            *  @see org. springfram ework.mail .javamail. JavaMailSe nder#send( javax.mail .internet. MimeMessag e[])
  93            * /
  94           pu blic void  send(MimeM essage[] a rg0) throw s MailExce ption {
  95                    mail Service.se nd(arg0);
  96           }
  97  
  98           /* *
  99            *  @see org. springfram ework.mail .javamail. JavaMailSe nder#send( org.spring framework. mail.javam ail.MimeMe ssagePrepa rator)
  100            * /
  101           pu blic void  send(MimeM essagePrep arator arg 0) throws  MailExcept ion {
  102                    mail Service.se nd(arg0);
  103           }
  104  
  105           /* *
  106            *  @see org. springfram ework.mail .javamail. JavaMailSe nder#send( org.spring framework. mail.javam ail.MimeMe ssagePrepa rator[])
  107            * /
  108           pu blic void  send(MimeM essagePrep arator[] a rg0) throw s MailExce ption {
  109                    mail Service.se nd(arg0);
  110           }
  111  
  112           /* *
  113            *  @see org. springfram ework.mail .MailSende r#send(org .springfra mework.mai l.SimpleMa ilMessage)
  114            * /
  115           pu blic void  send(Simpl eMailMessa ge arg0) t hrows Mail Exception  {
  116                    mail Service.se nd(arg0);
  117           }
  118  
  119           /* *
  120            *  @see org. springfram ework.mail .MailSende r#send(org .springfra mework.mai l.SimpleMa ilMessage[ ])
  121            * /
  122           pu blic void  send(Simpl eMailMessa ge[] arg0)  throws Ma ilExceptio n {
  123                    mail Service.se nd(arg0);
  124           }
  125  
  126           /* *
  127            *  @see gov. va.med.fw. mail.MailS ervice#sen d(java.lan g.String,
  128            *       org. springfram ework.core .io.Resour ce,
  129            *       org. springfram ework.mail .SimpleMai lMessage)
  130            * /
  131           pu blic void  send(Strin g text, Re source res ource, Sim pleMailMes sage templ ate)
  132                             throws  MailExcep tion {
  133                    mail Service.se nd(text, r esource, t emplate);
  134           }
  135  
  136           /* *
  137            *  @see gov. va.med.fw. mail.MailS ervice#sen d(java.lan g.String,
  138            *       org. springfram ework.mail .SimpleMai lMessage)
  139            * /
  140           pu blic void  send(Strin g text, Si mpleMailMe ssage temp late) thro ws MailExc eption {
  141                    mail Service.se nd(text, t emplate);
  142           }
  143  
  144           /* *
  145            *  @see gov. va.med.fw. mail.MailS ervice#sen d(java.lan g.String,
  146            *       java .lang.Stri ng, org.sp ringframew ork.mail.S impleMailM essage)
  147            * /
  148           pu blic void  send(Strin g text, St ring attac hment, Sim pleMailMes sage templ ate)
  149                             throws  MailExcep tion {
  150                    mail Service.se nd(text, a ttachment,  template) ;
  151           }
  152  
  153           /* *
  154            *  @see gov. va.med.fw. mail.MailS ervice#sen d(java.lan g.String,
  155            *       org. springfram ework.core .io.Resour ce,
  156            *       org. springfram ework.mail .SimpleMai lMessage,  java.lang. String)
  157            * /
  158           pu blic void  send(Strin g text, Re source res ource, Sim pleMailMes sage templ ate, Strin g contentT ype)
  159                             throws  MailExcep tion {
  160                    mail Service.se nd(text, r esource, t emplate, c ontentType );
  161           }
  162   }