Mihai Glonț  committed c0f458e

Replaced deprecated ApplicationHolder with Holders.

  • Participants
  • Parent commits 6f9bb92
  • Branches master

Comments (0)

Files changed (2)

File grails-app/conf/spring/resources.groovy

 import grails.util.Environment
+import grails.util.Holders
 import java.util.concurrent.Executors
-import org.codehaus.groovy.grails.commons.ApplicationHolder
 // Place your Spring DSL code here
 beans = {
     xmlns aop: ""
-    def grailsApplication = ApplicationHolder.application
+    def grailsApplication = Holders.grailsApplication
     aop.config {
         // intercept all methods annotated with PostLogging annotation

File src/groovy/net/biomodels/jummp/search/UpdatedRepositoryListener.groovy

 		File location=new File(path)
-		System.out.println("USING ${location} for directory!")
+		System.out.println("USING ${location} for index directory!")
 		//Create instance of Directory where index files will be stored
 		Directory fsDirectory =;
 		/* Create instance of analyzer, which will be used to tokenize