202. EPMO Open Source Coordination Office Redaction File Detail Report

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

202.1 Files compared

# Location File Last Modified
1 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\batchprocess AbstractDataFileIncrementalProcess.java Fri Dec 7 17:36:24 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\batchprocess AbstractDataFileIncrementalProcess.java Wed Dec 12 22:26:41 2018 UTC

202.2 Comparison summary

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

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

202.4 Active regular expressions

No regular expressions were active.

202.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2005 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4  
  5   package go v.va.med.f w.batchpro cess;
  6  
  7   import jav a.util.Lis t;
  8  
  9   import gov .va.med.fw .util.Inva lidConfigu rationExce ption;
  10  
  11   /**
  12    * Special ization of  AbstractD ataFileLis tenerProce ss that al lows for r ecord
  13    * process ing in fix ed increme nts at a t ime, rathe r than the  entire Li st of data
  14    * at once .
  15    * 
  16    * Created  Feb 2, 20 06 4:15:50  PM
  17    * 
  18    * DNS
  19    */
  20   public abs tract clas s Abstract DataFileIn crementalP rocess ext ends Abstr actDataFil eListenerP rocess {
  21           pr ivate int  incrementS ize = 25;  // default  is 25 at  a time
  22  
  23           //  can be ov erriden by  subclasse s
  24           pu blic boole an acceptD ata(DataFi leProcessE xecutionCo ntext cont ext, Strin g nextRowR awData,
  25                             List b eans) {
  26                    retu rn beans.s ize() == i ncrementSi ze;
  27           }
  28  
  29           pu blic void  afterPrope rtiesSet()  {
  30                    supe r.afterPro pertiesSet ();
  31                    if ( incrementS ize <= 0)
  32                             throw  new Invali dConfigura tionExcept ion(
  33                                               "Invalid i ncrementSi ze.  Must  be positiv e number") ;
  34           }
  35  
  36           /* *
  37            *  @return R eturns the  increment Size.
  38            * /
  39           pu blic int g etIncremen tSize() {
  40                    retu rn increme ntSize;
  41           }
  42  
  43           /* *
  44            *  @param in crementSiz e
  45            *              The incr ementSize  to set.
  46            * /
  47           pu blic void  setIncreme ntSize(int  increment Size) {
  48                    this .increment Size = inc rementSize ;
  49           }
  50  
  51           pr otected bo olean shou ldUpdateJo bResult(Da taFileProc essExecuti onContext  context) {
  52                    retu rn context .getProces sStatistic s().isTota lNumberMod (increment Size);
  53           }
  54   }