3. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 2/7/2017 12:14:05 PM 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.

3.1 Files compared

# Location File Last Modified
1 cpss.zip\cpss\src\main\java\gov\va\cpss\dao\impl CBSStmtReplacedItemPreparedStatementSetter.java Wed Feb 1 21:07:28 2017 UTC
2 cpss.zip\cpss\src\main\java\gov\va\cpss\dao\impl CBSStmtReplacedItemPreparedStatementSetter.java Fri Feb 3 20:29:19 2017 UTC

3.2 Comparison summary

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

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

3.4 Active regular expressions

No regular expressions were active.

3.5 Comparison detail

  1   package go v.va.cpss. dao.impl;
  2  
  3   import jav a.sql.Prep aredStatem ent;
  4   import jav a.sql.SQLE xception;
  5  
  6   import org .apache.lo g4j.Logger ;
  7   import org .springfra mework.bat ch.item.da tabase.Ite mPreparedS tatementSe tter;
  8  
  9   import gov .va.cpss.m odel.Proce ssStatus;
  10   import gov .va.cpss.s ervice.Cbs Service;
  11  
  12   /**
  13    * Custom  ItemPrepar edStatemen tSetter fo r JdbcBatc hItemWrite r to set v alues in
  14    * prepare d statemen t for batc h data to  update a C BSStmt to  replaced s tatus.
  15    * 
  16    * @author   DN S      P II
  17    */
  18   public cla ss CBSStmt ReplacedIt emPrepared StatementS etter impl ements Ite mPreparedS tatementSe tter<Long>  {
  19  
  20           pr ivate fina l Logger s etterLogge r;
  21  
  22           pr ivate CbsS ervice cbs Service;
  23  
  24           pu blic CBSSt mtReplaced ItemPrepar edStatemen tSetter()  {
  25                    sett erLogger =  Logger.ge tLogger(th is.getClas s().getCan onicalName ());
  26           }
  27  
  28           pu blic CbsSe rvice getC bsService( ) {
  29                    retu rn cbsServ ice;
  30           }
  31  
  32           pu blic void  setCbsServ ice(CbsSer vice cbsSe rvice) {
  33                    this .cbsServic e = cbsSer vice;
  34           }
  35  
  36           @O verride
  37           pu blic void  setValues( Long arg0,  PreparedS tatement a rg1) throw s SQLExcep tion {
  38  
  39                    sett erLogger.d ebug("Sett ing values  to update  CBSStmt s tatus to r eplaced ro w");
  40  
  41                    arg1 .setInt(1,  cbsServic e.getProce ssStatusDA O().getSta tusFromEnu m(ProcessS tatus.Stat us.REPLACE D));
  42                    arg1 .setLong(2 , arg0);
  43           }
  44  
  45   }