summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
0dfe4ea)
refs #7803
Change-Id: I4ad3281195144f5f70dd0cc86e2348663d0d1c02
int resultCount = 0;
for (Resource object : graph.getObjects(resource, resource2)) {
if (graph.isInstanceOf(object, resource3)) {
int resultCount = 0;
for (Resource object : graph.getObjects(resource, resource2)) {
if (graph.isInstanceOf(object, resource3)) {
- if (result == null) {
- result = object;
- } else {
- // okay, too many results but lets calculate for debug
- resultCount++;
- }
+ result = object;
+ resultCount++;