From: Xuan B. <med...@us...> - 2008-01-23 16:08:46
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1 In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19696/src/org/tm4j/topicmap/tmdm/tm4j1 Modified Files: TopicMapImpl.java Log Message: Use centralized PSI String objects. Index: TopicMapImpl.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/tm4j1/TopicMapImpl.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** TopicMapImpl.java 22 Jan 2008 21:46:04 -0000 1.13 --- TopicMapImpl.java 23 Jan 2008 16:08:48 -0000 1.14 *************** *** 15,18 **** --- 15,19 ---- import org.tm4j.topicmap.*; + import org.tm4j.topicmap.tmdm.PSI; import org.tm4j.topicmap.tmdm.ReadableTopic; import org.tm4j.topicmap.tmdm.ReadableTopicMap; *************** *** 109,115 **** try { if (type==null) { ! type = createInternalTopic("http://psi.topicmaps.org/iso13250/model/type",XTMPSI.CLASS); ! instance = createInternalTopic("http://psi.topicmaps.org/iso13250/model/instance",XTMPSI.INSTANCE); ! type_instance = createInternalTopic("http://psi.topicmaps.org/iso13250/model/type-instance",XTMPSI.CLASS_INSTANCE); } } catch (LocatorFactoryException e) { --- 110,116 ---- try { if (type==null) { ! type = createInternalTopic(PSI.TMDM.type,XTMPSI.CLASS); ! instance = createInternalTopic(PSI.TMDM.instance,XTMPSI.INSTANCE); ! type_instance = createInternalTopic(PSI.TMDM.type_instance,XTMPSI.CLASS_INSTANCE); } } catch (LocatorFactoryException e) { |