Skip to content

Client - RemoteEnvironment: Method always returns true #185

@skamoen

Description

@skamoen

line 253:
/**
* Check whether an action is supported by a type, for now always returns false as it should not be used
*
* @return the result
*/
public boolean isSupportedByType(Action arg0, String arg1) {
return true;
}

line 351:

/**
 * Check if an action is supported by an entity, is not used so returns true
 * 
 * @param action
 *            , the action
 * @param entity
 *            , the entity
 */
public boolean isSupportedByEntity(Action action, String entity) {
    return true;
}

line 264:

/**
 * Check if a certain state transition is valid, always returns true for now.
 * 
 * @param oldState
 *            , the old state of the environment
 * @param newState
 *            , the new state of the environment
 */
@Override
public boolean isStateTransitionValid(EnvironmentState oldState, EnvironmentState newState) {
    return true;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions