Skip to content

Commit 93e5404

Browse files
committed
Fixed unit test
1 parent 1c850ff commit 93e5404

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/imsweb/seerapi/client/staging/SchemaLookup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public String getInput(String key) {
6868
* @param value value of input
6969
*/
7070
public void setInput(String key, String value) {
71-
if (getAllowedKeys() != null && !getAllowedKeys().contains(key))
71+
if (!getAllowedKeys().isEmpty() && !getAllowedKeys().contains(key))
7272
throw new IllegalStateException("The input key " + key + " is not allowed for lookups");
7373

7474
_inputs.put(key, value);

0 commit comments

Comments
 (0)