Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20129/src/org/tm4j/topicmap/tmdm/tm4j1
Modified Files:
TopicMapImpl.java
Log Message:
Fix BasicScope.internalAddScopingTopic such that it also works for scopes where the user is not yet known.
Index: TopicMapImpl.java
===================================================================
RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1/TopicMapImpl.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TopicMapImpl.java 22 Jan 2008 20:58:11 -0000 1.7
--- TopicMapImpl.java 22 Jan 2008 21:13:02 -0000 1.8
***************
*** 329,333 ****
for (Topic topic : scope) {
! basicScope.internalAddScopingTopic((BasicScopeable) getRepresentedObject(),(BasicTopic) ((TopicImpl) topic).getRepresentedObject());
}
--- 329,333 ----
for (Topic topic : scope) {
! basicScope.internalAddScopingTopic(null,(BasicTopic) ((TopicImpl) topic).getRepresentedObject(),(BasicTopicMap) getRepresentedObject());
}
|