Skip to content

Commit

Permalink
Apache Groovy 4 compiler improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Feb 6, 2024
1 parent 40390b8 commit 9237191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class GroovyPageCompiler {
compilerConfig.setSourceEncoding(encoding)
ExecutorService threadPool = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors()*2)
CompletionService completionService = new ExecutorCompletionService(threadPool);
List<Future<Map>> futures = []
List<Future<?>> futures = []
try {
Integer collationLevel = Runtime.getRuntime().availableProcessors()*2
if(srcFiles.size() < collationLevel) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import grails.plugins.DefaultGrailsPluginManager
import grails.plugins.metadata.GrailsPlugin
import grails.util.GrailsUtil
import grails.util.GrailsWebMockUtil
import groovy.xml.XmlSlurper
import org.grails.core.io.SimpleMapResourceLoader
import org.grails.gsp.compiler.GroovyPageParser
import org.grails.gsp.io.GroovyPageCompiledScriptSource
Expand Down

0 comments on commit 9237191

Please sign in to comment.