[Schmitzm-commits] r1232 - trunk/src/schmitzm/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Nov 4 17:22:30 CET 2010


Author: alfonx
Date: 2010-11-04 17:22:29 +0100 (Thu, 04 Nov 2010)
New Revision: 1232

Modified:
   trunk/src/schmitzm/io/IOUtil.java
Log:


Modified: trunk/src/schmitzm/io/IOUtil.java
===================================================================
--- trunk/src/schmitzm/io/IOUtil.java	2010-11-04 00:53:20 UTC (rev 1231)
+++ trunk/src/schmitzm/io/IOUtil.java	2010-11-04 16:22:29 UTC (rev 1232)
@@ -1161,6 +1161,7 @@
 	 *         <code>http://www.bahn.de/exterme<code> both return <code>exterme</code>
 	 */
 	public static String getFilename(URL url) {
+		if (url == null) return "";
 		return new File(url.getPath()).getName();
 	}
 



More information about the Schmitzm-commits mailing list