Skip to content

Commit

Permalink
Removed dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Sep 24, 2009
1 parent bca6f5e commit 40d14c4
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -408,12 +408,6 @@ Try using Grails' default cache provider: 'org.hibernate.cache.OSCacheProvider'"
}
}

static final SET_PROPERTIES_CLOSURE = {Object o ->
originalPropertiesProperty.setProperty delegate, o
if(delegate.hasErrors()) {
GrailsHibernateUtil.setObjectToReadyOnly delegate,sessionFactory
}
}
private static addValidationMethods(GrailsDomainClass dc, GrailsApplication application, ApplicationContext ctx, SessionFactory sessionFactory) {
def metaClass = dc.metaClass

Expand Down

0 comments on commit 40d14c4

Please sign in to comment.