Update of /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/cache
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9668/src/net/sf/magicmap/server/cache
Modified Files:
PositionCache.java
Log Message:
cache error patched
Index: PositionCache.java
===================================================================
RCS file: /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/cache/PositionCache.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PositionCache.java 6 Dec 2005 11:45:16 -0000 1.9
--- PositionCache.java 7 Feb 2006 16:05:37 -0000 1.10
***************
*** 324,328 ****
if (!existsMapHashtable(map)) addMapHashtable(map);
if (getMapHashtable(map).existsPosition(position.getName())){
! getMapHashtable(map).removePosition(position.getName());
}
getMapHashtable(map).addPosition(position);
--- 324,328 ----
if (!existsMapHashtable(map)) addMapHashtable(map);
if (getMapHashtable(map).existsPosition(position.getName())){
! getMapHashtable(map).deletePosition(position.getName());
}
getMapHashtable(map).addPosition(position);
|