diff --git a/src/main/java/emissary/core/IBaseDataObject.java b/src/main/java/emissary/core/IBaseDataObject.java index f925b77d9..50571089d 100755 --- a/src/main/java/emissary/core/IBaseDataObject.java +++ b/src/main/java/emissary/core/IBaseDataObject.java @@ -17,6 +17,7 @@ import java.util.Set; import java.util.UUID; import java.util.stream.Collectors; +import javax.annotation.Nullable; public interface IBaseDataObject { @@ -415,6 +416,7 @@ default String getParameterAsConcatString(final String key) { * @param sep the separator for multivalued fields * @return the string value or null if no such element */ + @Nullable default String getParameterAsConcatString(final String key, final String sep) { final var strParameter = String.join(sep, getParameterAsStrings(key)); return StringUtils.isBlank(strParameter) ? null : strParameter;