changeset 10 | cb071b654cf7 |
parent 3 | 2fdc9cc89502 |
child 15 | f2293e8566f5 |
1.1 --- a/org/sonews/daemon/CommandSelector.java Wed Aug 12 16:43:30 2009 +0200 1.2 +++ b/org/sonews/daemon/CommandSelector.java Wed Aug 12 17:25:46 2009 +0200 1.3 @@ -55,6 +55,12 @@ 1.4 String[] classes = Resource.getAsString("helpers/commands.list", true).split("\n"); 1.5 for(String className : classes) 1.6 { 1.7 + if(className.charAt(0) == '#') 1.8 + { 1.9 + // Skip comments 1.10 + continue; 1.11 + } 1.12 + 1.13 try 1.14 { 1.15 Class<?> clazz = Class.forName(className);