]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.objmap2/src/org/simantics/objmap/structural/rules/domain/RelatedObjectsAccessor.java
Use unique names at the model scope instead of pipe run
[simantics/3d.git] / org.simantics.objmap2 / src / org / simantics / objmap / structural / rules / domain / RelatedObjectsAccessor.java
index b04a40d78d3a9f34d2f67145a6e8949ae6d44882..c56ffb6d1b3fb72e4b5df9c4583e062b2d124933 100644 (file)
@@ -62,7 +62,7 @@ public class RelatedObjectsAccessor implements IDomainAccessor<StructuralResourc
                   \r
                    Resource res = getServiceResource(g, element);\r
                    if (res == null)\r
-                       return Collections.EMPTY_LIST;\r
+                       return Collections.emptyList();\r
                    Collection<Resource> coll = g.getObjects(res, relation);\r
                        List<StructuralResource> result = new ArrayList<StructuralResource>(coll.size());\r
                        for (Resource r : coll) {\r