4349. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:51:30 PM Eastern 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.

4349.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:30 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-web\src\main\java\gov\va\nvap\web\util Debugger.java Fri Apr 21 20:03:30 2017 UTC

4349.2 Comparison summary

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

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

4349.4 Active regular expressions

No regular expressions were active.

4349.5 Comparison detail

        1   /*
        2    * To chan ge this li cense head er, choose  License H eaders in  Project Pr operties.
        3    * To chan ge this te mplate fil e, choose  Tools | Te mplates
        4    * and ope n the temp late in th e editor.
        5    */
        6   package go v.va.nvap. web.util;
        7  
        8   import gov .va.nvap.c ommon.vali dation.Nul lChecker;
        9   import jav a.io.IOExc eption;
        10   import jav ax.servlet .ServletEx ception;
        11   import jav ax.servlet .http.Http ServletReq uest;
        12   import jav ax.servlet .http.Http ServletRes ponse;
        13   import jav ax.servlet .http.Http Session;
        14  
        15   /**
        16    *
        17    * @author  Johann So nnenberg
        18    */
        19   public cla ss Debugge r extends  gov.va.nva p.web.app. ResponseDi spatcherHt tpServlet{
        20       
        21       @Overr ide
        22           pu blic void  unspecifie d(final Ht tpServletR equest req uest, fina l HttpServ letRespons e response ) throws S ervletExce ption, IOE xception {
        23                    fina l HttpSess ion sessio n = reques t.getSessi on(false);
        24           
        25           fi nal String  debug = r equest.get Parameter( "debug");
        26           se ssion.setA ttribute(" debug", fa lse); //de fault it t o false
        27           
        28           if (!NullChec ker.isNull OrEmpty(de bug)) { 
        29                //we hav e the debu g value
        30                if("true ".equals(d ebug)) { / /the value  of the UR L param is  "true" wh ich will t urn ON the  "develope r" view of  the error  handling  for this s ession
        31                    sess ion.setAtt ribute("de bug", true );
        32                }
        33                
        34                if("fals e".equals( debug)) {  //the valu e of the U RL param i s "false"  which will  turn OFF  the "devel oper" view  of the er ror handli ng for thi s session
        35                    sess ion.setAtt ribute("de bug", fals e);
        36                }
        37           }
        38           
        39           // send to us er to a sc reen that  tells them  what the  debug sett ing is set  to
        40           th is.forward (request,  response,  "show");
        41           }
        42   }