if(getFile().getName().equals("words.dbx")) System.out.println("removing page " + oldNum);
LOG.debug("removing page " + old.getPageNum());
		private final void removeOne(DataPage page) {			DataPage old;			boolean removed = false;			long oldNum, pNum;			while (!removed) {				for (Iterator i = map.values().iterator(); i.hasNext();) {					old = (DataPage) i.next();					oldNum = old.getPageNum();					pNum = page.getPageNum();					// don't replace the page we are trying to store					// and don't replace consecutive pages					if (oldNum == pNum || oldNum == pNum + 1)						continue;					old.decRefCount();					// replace old page if it has reference count < 1,					if (old.getRefCount() < 1) {						if(getFile().getName().equals("words.dbx"))							System.out.println("removing page " + oldNum);						i.remove();						//map.remove(oldNum);						removed = true;						if (old.isDirty())							try {								old.write();							} catch (IOException e) {								LOG.warn(									"error while writing page: "										+ old.getPageInfo()										+ ": "										+ e.getMessage());							}						old = null;						return;					}				}			}		}