193. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/11/2019 10:54:13 AM 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.

193.1 Files compared

# Location File Last Modified
1 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\persistent\hibernate QueryAndParams.java Wed May 29 15:26:04 2019 UTC
2 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\persistent\hibernate QueryAndParams.java Mon Jun 10 19:19:45 2019 UTC

193.2 Comparison summary

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

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

193.4 Active regular expressions

No regular expressions were active.

193.5 Comparison detail

  1   package go v.va.med.f w.persiste nt.hiberna te;
  2  
  3   import jav a.util.Has hMap;
  4   import jav a.util.Map ;
  5  
  6   /**
  7    * Simple  class cont aining bot h a query  (intended  to contain  named par ameters)
  8    * and a m apping of  parameters  to their  respective  values wh ich will b e used in
  9    * the que ry.
  10    * 
  11    * @author   DNS
  12    * 
  13    */
  14   public cla ss QueryAn dParams {
  15  
  16           //  --------- ---------- -------- F ields
  17  
  18           pr ivate Stri ngBuilder  query = ne w StringBu ilder();
  19           pr ivate Map< String, Ob ject> para ms = new H ashMap<Str ing, Objec t>();
  20  
  21           //  --------- ---------- -------- C onstructor s
  22  
  23           pu blic Query AndParams( ) {
  24           }
  25  
  26           pu blic Query AndParams( String que ry) {
  27                    this .query.app end(query) ;
  28           }
  29  
  30           pu blic Query AndParams( String que ry, Map<St ring, Obje ct> params ) {
  31                    this (query);
  32                    this .params =  params;
  33           }
  34  
  35           //  --------- ---------- -------- B usiness Me thods
  36  
  37           pu blic Query AndParams  addParam(S tring s, O bject o) {
  38                    para ms.put(s,  o);
  39                    retu rn this;
  40           }
  41  
  42           pu blic Query AndParams  addParams( Map<String , Object>  newParams)  {
  43                    para ms.putAll( newParams) ;
  44                    retu rn this;
  45           }
  46  
  47           pu blic Query AndParams  append(Str ing s) {
  48                    quer y.append(s );
  49                    retu rn this;
  50           }
  51  
  52           //  --------- ---------- -------- A ccessor Me thods
  53  
  54           pu blic Strin g getQuery () {
  55                    retu rn query.t oString();
  56           }
  57  
  58           pu blic Map<S tring, Obj ect> getPa rams() {
  59                    retu rn params;
  60           }
  61  
  62   }