Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

closes #63: performance fix

  • Loading branch information...
commit f44509b18854203ddf6afced627942c8484615be 1 parent 73d846b
@sarmbruster sarmbruster authored
View
2  ...-datastore-gorm-neo4j/src/main/groovy/org/grails/datastore/gorm/neo4j/Neo4jSession.groovy
@@ -206,7 +206,7 @@ class Neo4jSession extends AbstractAttributeStoringSession implements PropertyCh
}
private boolean isProxy(object) {
- object.metaClass.methods.any { it.name == 'isProxy'} // TODO: hotspot, to be optimized
+ object.metaClass.getMetaMethod("isProxy", null) != null
}
@Override
Please sign in to comment.
Something went wrong with that request. Please try again.