mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
bugfix for property table loader (did not exclude comment lines)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4000 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
6758beae9c
commit
c48c9735cb
|
@ -79,6 +79,7 @@ public class nxTools {
|
|||
HashMap props = new HashMap(list.size());
|
||||
while (i.hasNext()) {
|
||||
line = ((String) i.next()).trim();
|
||||
if (line.startsWith("#")) continue; // exclude comments
|
||||
//System.out.println("NXTOOLS_PROPS - LINE:" + line);
|
||||
pos = line.indexOf("=");
|
||||
if (pos > 0) props.put(line.substring(0, pos).trim(), line.substring(pos + 1).trim());
|
||||
|
|
Loading…
Reference in New Issue
Block a user