Skip to content

Commit

Permalink
JNG-5435 Add Operation Input Validation
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcsakany committed Jan 27, 2024
1 parent d19eb19 commit 31d13ca
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/main/java/hu/blackbelt/judo/dao/api/Payload.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@
* #L%
*/

import com.google.common.collect.ImmutableMap;

import java.util.AbstractMap;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.*;

public interface Payload extends Map<String, Object> {

Expand All @@ -34,7 +29,7 @@ static Payload asPayload(Map<String, Object> objectMap) {
}

static Payload empty() {
return new PayloadImpl(ImmutableMap.of());
return new PayloadImpl(Collections.emptyMap());
}

static Payload map(String k1, Object v1) {
Expand Down

0 comments on commit 31d13ca

Please sign in to comment.