110. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/1/2018 12:13:18 PM Central Standard 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.

110.1 Files compared

# Location File Last Modified
1 ehealth_xchange_cif.zip\NHIN_adapter\AdapterSubscriptionServiceWEB\src\main\java\gov\va\med\nhin\adapter\subscription\web\proxy\provider\binary InMemoryBinaryProvider.java Thu Feb 22 14:27:20 2018 UTC
2 ehealth_xchange_cif.zip\NHIN_adapter\AdapterSubscriptionServiceWEB\src\main\java\gov\va\med\nhin\adapter\subscription\web\proxy\provider\binary InMemoryBinaryProvider.java Tue Feb 27 14:30:11 2018 UTC

110.2 Comparison summary

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

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

110.4 Active regular expressions

No regular expressions were active.

110.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.med.n hin.adapte r.subscrip tion.web.p roxy.provi der.binary ;
  7  
  8   import gov .va.med.nh in.adapter .subscript ion.web.da o.InMemory DAO;
  9   import jav ax.enterpr ise.contex t.Applicat ionScoped;
  10   import jav ax.enterpr ise.inject .Alternati ve;
  11   import jav ax.inject. Named;
  12   import org .hl7.fhir. dstu3.mode l.Binary;
  13   import org .hl7.fhir. dstu3.mode l.IdType;
  14  
  15   /**
  16    *
  17    * @author   DN S      VAZQUD
  18    */
  19   @Named("In MemoryBina ryProvider ")
  20   @Applicati onScoped()
  21   @Alternati ve()
  22   public cla ss InMemor yBinaryPro vider impl ements Bin aryProvide r
  23   {
  24       privat e InMemory DAO<Binary > inMemory DAO = new  InMemoryDA O<>();
  25       
  26       @Overr ide
  27       public  Long crea te(Binary  resource)
  28       {
  29           Bi naryProvid er.super.c reate(reso urce);
  30           re turn inMem oryDAO.sto re(resourc e);
  31       }
  32  
  33       @Overr ide
  34       public  Binary re ad(Long id )
  35       {
  36           re turn inMem oryDAO.fin dByID(id);
  37       }
  38  
  39       @Overr ide
  40       public  Binary re ad(IdType  id)
  41       {
  42           re turn inMem oryDAO.fin dByResourc eID(id.get IdPart());
  43       }
  44  
  45       @Overr ide
  46       public  void upda te(Long id , Binary r esource)
  47       {
  48           Bi naryProvid er.super.u pdate(id,  resource);
  49           in MemoryDAO. update(id,  resource) ;
  50       }
  51  
  52       @Overr ide
  53       public  Binary de lete(Long  id)
  54       {
  55           re turn inMem oryDAO.del ete(id);
  56       }
  57   }