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

220.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 DataFileProcessStatistics.java Fri Dec 7 17:36:22 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\batchprocess DataFileProcessStatistics.java Wed Dec 12 22:26:41 2018 UTC

220.2 Comparison summary

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

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

220.4 Active regular expressions

No regular expressions were active.

220.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.Arr ayList;
  8   import jav a.util.Lis t;
  9   import jav a.util.Map ;
  10  
  11   import org .apache.co mmons.lang .StringUti ls;
  12   import org .apache.co mmons.lang .builder.T oStringBui lder;
  13  
  14   /**
  15    * Initial  javadoc f or class D ataFilePro cessStatis tics. TODO  - Add con tent here
  16    * 
  17    * Created  Feb 3, 20 06 1:49:05  PM
  18    * 
  19    * DNS
  20    */
  21   public cla ss DataFil eProcessSt atistics e xtends Pro cessStatis tics {
  22           /* *
  23            *  serialVer sionUID lo ng
  24            * /
  25           pr ivate stat ic final l ong serial VersionUID  = 8435464 6553032517 84L;
  26           pr ivate Stri ng process edFilePath ;
  27           pr ivate List  processed Files = ne w ArrayLis t();
  28  
  29           pr otected vo id buildTo String(ToS tringBuild er builder ) {
  30                    supe r.buildToS tring(buil der);
  31                    buil der.append ("processe dFilePath" , processe dFilePath) ;
  32                    buil der.append ("processe dFiles", p rocessedFi les);
  33           }
  34  
  35           /* *
  36            *  @return R eturns the  processed FilePath.
  37            * /
  38           pu blic Strin g getProce ssedFilePa th() {
  39                    retu rn process edFilePath ;
  40           }
  41  
  42           /* *
  43            *  @param pr ocessedFil ePath
  44            *              The proc essedFileP ath to set .
  45            * /
  46           pu blic void  setProcess edFilePath (String pr ocessedFil ePath) {
  47                    this .processed FilePath =  processed FilePath;
  48           }
  49  
  50           /* *
  51            *  @return R eturns the  processed Files.
  52            * /
  53           pu blic List  getProcess edFiles()  {
  54                    retu rn process edFiles;
  55           }
  56  
  57           /* *
  58            *  @param pr ocessedFil es
  59            *              The proc essedFiles  to set.
  60            * /
  61           pu blic void  setProcess edFiles(Li st process edFiles) {
  62                    this .processed Files = pr ocessedFil es;
  63           }
  64  
  65           /* *
  66            *  @param pr ocessedFil es
  67            *              The proc essedFiles  to set.
  68            * /
  69           pu blic void  addProcess edFile(Str ing proces sedFiles)  {
  70                    this .processed Files.add( processedF iles);
  71           }
  72  
  73           pu blic Map s tatsMap()  throws Exc eption {
  74                    Map  data = sup er.statsMa p();
  75                    if ( !processed Files.isEm pty())
  76                             data.p ut("proces sedFiles",  super.lis tAsString( getProcess edFiles()) );
  77                    else
  78                             data.r emove("pro cessedFile s");
  79                    retu rn data;
  80           }
  81  
  82           pr otected Ma p mapFromC SV(String  csv) {
  83                    Map  data = sup er.mapFrom CSV(csv);
  84                    Stri ng process FilesStr =  (String)  data.get(" processedF iles");
  85                    if ( StringUtil s.isNotBla nk(process FilesStr))
  86                             data.p ut("proces sedFiles",  super.lis tFromStrin g(processF ilesStr));
  87                    retu rn data;
  88           }
  89  
  90           pr otected vo id appendS tats(Proce ssStatisti cs stats)  {
  91                    this .setProces sedFilePat h(((DataFi leProcessS tatistics)  stats).ge tProcessed FilePath() );
  92                    this .getProces sedFiles() .addAll((( DataFilePr ocessStati stics) sta ts).getPro cessedFile s());
  93           }
  94   }