123. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/10/2017 1:01:46 PM 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.

123.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\MIXConnection\main\src\java\gov\va\med\imaging\url\mix Handler.java Thu Jun 29 17:22:08 2017 UTC
2 C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\MIXConnection\main\src\java\gov\va\med\imaging\url\mix Handler.java Thu Jul 6 15:04:20 2017 UTC

123.2 Comparison summary

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

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

123.4 Active regular expressions

No regular expressions were active.

123.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: Nov  7, 2016
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:     DNS  TITTOC
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.url .mix;
  27  
  28   import gov .va.med.im aging.url. mix.MIXCon nection;
  29  
  30   import jav a.io.IOExc eption;
  31   import jav a.net.Malf ormedURLEx ception;
  32   import jav a.net.URL;
  33   import jav a.net.URLC onnection;
  34   import jav a.net.URLS treamHandl er;
  35  
  36   /**
  37    * @author  vacotitto c
  38    *
  39    */
  40   public cla ss Handler  
  41   extends UR LStreamHan dler 
  42   {
  43           
  44           pu blic stati c final St ring proto colScheme  = "mix"; 
  45  
  46           /*  (non-Java doc)
  47            *  @see java .net.URLSt reamHandle r#openConn ection(jav a.net.URL)
  48            * /
  49           @O verride
  50           pr otected UR LConnectio n openConn ection(URL  url) 
  51           th rows IOExc eption 
  52           {
  53                    if(u rl == null )
  54                             throw  new Malfor medURLExce ption("Nul l URL pass ed to MIX  URLStreamH andler.ope nConnectio n()");
  55                    
  56                    if(u rl.getProt ocol() ==  null)
  57                             throw  new Malfor medURLExce ption("Nul l protocol  in URL pa ssed to MI X URLStrea mHandler.o penConnect ion()");
  58                    if(u rl.getHost () == null )
  59                             throw  new Malfor medURLExce ption("Nul l host in  URL passed  to MIX UR LStreamHan dler.openC onnection( )");
  60                    if(! protocolSc heme.equal s(url.getP rotocol())  )
  61                             throw  new Malfor medURLExce ption("Uns upported p rotocol '"  + url.get Protocol()  + 
  62                                               "' passed  to MIX URL StreamHand ler.openCo nnection() ");
  63                    
  64                    retu rn new MIX Connection (url);
  65           }
  66  
  67   }