Commit fe5ff255 authored by gmantele's avatar gmantele
Browse files

[TAP] Fix wrong type cast: cast an Integer object into a long value is not possible.

parent 0d89d7c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ public class TAPExecutionDurationController implements InputParamController {
		if (value instanceof Long)
			duration = (Long)value;
		else if (value instanceof Integer)
			duration = (long)(Integer)value;
			duration = (long)((Integer)value).intValue();
		else if (value instanceof String){
			try{
				duration = Long.parseLong((String)value);