0.3.2 release changes

This commit is contained in:
Nazeer Hussain Shaik
2016-07-12 16:24:10 +05:30
parent 03558fbe8c
commit be01e460f5
6 changed files with 30 additions and 14 deletions
@@ -32,7 +32,6 @@ import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import javax.annotation.Nonnull;
import java.util.HashMap;
/**
@@ -68,8 +67,7 @@ public class CommandHandlerProvider implements ApplicationContextAware {
* @param entity the entity to lookup the handler, must be given.
* @param action the action to lookup the handler, must be given.
*/
@Nonnull
public NewCommandSourceHandler getHandler (@Nonnull final String entity, @Nonnull final String action) {
public NewCommandSourceHandler getHandler (final String entity, final String action) {
Preconditions.checkArgument(StringUtils.isNoneEmpty(entity), "An entity must be given!");
Preconditions.checkArgument(StringUtils.isNoneEmpty(action), "An action must be given!");