Fix base search

This commit is contained in:
Victor Shcherb 2016-07-20 20:27:21 +02:00
parent b0bf934ea1
commit c0f610192c

View file

@ -676,7 +676,7 @@ public class ResourceManager {
changesManager.indexMainMap(f, dateCreated); changesManager.indexMainMap(f, dateCreated);
indexFileNames.put(f.getName(), dateFormat.format(dateCreated)); //$NON-NLS-1$ indexFileNames.put(f.getName(), dateFormat.format(dateCreated)); //$NON-NLS-1$
} }
if (!mapReader.getRegionNames().isEmpty()) { if (!mapReader.getRegionNames().isEmpty() || mapReader.isBasemap()) {
try { try {
RandomAccessFile raf = new RandomAccessFile(f, "r"); //$NON-NLS-1$ RandomAccessFile raf = new RandomAccessFile(f, "r"); //$NON-NLS-1$
RegionAddressRepositoryBinary rarb = new RegionAddressRepositoryBinary(this, RegionAddressRepositoryBinary rarb = new RegionAddressRepositoryBinary(this,