Permalink
Browse files

closes #63: performance fix

  • Loading branch information...
1 parent 73d846b commit f44509b18854203ddf6afced627942c8484615be @sarmbruster sarmbruster committed Sep 12, 2012
@@ -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

0 comments on commit f44509b

Please sign in to comment.