(Object input)
| 1444 | } |
| 1445 | |
| 1446 | public Object sanitizeDataInput(Object input) |
| 1447 | { |
| 1448 | // remove nulls and replace with unefined instead |
| 1449 | if (Helpers.isTrue(Helpers.isEqual(input, null))) |
| 1450 | { |
| 1451 | return null; |
| 1452 | } |
| 1453 | Object newInput = new java.util.ArrayList<Object>(java.util.Arrays.asList()); |
| 1454 | for (var i = 0; Helpers.isLessThan(i, Helpers.getArrayLength(input)); i++) |
| 1455 | { |
| 1456 | Object current = Helpers.GetValue(input, i); |
| 1457 | if (Helpers.isTrue(isNullValue(current))) |
| 1458 | { |
| 1459 | ((java.util.List<Object>)newInput).add(null); |
| 1460 | } else |
| 1461 | { |
| 1462 | ((java.util.List<Object>)newInput).add(current); |
| 1463 | } |
| 1464 | } |
| 1465 | return newInput; |
| 1466 | } |
| 1467 | |
| 1468 | public java.util.concurrent.CompletableFuture<Object> testRequestStatically(Exchange exchange, Object method, Object data, Object type, Object skipKeys) |
| 1469 | { |
no test coverage detected