Fix extension checking

This commit is contained in:
Pavol Zibrita 2012-04-29 00:13:10 +02:00
parent 5a1b00e74c
commit 98cbf57cb2

View file

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