Index: H:/Java-Work/cachewolf/src/CacheWolf/Rebuild.java
===================================================================
--- H:/Java-Work/cachewolf/src/CacheWolf/Rebuild.java (revision 1408)
+++ H:/Java-Work/cachewolf/src/CacheWolf/Rebuild.java (working copy)
@@ -29,7 +29,7 @@
int pos=xmlFiles[i].lastIndexOf('.');
if (pos<0) continue;
String wayPoint=xmlFiles[i].substring(0,pos).toUpperCase();
- if (wayPoint.charAt(0)=='I' || // Check for index.xml and index.bak
+ if (wayPoint.equalsIgnoreCase("index") || // Check for index.xml and index.bak
prof.getCacheIndex(wayPoint)>=0) // Check for waypoints already in database
xmlFiles[i]=null; // Remove existing caches or index.xml
else {
Sieht gut aus. Commite es.Kappler schrieb:Das mit den Prefixen bei Addis ist in der Tat gefährlich.
Wenn nichts dagegen spricht würde ich folgenden Patch einspielen: