Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-10-31 13:24:10 +01:00
commit b3a6e9740a

View file

@ -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 :