From 98cbf57cb20eb0803b62660d0d29de778052cd24 Mon Sep 17 00:00:00 2001 From: Pavol Zibrita Date: Sun, 29 Apr 2012 00:13:10 +0200 Subject: [PATCH] Fix extension checking --- .../src/net/osmand/data/index/IndexBatchCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java b/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java index bfe71a8b2a..8444c49367 100644 --- a/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java @@ -300,7 +300,7 @@ public class IndexBatchCreator { String ext = ".osm"; if(url.endsWith(".osm.bz2")){ ext = ".osm.bz2"; - } else if(url.endsWith(".osm.pbf")){ + } else if(url.endsWith(".pbf")){ ext = ".osm.pbf"; } File toIndex = null;