Skip to content

Commit

Permalink
FORGE-932: UIInput.getCompleter() now returns null when no completer …
Browse files Browse the repository at this point in the history
…is set
  • Loading branch information
gastaldi committed Jun 4, 2013
1 parent bb57529 commit ceaf0b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.

This file was deleted.

Expand Up @@ -38,10 +38,9 @@ public UIInputImpl(String name, Class<VALUETYPE> type)
}

@Override
@SuppressWarnings("unchecked")
public UICompleter<VALUETYPE> getCompleter()
{
return this.completer == null ? new NoopCompleter() : this.completer;
return this.completer;
}

@Override
Expand Down
Expand Up @@ -40,10 +40,9 @@ public UIInputManyImpl(String name, Class<VALUETYPE> type)
}

@Override
@SuppressWarnings("unchecked")
public UICompleter<VALUETYPE> getCompleter()
{
return this.completer == null ? new NoopCompleter() : this.completer;
return this.completer;
}

@Override
Expand Down

0 comments on commit ceaf0b3

Please sign in to comment.