X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.objmap2%2Fsrc%2Forg%2Fsimantics%2Fobjmap%2Fgraph%2Fschema%2FDefaultSchema.java;h=e5adac845ad937c3d9bcfeb68ffaf1b19c76034d;hb=8a7e33547caeeca16a5dac5fec38371f722b91ff;hp=14f4d66ce3f74deb45639aec07b17f8893930798;hpb=87b3241ec277ba3d8e414b26186a032c9cdcaeed;p=simantics%2F3d.git diff --git a/org.simantics.objmap2/src/org/simantics/objmap/graph/schema/DefaultSchema.java b/org.simantics.objmap2/src/org/simantics/objmap/graph/schema/DefaultSchema.java index 14f4d66c..e5adac84 100644 --- a/org.simantics.objmap2/src/org/simantics/objmap/graph/schema/DefaultSchema.java +++ b/org.simantics.objmap2/src/org/simantics/objmap/graph/schema/DefaultSchema.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * Copyright (c) 2007, 2013 Association for Decentralized Information Management * in Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -84,6 +84,8 @@ public class DefaultSchema implements IMappingSchema { public ILinkType linkTypeOfRangeType(Class clazz) { ILinkType type = rangeLinkTypes.get(clazz); if(type == null) { + // FIXME: c is not referenced at all, should it be? + // TODO: should this method take inheritance into account ? for (Class c : clazz.getInterfaces()) { type = rangeLinkTypes.get(clazz); if (type != null)