]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.objmap2/src/org/simantics/objmap/graph/schema/DynamicSimpleLinkType.java
OrderedSet support (graph mappings)
[simantics/3d.git] / org.simantics.objmap2 / src / org / simantics / objmap / graph / schema / DynamicSimpleLinkType.java
index e7da15a5dc0476331f66522ce9da31a8a35ec68e..4205f2c4535fd933f89ca55ebf2b842b1d5890cf 100644 (file)
@@ -1,3 +1,14 @@
+/*******************************************************************************\r
+ * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
+ * 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
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ *     VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
 package org.simantics.objmap.graph.schema;\r
 \r
 import java.lang.reflect.InvocationTargetException;\r
@@ -79,7 +90,8 @@ public class DynamicSimpleLinkType<Range> extends SimpleLinkType<Range>{
                }\r
     }\r
        \r
-        @Override\r
+        @SuppressWarnings("unchecked")\r
+       @Override\r
            public Range createRangeElement(ReadGraph g, Resource domainElement)\r
                    throws MappingException {\r
                try {\r