94. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/27/2018 2:59:10 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.

94.1 Files compared

# Location File Last Modified
1 v2.0_Sprint_15_Build_5.zip\v2.0_Sprint_15_Build_5\Unredacted\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\service\impl ArchiveServiceImpl.java Tue Apr 24 14:50:45 2018 UTC
2 v2.0_Sprint_15_Build_5..zip\v2.0_Sprint_15_Build_5\Unredacted\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\service\impl ArchiveServiceImpl.java Thu Apr 26 16:05:20 2018 UTC

94.2 Comparison summary

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

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

94.4 Active regular expressions

No regular expressions were active.

94.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.a rs.service .impl;
  5  
  6   import org .apache.lo gging.log4 j.LogManag er;
  7   import org .apache.lo gging.log4 j.Logger;
  8   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  9   import org .springfra mework.ste reotype.Se rvice;
  10  
  11   import gov .va.med.ar s.dao.ars. IClaimAtta chmentsVie wRepositor y;
  12   import gov .va.med.ar s.service. IArchiveSe rvice;
  13   import gov .va.med.do main.ars.C laimattach mentsView;
  14  
  15   /**
  16    * @author   PI I
  17    *
  18    */
  19   @Service
  20   public cla ss Archive ServiceImp l implemen ts IArchiv eService {
  21           
  22           pr ivate stat ic final L ogger logg er = LogMa nager.getL ogger(Arch iveService Impl.class );
  23  
  24           @A utowired
  25           IC laimAttach mentsViewR epository  iClaimAtta chmentsVie wRepositor y;
  26  
  27           /*  (non-Java doc)
  28            *  @see gov. va.med.ars .service.I ArchiveSer vice#archi veAttachme ntId()
  29            * /
  30           @O verride
  31           pu blic boole an archive Attachment Id(long at tachmentId ) {
  32                    bool ean isArch ived = fal se;
  33                    Clai mattachmen tsView cla imAttachmn etsView =  iClaimAtta chmentsVie wRepositor y.findOne( attachment Id);
  34                    if(c laimAttach mnetsView  != null) {
  35                             claimA ttachmnets View.setAt tachmentMo ved(1);
  36                             iClaim Attachment sViewRepos itory.save (claimAtta chmnetsVie w);
  37                             isArch ived = tru e;
  38                    } el se {
  39                             logger .info("Err or occured  as there  is no data  in Claim  Attachment s View tab le with th e Attachme nt Id: "+a ttachmentI d);
  40                    }
  41                    retu rn isArchi ved;
  42           }
  43  
  44   }