/*
******************************************************************************
- * Copyright (C) 2005-2010, International Business Machines Corporation and *
+ * Copyright (C) 2005-2011, International Business Machines Corporation and *
* others. All Rights Reserved. *
******************************************************************************
*/
if (DEBUG) System.err.println(e);
}
}
+ br.close();
}
} catch (Throwable t) {
if (DEBUG) System.err.println(t);
try {
prefix = url.getPath();
- int ix = prefix.indexOf("!/");
+ int ix = prefix.lastIndexOf("!/");
if (ix >= 0) {
prefix = prefix.substring(ix + 2); // truncate after "!/"