17. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/11/2017 8:05:37 AM Central 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.

17.1 Files compared

# Location File Last Modified
1 MHV_CIF_2017.4.0.0.zip\MHV_CIF_2017.4.0.0\MHV_CIF_2017.4.0.0\mhv_source\mhv_calendar\mhv-calendar-portal-portlet\src\main\java\gov\va\med\mhv\calendar\web\controller TableController.java Mon Jul 24 21:04:40 2017 UTC
2 MHV_CIF_2017.4.0.0.zip\MHV_CIF_2017.4.0.0\MHV_CIF_2017.4.0.0\mhv_source\mhv_calendar\mhv-calendar-portal-portlet\src\main\java\gov\va\med\mhv\calendar\web\controller TableController.java Thu Sep 7 18:54:54 2017 UTC

17.2 Comparison summary

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

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

17.4 Active regular expressions

No regular expressions were active.

17.5 Comparison detail

  1   package go v.va.med.m hv.calenda r.web.cont roller;
  2  
  3   import jav ax.faces.b ean.Manage dBean;
  4   import jav ax.faces.b ean.Reques tScoped;
  5   import jav ax.faces.c ontext.Fac esContext;
  6  
  7   import org .primeface s.componen t.datatabl e.DataTabl e;
  8  
  9   /**
  10    * This Co ntroller a cts as a u tility to  lookup tab les on the  server vi a EL expre ssion.  Th e last ref erence is  cached
  11    * as an o ptimizatio n.  If a n ew referen ce is requ ested, it  clears the  previous  reference  and replac es it.  Fo r
  12    * request s that use  just 1 ta ble, this  is much mo re perform ant.  Most  important ly, this c ontroller  is Request Scoped.
  13    * This wi ll elimina te the ses sion-table  binding t hat is tri ggering th e defect i n producti on where C PU spins o ut of
  14    * control .
  15    * 
  16    * @author   DN S      HODGEJ
  17    *
  18    */
  19   @ManagedBe an(name="t ableContro ller")
  20   @RequestSc oped
  21   public cla ss TableCo ntroller {
  22           
  23           Da taTable ta ble = null ;
  24           St ring refer ence = nul l;
  25           
  26           pu blic DataT able table (String ta bleReferen ce) {
  27                    if ( table == n ull || !ta bleReferen ce.equals( reference) ) {
  28                             refere nce = tabl eReference ;
  29                             table  = (DataTab le) FacesC ontext.get CurrentIns tance().ge tViewRoot( ).findComp onent(tabl eReference );
  30                    }
  31                    retu rn table;
  32           }
  33   }