Skip to content

Commit

Permalink
Provide a default for missing values in KeyValue
Browse files Browse the repository at this point in the history
fixes gh-3458
  • Loading branch information
jonatan-ivanov committed Oct 6, 2022
1 parent b732f2e commit e208f01
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -28,6 +28,11 @@
*/
public interface KeyValue extends Comparable<KeyValue> {

/**
* Use this if you want to indicate that the value is missing.
*/
public static final String NONE = "none";

String getKey();

String getValue();
Expand Down

0 comments on commit e208f01

Please sign in to comment.