Skip to content

Commit

Permalink
FORGE-893: Removed dependency of Google Strings class
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 22, 2013
1 parent 12f004c commit 787872b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import org.jboss.forge.addon.ui.util.InputComponents;
import org.jboss.forge.furnace.util.Callables;

import com.google.common.base.Strings;

/**
* Implementation of a {@link UIInput} object
*
Expand Down Expand Up @@ -188,7 +186,7 @@ public UIValidator getValidator()
public void validate(UIValidationContext validator)
{
String msg = InputComponents.validateRequired(this);
if (!Strings.isNullOrEmpty(msg))
if (msg != null && !msg.isEmpty())
{
validator.addValidationError(this, msg);
}
Expand Down

0 comments on commit 787872b

Please sign in to comment.