Skip to content

Commit

Permalink
Add constructor for dependency injection
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Nov 12, 2024
1 parent 2c3076e commit 7f90626
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ import org.springframework.util.StringUtils
@CompileStatic
@TagLib
class RenderTagLib implements TagLibrary {

RenderTagLib(GroovyPagesTemplateRenderer groovyPagesTemplateRenderer, ErrorsViewStackTracePrinter errorsViewStackTracePrinter, CodecLookup codecLookup) {
this.groovyPagesTemplateRenderer = groovyPagesTemplateRenderer
this.errorsViewStackTracePrinter = errorsViewStackTracePrinter
this.codecLookup = codecLookup
}

GroovyPagesTemplateRenderer groovyPagesTemplateRenderer
ErrorsViewStackTracePrinter errorsViewStackTracePrinter
CodecLookup codecLookup
Expand Down

0 comments on commit 7f90626

Please sign in to comment.