Skip to content

Commit

Permalink
Removed @SuppressWarnings annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jun 5, 2014
1 parent 4943de9 commit b1ce903
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.jboss.forge.addon.ui.input.InputComponent;

/**
* Implementation of the {@link UIBuilder} interface
*
* @author <a href="ggastald@redhat.com">George Gastaldi</a>
*/
Expand All @@ -35,11 +36,10 @@ public UIContext getUIContext()
return context;
}

@SuppressWarnings("unchecked")
@Override
public UIBuilder add(InputComponent<?, ?> input)
{
inputs.put(input.getName(), (InputComponent<?, Object>) input);
inputs.put(input.getName(), input);
return this;
}

Expand Down

0 comments on commit b1ce903

Please sign in to comment.