Changeset 2151 for FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/CommandHandler.java
- Timestamp:
- 2008-07-03 00:03:15 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/handlers/CommandHandler.java
r2101 r2151 23 23 import java.util.HashMap; 24 24 import java.util.Map; 25 26 import net.fckeditor.tool.Utils; 25 27 26 28 /** … … 74 76 * the string argument. 75 77 * @throws IllegalArgumentException 76 * If 'name' is <code>null</code> or does not exist.78 * If 'name' is <code>null</code>, empty, or does not exist. 77 79 */ 78 80 public static CommandHandler valueOf(final String name) throws IllegalArgumentException { 79 if ( name == null)81 if (Utils.isEmpty(name)) 80 82 throw new IllegalArgumentException(); 81 83