Skip to content

Commit

Permalink
Add default constructor for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Nov 12, 2024
1 parent e8c8366 commit b8f9461
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ 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
Expand Down

0 comments on commit b8f9461

Please sign in to comment.