Changeset 2282 for trunk/java-utils
- Timestamp:
- 08/02/19 14:25:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-utils/src/main/java/de/ugoe/cs/util/console/CommandExecuter.java
r2281 r2282 250 250 className); 251 251 if (Command.class.isAssignableFrom(clazz)) { 252 commands.add((Command) clazz.getConstructor().newInstance());252 commands.add((Command) clazz.getConstructor().newInstance()); 253 253 } 254 254 } … … 280 280 loader.loadClass(commandPackage.getPackageName() + 281 281 "." + className); 282 283 Console.traceln(Level.WARNING, clazz.getName()); 282 284 if (Command.class.isAssignableFrom(clazz)) { 283 285 commands.add((Command) clazz.getConstructor().newInstance()); … … 286 288 } 287 289 while (entry != null); 288 }289 catch (Exception e) {290 e.printStackTrace();291 Console292 .traceln(Level.WARNING,293 "could not read contents of " + "jar " + jarFile);294 290 } 295 291 finally {
Note: See TracChangeset
for help on using the changeset viewer.