Permalink
Browse files

Make event bus listeners void methods.

  • Loading branch information...
1 parent b584a20 commit b1cf59879653220bfc2a1fffd2d71f9cc10b967a @pledbrook pledbrook committed May 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 grails-app/services/org/grails/search/IndexingService.groovy
@@ -7,13 +7,13 @@ import org.grails.plugin.Plugin
class IndexingService {
@Listener
- def pluginUpdated(Map message) {
+ void pluginUpdated(Map message) {
log.info "Reindexing plugin with ID ${message.id}"
Plugin.reindex(message.id)
}
@Listener
- def wikiPageUpdated(Map message) {
+ void wikiPageUpdated(Map message) {
log.info "Reindexing wiki page with ID ${message.id}"
Content.reindex(message.id)
}

0 comments on commit b1cf598

Please sign in to comment.