Skip to content

Commit

Permalink
add default constructor (for Jackson serialization)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyaDaleh committed Feb 18, 2024
1 parent eb91ab6 commit f07d5a7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ public class Pair<K, V> {

private final K key;
private final V value;

public Pair(){
key = null;
value = null;
}

public Pair(K key, V value) {
this.key = key;
Expand Down

0 comments on commit f07d5a7

Please sign in to comment.