Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32468/src/org/tm4j/topicmap/tmdm/tm4j1
Modified Files:
TopicMapImpl.java
Log Message:
Implement TopicMapImpl.getTopicBySubject().
Index: TopicMapImpl.java
===================================================================
RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1/TopicMapImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TopicMapImpl.java 22 Jan 2008 20:04:55 -0000 1.3
--- TopicMapImpl.java 22 Jan 2008 20:22:04 -0000 1.4
***************
*** 583,587 ****
*/
public Topic getTopicBySubject(org.tm4j.net.Locator subjectLocator) {
! throw new UnsupportedOperationException();
}
--- 583,587 ----
*/
public Topic getTopicBySubject(org.tm4j.net.Locator subjectLocator) {
! return mergedToExternal(getMergedTopicMapView().getMergedTopicForSubjectLocator(subjectLocator));
}
|