9. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/8/2017 1:33:39 PM Central 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.

9.1 Files compared

# Location File Last Modified
1 PC_CP4_CiF.zip\FPPS_Backend\fpps_app\src\main\java\gov\va\med\fee\util GeneratePageNumbers.java Fri Dec 8 17:53:56 2017 UTC
2 PC_CP4_CiF.zip\FPPS_Backend\fpps_app\src\main\java\gov\va\med\fee\util GeneratePageNumbers.java Fri Dec 8 18:29:40 2017 UTC

9.2 Comparison summary

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

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

9.4 Active regular expressions

No regular expressions were active.

9.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.f ee.util;
  5  
  6   import gov .va.med.fe e.model.re quest.Clai mRequest;
  7  
  8   /**
  9    * @author  
D NS     GANGAV
  10    *
  11    */
  12   public cla ss Generat ePageNumbe rs {
  13  
  14           in t currentU pperLimit;
  15           in t currentL owerLimit;
  16  
  17           pu blic Gener atePageNum bers() {
  18                    supe r();
  19                    // T ODO Auto-g enerated c onstructor  stub
  20           }
  21  
  22           pu blic Gener atePageNum bers(int c urrentUppe rLimit, in t currentL owerLimit)  {
  23                    supe r();
  24                    this .currentUp perLimit =  currentUp perLimit;
  25                    this .currentLo werLimit =  currentLo werLimit;
  26           }
  27  
  28           pu blic int g etCurrentU pperLimit( ) {
  29                    retu rn current UpperLimit ;
  30           }
  31  
  32           pu blic void  setCurrent UpperLimit (int curre ntUpperLim it) {
  33                    this .currentUp perLimit =  currentUp perLimit;
  34           }
  35  
  36           pu blic int g etCurrentL owerLimit( ) {
  37                    retu rn current LowerLimit ;
  38           }
  39  
  40           pu blic void  setCurrent LowerLimit (int curre ntLowerLim it) {
  41                    this .currentLo werLimit =  currentLo werLimit;
  42           }
  43  
  44           pu blic void  calculateP ageNumbers s(Integer  pageSize,  Integer pa geNumber)  {
  45                    /*in t currentU pperLimit  = 0;
  46                    int  currentLow erLimit =  0;*/
  47                    if ( (pageSize  != null) & & (pageNum ber != nul l) && page Number.int Value() >=  1) {
  48  
  49                             setCur rentUpperL imit(pageS ize.intVal ue() * pag eNumber.in tValue());
  50                             setCur rentLowerL imit(curre ntUpperLim it - pageS ize.intVal ue());
  51                    }
  52           }
  53  
  54           /*
  55            *  public Ge neratePage Numbers(Cl aimRequest  claimRequ est) { //  TODO
  56            *  Auto-gene rated cons tructor st ub }
  57            *  
  58            *  private < T extends  Number> T[ ] calculat ePageNumbe rs(T...arg s) { int
  59            *  currentUp perLimit =  0; int cu rrentLower Limit = 0;  if((args[ 0] != null ) &&
  60            *  (args[1]  != null) & & args[1]. intValue()  >= 1) { c urrentUppe rLimit =
  61            *  args[0].i ntValue()  * args[1]. intValue() ; currentL owerLimit  =
  62            *  currentUp perLimit -  args[0].i ntValue();  }
  63            *  
  64            *  return ar gs;
  65            *  
  66            *  }
  67            *  
  68            *  Object[]  array;
  69            *  
  70            *  public Ob ject[] get Array() {  return arr ay; }
  71            *  
  72            *  public vo id setArra y(Object[]  array) {  this.array  = array;  }
  73            *  
  74            *  public Ob ject[] cal culatePage Numbers(Ob ject[] arr ay) {
  75            *  
  76            *  int curre ntUpperLim it = 0; in t currentL owerLimit  = 0; if((a rray[0] !=
  77            *  null) &&  (array[1]  != null) & & (int) ar ray[1] >=  1) { curre ntUpperLim it =
  78            *  (int) arr ay[0] * (i nt) array[ 1]; curren tLowerLimi t = curren tUpperLimi t -
  79            *  (int) arr ay[0]; }
  80            *  
  81            *  array[0]  = currentU pperLimit;  array[1]  = currentL owerLimit;
  82            *  
  83            *  return ar ray; }
  84            *  
  85            *  public Ob ject[] cal culatePage Numberss(I nteger pag eSize, Int eger
  86            *  pageNumbe r) { int c urrentUppe rLimit = 0 ; int curr entLowerLi mit = 0; i f
  87            *  ((pageSiz e != null)  && (pageN umber != n ull) && pa geNumber.i ntValue()  >=
  88            *  1) {
  89            *  
  90            *  currentUp perLimit =  pageSize. intValue()  * pageNum ber.intVal ue();
  91            *  currentLo werLimit =  currentUp perLimit -  pageSize. intValue() ; array[0]  =
  92            *  currentUp perLimit;  array[1] =  currentLo werLimit;  } return a rray; }
  93            * /
  94  
  95   }