Changeset 320 for trunk/JavaHelperLib/src/de/ugoe
- Timestamp:
- 12/14/11 16:42:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaHelperLib/src/de/ugoe/cs/util/console/CommandExecuter.java
r244 r320 84 84 * @param pkg 85 85 * package where commands are located 86 * @throws InvalidParameterException 87 * thrown if the package name is null or empty string 86 88 */ 87 89 public void addCommandPackage(String pkg) { 90 if ("".equals(pkg) || pkg == null) { 91 throw new InvalidParameterException( 92 "package name must not be null or empty string"); 93 } 88 94 commandPackageList.add(pkg); 89 95 }
Note: See TracChangeset
for help on using the changeset viewer.