Fixing minor overlooked change from recent pull request.

This commit is contained in:
Diederik Muylwyk 2019-07-11 17:07:26 -04:00
parent 0729e38e6e
commit 62e1b7e9ea
1 changed files with 0 additions and 6 deletions

View File

@ -102,11 +102,6 @@ public class TermValueSetCode implements Serializable {
ValidateUtil.isNotBlankOrThrowIllegalArgument(theSystem, "theSystem must not be null or empty");
ValidateUtil.isNotTooLongOrThrowIllegalArgument(theSystem, TermCodeSystem.MAX_URL_LENGTH,
"System exceeds maximum length (" + TermCodeSystem.MAX_URL_LENGTH + "): " + length(theSystem));
ValidateUtil.isNotBlankOrThrowInvalidRequest(theSystem, "theSystem must not be null or empty");
if (theSystem.length() > TermCodeSystem.MAX_URL_LENGTH) {
throw new IllegalArgumentException();
}
mySystem = theSystem;
return this;
}
@ -119,7 +114,6 @@ public class TermValueSetCode implements Serializable {
ValidateUtil.isNotBlankOrThrowIllegalArgument(theCode, "theCode must not be null or empty");
ValidateUtil.isNotTooLongOrThrowIllegalArgument(theCode, TermConcept.MAX_CODE_LENGTH,
"Code exceeds maximum length (" + TermConcept.MAX_CODE_LENGTH + "): " + length(theCode));
myCode = theCode;
return this;
}