Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b3a6e9740a
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
package net.osmand.binary;
|
||||
package net.osmand.binary;
|
||||
|
||||
|
||||
import gnu.trove.list.array.TIntArrayList;
|
||||
|
@ -162,7 +162,8 @@ public class BinaryMapIndexReader {
|
|||
switch (tag) {
|
||||
case 0:
|
||||
if(!initCorrectly){
|
||||
throw new IOException("Corrupted file. It should be ended as it starts with version"); //$NON-NLS-1$
|
||||
//throw new IOException("Corrupted file. It should be ended as it starts with version"); //$NON-NLS-1$
|
||||
throw new IOException("Corrupt file, it should have ended as it starts with version: " + file.getName()); //$NON-NLS-1$
|
||||
}
|
||||
return;
|
||||
case OsmandOdb.OsmAndStructure.VERSION_FIELD_NUMBER :
|
||||
|
|
Loading…
Reference in a new issue