From: Lars H. <he...@se...> - 2008-05-14 15:03:04
|
Hi Darina, [...] >> > I have a problem in using the removeSubjectLocator(l) method - it > just >> > doesn't work for me ... >> > Well, it just doesn't remove the subject locator: When I do: [...] > Any other idea that I can try? Seems to be a bug in the TMAPI impl: <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPITopicImpl.java?revision=1.23&view=markup> 332 if (rawLoc.equals(m_obj.getSubject())) { 333 return; 334 } If the locator to be removed is equals to the current locator, that method returns. Strange. Correct impl: if (!rawLoc.equals(m_obj.getSubject())) { return; } If the locator IS NOT equal to the current locator, the method should do nothing. I'll try to commit the bug fix. I'll use the "TM4J_1_x" branch. So, you'll have to check out the "TM4J_1_x" branch and compile everything (at least the TMAPI stuff). Best regards, Lars -- Semagia <http://www.semagia.com> |