30108. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/20/2018 10:19:52 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.

30108.1 Files compared

# Location File Last Modified
1 CCRS.zip\CCRS\payments-v2.5.zip\payments-v2.4-e4342e6ef6c84caac2ac172b4ce21ddb6018fcb2\CCRSBaseHelper\src\main\java\gov\va\ccrs\helpers PropertiesHelper.java Tue Mar 27 01:11:52 2018 UTC
2 CCRS.zip\CCRS\payments-v2.5.zip\payments-v2.4-e4342e6ef6c84caac2ac172b4ce21ddb6018fcb2\CCRSBaseHelper\src\main\java\gov\va\ccrs\helpers PropertiesHelper.java Fri Jun 15 13:21:31 2018 UTC

30108.2 Comparison summary

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

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

30108.4 Active regular expressions

No regular expressions were active.

30108.5 Comparison detail

  1   package go v.va.ccrs. helpers;
  2  
  3   import jav a.io.IOExc eption;
  4   import jav a.io.Input Stream;
  5   import jav a.util.Pro perties;
  6  
  7   import org .apache.lo g4j.Level;
  8  
  9   /**
  10    * @author   PII
  11    *
  12    */
  13   public cla ss Propert iesHelper  {
  14  
  15       privat e static f inal Strin g PROPERTY _FILE_NAME  = "config .propertie s";
  16       privat e static P roperties  prop;
  17  
  18  
  19       privat e static v oid loadPr operties()  throws Ex ception {
  20           In putStream  input = nu ll;
  21           tr y {
  22               input = P ropertiesH elper.clas s.getClass Loader().g etResource AsStream(P ROPERTY_FI LE_NAME);
  23                if (inpu t == null)  {
  24                    thro w new Exce ption("Con figuration  File Not  found");
  25                }
  26                prop = n ew Propert ies();
  27                prop.loa d(input);
  28           }  catch (IOE xception e x) {
  29                throw ne w Exceptio n("Configu ration Fil e Not foun d");
  30           }  finally {
  31                if (inpu t != null)  {
  32                    try  {
  33                         input.clos e();
  34                    } ca tch (IOExc eption e)  {
  35                         LogHelper. Log(Level. ERROR, e);
  36                    }
  37                }
  38           }
  39       }
  40  
  41       public  static St ring getPr operty(Str ing proper tyName) th rows Excep tion{
  42           if (prop == n ull) loadP roperties( );
  43           re turn prop. getPropert y(property Name);
  44       }
  45   }