Author: michiel Date: 2010-02-25 20:42:28 +0100 (Thu, 25 Feb 2010) New Revision: 41171
Modified: mmbase/trunk/utils/src/main/java/org/mmbase/util/ResourceLoader.java Log: Modified: mmbase/trunk/utils/src/main/java/org/mmbase/util/ResourceLoader.java =================================================================== --- mmbase/trunk/utils/src/main/java/org/mmbase/util/ResourceLoader.java 2010-02-25 16:30:36 UTC (rev 41170) +++ mmbase/trunk/utils/src/main/java/org/mmbase/util/ResourceLoader.java 2010-02-25 19:42:28 UTC (rev 41171) @@ -305,8 +305,9 @@ while (true) { String line = reader.readLine(); if (line == null) break; + line = line.trim(); if (line.startsWith("#")) continue; // support for comments - line = line.trim(); + if (line.length() == 0) continue; // ignore empty lines too String[] parts = line.split(":", 2); String className; if (parts.length == 2) { _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs