From: SourceForge.net <no...@so...> - 2008-11-27 14:14:59
|
Bugs item #2353673, was opened at 2008-11-27 15:12 Message generated for change (Settings changed) made by lheuer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=631664&aid=2353673&group_id=102341 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: tinyTiM 2.x >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Lars Heuer (lheuer) Assigned to: Lars Heuer (lheuer) Summary: Locator.resolve returns new Locator objects (no flyweights) Initial Comment: Locator.resolve(String) returns a new Locator instance in any case: Locator base = topicMap.createLocator("http://www.semagia.com/"); Locator loc1 = base.resolve("#test"); Locator loc2 = base.resolve("#test"); assertEquals(loc1, loc2) ==> true assertSame(loc1, loc2) ==> false (<--- this should be true) ---------------------------------------------------------------------- Comment By: Lars Heuer (lheuer) Date: 2008-11-27 15:14 Message: Fixed. Revision: 239 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=631664&aid=2353673&group_id=102341 |