Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/utils
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29754/src/org/tm4j/topicmap/utils
Modified Files:
TopicMapWalker.java
Log Message:
Convert concrete ID comparisons to more abstracted call equalsByID().
Index: TopicMapWalker.java
===================================================================
RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/utils/TopicMapWalker.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** TopicMapWalker.java 30 Jun 2004 06:46:57 -0000 1.24
--- TopicMapWalker.java 30 Apr 2007 13:53:13 -0000 1.25
***************
*** 83,87 ****
while (topics.hasNext()) {
Topic t = (Topic) topics.next();
! if (t.getID().equals(t.getBaseTopic().getID())) {
walk(t);
}
--- 83,87 ----
while (topics.hasNext()) {
Topic t = (Topic) topics.next();
! if (t.equalsByID(t.getBaseTopic())) {
walk(t);
}
|