12. EPMO Open Source Coordination Office Redaction File Detail Report

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

12.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\configuration\spring SpringAppInitializer.java Wed Mar 27 19:22:44 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\configuration\spring SpringAppInitializer.java Thu Mar 28 17:50:38 2019 UTC

12.2 Comparison summary

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

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

12.4 Active regular expressions

No regular expressions were active.

12.5 Comparison detail

  1   package go v.va.med.a rs.configu ration.spr ing;
  2  
  3   import jav ax.servlet .Filter;
  4  
  5   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  6   import org .springfra mework.cor e.env.Envi ronment;
  7   import org .springfra mework.web .WebApplic ationIniti alizer;
  8   import org .springfra mework.web .servlet.s upport.Abs tractAnnot ationConfi gDispatche rServletIn itializer;
  9  
  10   import gov .va.med.ar s.configur ation.AppC onfig;
  11   import gov .va.med.ar s.filter.C ORSFilter;
  12  
  13   /**
  14    * @author  
D NS     GANGAV
  15    *
  16    */
  17  
  18   public cla ss SpringA ppInitiali zer extend s Abstract Annotation ConfigDisp atcherServ letInitial izer imple ments WebA pplication Initialize r{
  19  
  20           @O verride
  21           pr otected Cl ass<?>[] g etRootConf igClasses( ) {
  22                    // T ODO Auto-g enerated m ethod stub
  23                    retu rn new Cla ss<?>[] {A ppConfig.c lass};
  24           }
  25  
  26           //  TBD - if  the app do es not wor k we need  to add the  WebMvcCon figuration
  27           @O verride
  28           pr otected Cl ass<?>[] g etServletC onfigClass es() {
  29                    // T ODO Auto-g enerated m ethod stub
  30                    retu rn new Cla ss<?>[] {S pringMvcCo nfig.class };
  31           }
  32  
  33           @O verride
  34           pr otected St ring[] get ServletMap pings() {
  35                    // T ODO Auto-g enerated m ethod stub
  36                    retu rn new Str ing[] {"/" };
  37           }
  38           
  39           @O verride
  40           pr otected Fi lter[] get ServletFil ters() {
  41                    retu rn new Fil ter[] { ne w CORSFilt er()};
  42           }
  43           
  44           
  45           @A utowired
  46           pr ivate Envi ronment en v;
  47           
  48   /*      @O verride
  49           pu blic void  onStartup( ServletCon text servl etContext)  throws Se rvletExcep tion {
  50                    supe r.onStartu p(servletC ontext);
  51                    serv letContext .setInitPa rameter("s pring.prof iles.activ e", env.ge tProperty( "spring.pr ofiles.act ive"));
  52                    Syst em.out.pri ntln("Deve lopment pr ofile has  been set"+ env.getPro perty("spr ing.profil es.active" ));
  53           }* /
  54   }