<BUG>public void setGrailsApplication(GrailsApplication grailsApplication) {if (grailsApplication == null || grailsApplication.getFlatConfig() == null) {</BUG><CONTEXT>return encoder;}public Decoder getDecoder() {return decoder;}<extra_id_0>return;}Object htmlCodecSetting = grailsApplication.getFlatConfig().get(CONFIG_PROPERTY_GSP_HTMLCODEC);</CONTEXT>
this.grailsApplication = grailsApplication;public void afterPropertiesSet() {if (grailsApplication == null || grailsApplication.getFlatConfig() == null) {