]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.objmap2/src/org/simantics/objmap/structural/rules/domain/RelatedOrderedSetElementsAccessor.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 / RelatedOrderedSetElementsAccessor.java
index 654a32581dbc7df20d9e3e365595d1bda0a607c9..c9b63e4c3e976e66a93aa5fd210de531149fbc10 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+ * Copyright (c) 2007, 2013 Association for Decentralized Information Management\r
  * in Industry THTH ry.\r
  * All rights reserved. This program and the accompanying materials\r
  * are made available under the terms of the Eclipse Public License v1.0\r
@@ -45,7 +45,7 @@ public class RelatedOrderedSetElementsAccessor implements IDomainAccessor<Struct
                    LOGGER.info("        RelatedOrderedSetElementsAccessor.get");\r
                    Resource res = getServiceResource(g, element);\r
                    if (res == null)\r
-                       return Collections.EMPTY_LIST;\r
+                       return Collections.emptyList();\r
                        List<Resource> list =  OrderedSetUtils.toList(g, res);\r
                        List<StructuralResource> result = new ArrayList<StructuralResource>(list.size());\r
                        for (Resource r : list) {\r