cs-utilities/src/main/java/io/cloudslang/content/utilities/actions/Counter.java
Method execute
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public Map<String, String> execute(@Param(value = FROM, required = true, description = FROM_DESC) String from,
@Param(value = TO, required = true, description = TO_DESC) String to,
@Param(value = INCREMENT_BY, description = INCREMENT_BY_DESC) String incrementBy,
@Param(value = RESET, description = RESET_DESC) String reset,
@Param("sessionCounter") StepSerializableSessionObject sessionCounter) {
Method count
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private Map<String, String> count(String from, String to, String incrementBy, boolean reset, StepSerializableSessionObject session) {