Closed GoogleCodeExporter closed 9 years ago
Here is an example of such a query:
if (query == null) {
query = hg.make(HGHandle.class, graph).compile( hg.and(hg.typePlus(tpHdl), hg.incidentNotAt(hg.var("contextTarget", context), 0)));
}
final List<HGHandle> allRels;
synchronized (query) { <---added to avoid issue
query.var("contextTarget", context);
allRels = hg.findAll(query); //$NON-NLS-1$
}
for (HGHandle linkHdl : allRels) {
...
}
Original comment by alpic80
on 10 Jul 2012 at 11:40
Original comment by borislav...@gmail.com
on 16 Jul 2012 at 4:36
Original issue reported on code.google.com by
borislav...@gmail.com
on 10 Jul 2012 at 11:25