Permalink
Browse files

Fix compilation error for Groovy 1.8.5.

  • Loading branch information...
1 parent 65e5c4a commit 0ef783856a553789ca2f89eb04b33b6f05caf169 @pledbrook pledbrook committed Mar 29, 2012
@@ -89,7 +89,7 @@ class ClosureSearchableGrailsDomainClassCompassClassMapper extends AbstractSearc
}
private List searchableGetCompassClassPropertyMappings(GrailsDomainClass grailsDomainClass, Collection searchableGrailsDomainClasses, Closure closure, List excludedProperties, List inheritedPropertyMappings) {
- init(grailsDomainClass, searchableGrailsDomainClasses)
+ internalInit(grailsDomainClass, searchableGrailsDomainClasses)
// Build user-defined specific mappings
closure = (Closure) closure.clone()
@@ -424,7 +424,7 @@ class ClosureSearchableGrailsDomainClassCompassClassMapper extends AbstractSearc
/**
* Init
*/
- private init(GrailsDomainClass grailsDomainClass, Collection searchableGrailsDomainClasses) {
+ private internalInit(GrailsDomainClass grailsDomainClass, Collection searchableGrailsDomainClasses) {
this.grailsDomainClass = grailsDomainClass
this.mappedClass = grailsDomainClass.clazz
this.mappableProperties = SearchableGrailsDomainClassCompassMappingUtils.getMappableProperties(grailsDomainClass, true, searchableGrailsDomainClasses, excludedProperties, getDomainClassPropertyMappingStrategyFactory())

0 comments on commit 0ef7838

Please sign in to comment.