3913. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:50: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.

3913.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:50:58 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\main\java\gov\va\nvap\server\service\privacy\emailer EmailBean.java Fri Apr 21 20:03:28 2017 UTC

3913.2 Comparison summary

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

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

3913.4 Active regular expressions

No regular expressions were active.

3913.5 Comparison detail

        1   package go v.va.nvap. server.ser vice.priva cy.emailer ;
        2  
        3   import jav a.io.IOExc eption;
        4   import jav a.io.Input Stream;
        5   import jav a.util.Pro perties;
        6  
        7   public cla ss EmailBe an {
        8           pu blic Strin g subject;
        9           pu blic Strin g body;
        10           pu blic Strin g from;
        11           pu blic Strin g host;
        12           pu blic Strin g username ;
        13           pu blic Strin g password ;
        14           pu blic Strin g port;
        15           pu blic Strin g link;
        16           pr ivate stat ic EmailBe an emailBe an;
        17           
        18           
        19           pr ivate Emai lBean(){
        20                    Prop erties pro ps = new P roperties( );
        21                    Stri ng fileNam e = "email .propertie s";
        22                    Inpu tStream in putStream  = null;
        23                    try  {
        24                             inputS tream = ge tClass().g etClassLoa der().getR esourceAsS tream(file Name);
        25                             props. load(input Stream);
        26                    } ca tch (IOExc eption e)  {
        27                             // TOD O Auto-gen erated cat ch block
        28                             e.prin tStackTrac e();
        29                    }fin ally {
        30                if (inpu tStream !=  null) {
        31                    try  {
        32                             inputS tream.clos e();
        33                             } catc h (IOExcep tion e) {
        34                                      // TODO  Auto-gener ated catch  block
        35                                      e.printS tackTrace( );
        36                             }
        37  
        38                }
        39           }
        40                    setS ubject(pro ps.getProp erty("emai l.subject" ));
        41                    setB ody(props. getPropert y("email.b ody"));
        42                    setF rom(props. getPropert y("email.f rom"));
        43                    setH ost(props. getPropert y("email.h ost"));
        44                    setU sername(pr ops.getPro perty("ema il.usernam e"));
        45                    setP assword(pr ops.getPro perty("ema il.passwor d"));
        46                    setP ort(props. getPropert y("email.p ort"));
        47                    setL ink(props. getPropert y("email.l ink"));
        48           }
        49           
        50           pu blic stati c synchron ized Email Bean  getI nstance(){              
        51                    if (  emailBean  == null ) {
        52                             emailB ean = new  EmailBean( );
        53                    }
        54                    retu rn emailBe an;
        55           }
        56           
        57           
        58           pu blic Strin g getSubje ct() {
        59                    retu rn subject ;
        60           }
        61  
        62           pu blic void  setSubject (String su bject) {
        63                    this .subject =  subject;
        64           }
        65  
        66           pu blic Strin g getBody( ) {
        67                    retu rn body;
        68           }
        69  
        70           pu blic void  setBody(St ring body)  {
        71                    this .body = bo dy;
        72           }
        73  
        74           pu blic Strin g getFrom( ) {
        75                    retu rn from;
        76           }
        77           
        78           pu blic void  setFrom(St ring from)  {
        79                    this .from = fr om;
        80           }
        81           
        82           pu blic Strin g getHost( ) {
        83                    retu rn host;
        84           }
        85           pu blic void  setHost(St ring host)  {
        86                    this .host = ho st;
        87           }
        88           pu blic Strin g getUsern ame() {
        89                    retu rn usernam e;
        90           }
        91           pu blic void  setUsernam e(String u sername) {
        92                    this .username  = username ;
        93           }
        94           pu blic Strin g getPassw ord() {
        95                    retu rn passwor d;
        96           }
        97           pu blic void  setPasswor d(String p assword) {
        98                    this .password  = password ;
        99           }
        100           pu blic Strin g getPort( ) {
        101                    retu rn port;
        102           }
        103           pu blic void  setPort(St ring port)  {
        104                    this .port = po rt;
        105           }
        106           pu blic Strin g getLink( ) {
        107                    retu rn link;
        108           }
        109           pu blic void  setLink(St ring link)  {
        110                    this .link = li nk;
        111           }
        112           
        113   }