0.3.2 release changes
This commit is contained in:
+1
-3
@@ -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!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user