37919. EPMO Open Source Coordination Office Redaction File Detail Report

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

37919.1 Files compared

# Location File Last Modified
1 CCRS.zip\CCRS\PMPM-2.5.1.zip\PMPM-2.5.1-db98f2053b5f36f95a4e40e0a06f50f6e3a4883b\demo20180308 LoaderJig.java Fri Mar 30 18:22:39 2018 UTC
2 CCRS.zip\CCRS\PMPM-2.5.1.zip\PMPM-2.5.1-db98f2053b5f36f95a4e40e0a06f50f6e3a4883b\demo20180308 LoaderJig.java Tue Jun 19 17:15:01 2018 UTC

37919.2 Comparison summary

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

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

37919.4 Active regular expressions

No regular expressions were active.

37919.5 Comparison detail

  1   import jav a.io.File;
  2   import jav a.io.IOExc eption;
  3   import jav a.nio.file .Files;
  4   import jav a.nio.file .Paths;
  5  
  6   /**
  7    * A litte l jig to r un the inv oice loade r, for a d emo. Pass  to the rou tine the
  8    * name of  a file wh ich contai ns the sim ulated pay load.
  9    * 
  10    * @author  EricBurch
  11    *
  12    */
  13   public cla ss LoaderJ ig {
  14  
  15           pu blic stati c void mai n(String[]  args) {
  16  
  17                    try  {
  18                             if (ar gs.length  < 1) {
  19                                      System.o ut.println (" --- Ple ase supply  the name  of the PMP M test tex t file.");
  20                                      System.o ut.println (" --- opt ionally fo llow with  JDBC conne ction deta ils e.g. "
  21                                                        + "jdbc:sq lserver:// HOST: PORT ;databaseN ame=DBNAME ;user= AI ;password=
A I ;");
  22                                      return;
  23                             }
  24  
  25                             // ins tantiate a  loader ob ject
  26                             Invoic eLoader lo ader01 = n ew Invoice Loader();
  27  
  28                             // Set  a Documen t Referenc e and load ing userid . In the r eal system  get from  the
  29                             // env ironment a nd initial  JSON obje ct
  30                             loader 01.setDocR ef("DRtest " + System .currentTi meMillis() );
  31                             loader 01.setUpda teUserid(" UpdateUser Test");
  32                             
  33                             // Set  connectio n info for  JDBC, if  provided
  34                             if (ar gs.length  > 1)
  35                                      loader01 .setConnec tionUrl(ar gs[1]);
  36  
  37                             // Thi s calls th e method t o handle j ust a big  slug of da ta. Note t he preferr ed method
  38                             // of  handling t his is to  process on e line at  a time. (l oadInvoice Line)
  39                             System .out.print ln("Final  RC " + loa der01.load FullInvoic e(
  40                                               // "C:/a.V A_CCRS/a.1 803/CCN-Re gion1-2018 0205-20180 209.txt"
  41                                               Files.read AllLines(P aths.get(a rgs[0])))) ;
  42  
  43                             loader 01.closeSq lConnectio n();
  44  
  45                    } ca tch (IOExc eption e)  {
  46                             System .out.print ln("IOExce ption " +  e);
  47                             e.prin tStackTrac e();
  48                    }
  49  
  50           }
  51  
  52   }