package org.dspace.workflow.actions;

import org.dspace.workflow.actions.userassignment.UserSelectionAction;

/**
 * Created by IntelliJ IDEA.
 * User: bram
 * Date: 6-aug-2010
 * Time: 14:57:17
 * To change this template use File | Settings | File Templates.
 */
public class UserSelectionActionConfig extends WorkflowActionConfig{

    public UserSelectionActionConfig(String id) {
        super(id);
    }

    public UserSelectionAction getProcessingAction(){
        return (UserSelectionAction) processingAction;
    }
}

package org.dspace.workflow.actions;

import org.dspace.workflow.actions.userassignment.UserSelectionAction;

/**
 * Created by IntelliJ IDEA.
 * User: bram
 * Date: 6-aug-2010
 * Time: 14:57:17
 * To change this template use File | Settings | File Templates.
 */
public class UserSelectionActionConfig extends WorkflowActionConfig{

    public UserSelectionActionConfig(String id) {
        super(id);
    }

    public UserSelectionAction getProcessingAction(){
        return (UserSelectionAction) processingAction;
    }

    // Spring requires getter/setter types to match, so even though
    // we don't need a custom setter, we must have a setter that takes the same
    // parameter type as the above getter.
    public void setProcessingAction(UserSelectionAction processingAction) {
        super.setProcessingAction(processingAction);
    }
}

Fix bean getter/setter type mismatch
Fix bean getter/setter type mismatch

Mismatch was causing failures on Travis CI because the getter and setter types did not match:

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'noUserSelectionAction' defined in URL [file:/opt/dryad-test//config/workflow-actions.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'processingAction' of bean class [org.dspace.workflow.actions.UserSelectionActionConfig]: Bean property 'processingAction' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?"
