Skip to content

Commit

Permalink
Potential initialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Nov 12, 2024
1 parent bea4f33 commit 0deaf7b
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ import org.springframework.util.StringUtils
@TagLib
class RenderTagLib implements TagLibrary {

RenderTagLib() {}

@Autowired
RenderTagLib(GroovyPagesTemplateRenderer groovyPagesTemplateRenderer, @Autowired(required = false) ErrorsViewStackTracePrinter errorsViewStackTracePrinter, CodecLookup codecLookup) {
this.groovyPagesTemplateRenderer = groovyPagesTemplateRenderer
this.errorsViewStackTracePrinter = errorsViewStackTracePrinter
this.codecLookup = codecLookup
}
// RenderTagLib() {}
//
// @Autowired
// RenderTagLib(GroovyPagesTemplateRenderer groovyPagesTemplateRenderer, @Autowired(required = false) ErrorsViewStackTracePrinter errorsViewStackTracePrinter, CodecLookup codecLookup) {
// this.groovyPagesTemplateRenderer = groovyPagesTemplateRenderer
// this.errorsViewStackTracePrinter = errorsViewStackTracePrinter
// this.codecLookup = codecLookup
// }

GroovyPagesTemplateRenderer groovyPagesTemplateRenderer
ErrorsViewStackTracePrinter errorsViewStackTracePrinter
Expand Down

0 comments on commit 0deaf7b

Please sign in to comment.