This closes #809

This commit is contained in:
Clebert Suconic 2016-09-28 11:47:47 -04:00
commit bfbe68f0c9
1 changed files with 2 additions and 2 deletions

View File

@ -69,10 +69,10 @@ public final class QueueConfig {
private void validateState() {
if (isEmptyOrNull(this.name)) {
throw new IllegalStateException("name can't be null!");
throw new IllegalStateException("name can't be null or empty!");
}
if (isEmptyOrNull(this.address)) {
throw new IllegalStateException("address can't be null!");
throw new IllegalStateException("address can't be null or empty!");
}
}