4143. EPMO Open Source Coordination Office Redaction File Detail Report

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

4143.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:18 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-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt\stub\dao MailTemplateDAO.java Fri Apr 21 20:03:30 2017 UTC

4143.2 Comparison summary

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

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

4143.4 Active regular expressions

No regular expressions were active.

4143.5 Comparison detail

        1   package go v.va.nvap. svc.consen tmgmt.stub .dao;
        2  
        3   import gov .va.nvap.s vc.consent mgmt.stub. data.MailT emplate;
        4   import jav ax.persist ence.Entit yManager;
        5   import jav ax.persist ence.NoRes ultExcepti on;
        6   import jav ax.persist ence.Persi stenceCont ext;
        7   import jav ax.persist ence.Query ;
        8   import org .springfra mework.tra nsaction.a nnotation. Transactio nal;
        9  
        10   /**
        11    *
        12    * @since  06/02/2016
        13    * @author  Johann So nnenberg
        14    */
        15   public cla ss MailTem plateDAO {
        16  
        17       @Persi stenceCont ext
        18       privat e EntityMa nager em;
        19  
        20       public  void setE ntityManag er(EntityM anager ent ityManager ) {
        21           th is.em = en tityManage r;
        22       }
        23  
        24       @Trans actional
        25       public  MailTempl ate getByL etterType( Long lette rTypeId) {
        26           tr y {
        27                final Qu ery q = th is.em.crea teQuery("S ELECT fl F ROM MailTe mplate fl  WHERE fl.l etterTypeI d = :lette rTypeId");
        28                q.setPar ameter("le tterTypeId ", letterT ypeId);
        29                return ( MailTempla te) q.getS ingleResul t();
        30           }  catch (fin al NoResul tException  nre) {
        31                return n ull;
        32           }
        33       }
        34   }