65. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/2/2019 1:06:55 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.

65.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\service\impl PdiRelatedAttachmentsServiceImpl.java Wed Mar 27 19:22:42 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\service\impl PdiRelatedAttachmentsServiceImpl.java Thu Mar 28 17:50:54 2019 UTC

65.2 Comparison summary

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

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

65.4 Active regular expressions

No regular expressions were active.

65.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.a rs.service .impl;
  5  
  6   import jav a.util.Arr ayList;
  7   import jav a.util.Arr ays;
  8   import jav a.util.Lis t;
  9  
  10   import org .apache.co mmons.lang .StringUti ls;
  11   import org .apache.lo gging.log4 j.LogManag er;
  12   import org .apache.lo gging.log4 j.Logger;
  13   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  14   import org .springfra mework.ste reotype.Se rvice;
  15  
  16   import gov .va.med.ar s.dao.ars. IPdiRelate dInfoRepos itory;
  17   import gov .va.med.ar s.model.re sponse.Pdi RelatedInf oResponse;
  18   import gov .va.med.ar s.service. IPdiRelate dAttachmen tsService;
  19   import gov .va.med.ar s.util.IPd iRelatedIn fo;
  20  
  21   /**
  22    * @author  
D NS     GANGAV
  23    *
  24    */
  25   @Service
  26   public cla ss PdiRela tedAttachm entsServic eImpl impl ements IPd iRelatedAt tachmentsS ervice {
  27  
  28           pr ivate stat ic final L ogger logg er = LogMa nager.getL ogger(PdiR elatedAtta chmentsSer viceImpl.c lass);
  29  
  30           @A utowired
  31           IP diRelatedI nfoReposit ory pdiRel atedReposi tory;
  32  
  33           @O verride
  34           pu blic List< PdiRelated InfoRespon se> getPdi RelatedAtt achments(S tring pdiN umber) {
  35                    List <PdiRelate dInfoRespo nse> pdiRe latedRespo nseList =  null;
  36                    PdiR elatedInfo Response p diRelatedR esponse =  null;
  37                    if ( StringUtil s.isNumeri c(pdiNumbe r) && pdiN umber.leng th() == 15 ) {
  38                             pdiRel atedRespon seList = n ew ArrayLi st<>();
  39                             logger .info("pdi   number t o hit the  database i s: " + pdi Number);
  40                             List<I PdiRelated Info> pdiR elatedInfo  = pdiRela tedReposit ory.getPdi Details(pd iNumber);
  41                             logger .info("pdi RelatedInf o response  from pdiR elatedRepo sitory.get PdiDetails () is: "
  42                                               + pdiRelat edInfo.toS tring());
  43                             if (pd iRelatedIn fo.size()  > 0) {
  44                                      logger.i nfo(pdiRel atedInfo.g et(0).getA ttachmentI d());
  45                                      for (IPd iRelatedIn fo pdiRela tedInfoRes ponse : pd iRelatedIn fo) {
  46                                               pdiRelated Response =  new PdiRe latedInfoR esponse(se tPathAddes s(pdiRelat edInfoResp onse.getAt tachmentPa th()),
  47                                                                pdiR elatedInfo Response.g etAttachme ntId(), pd iRelatedIn foResponse .getReport Code(),
  48                                                                pdiR elatedInfo Response.g etReportCo deDescript ion());
  49                                               pdiRelated ResponseLi st.add(pdi RelatedRes ponse);
  50                                      }
  51                             } else  {
  52                                      return p diRelatedR esponseLis t;
  53                             }
  54                    }
  55                    retu rn pdiRela tedRespons eList;
  56           }
  57           
  58           pr ivate List <String> s etPathAdde ss(String  multiplePa thAddress)  {
  59                    List <String> p athAddress  = Arrays. asList(mul tiplePathA ddress.spl it("<"));
  60                    logg er.info("S PLIT PATHS  : " + pat hAddress.t oString()) ;
  61                    retu rn pathAdd ress;
  62           }
  63   }