Skip to content

Commit d80a01f

Browse files
author
Manuel Stoeckel
committed
minor+fix(tools): Fixed parameter names
1 parent 2fc0dc5 commit d80a01f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/texttechnologylab/DockerUnifiedUIMAInterface/tools/AnnotationDropper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ public void initialize(UimaContext context) throws ResourceInitializationExcepti
108108

109109
if (this.paramTypesToDrop.length == 0 && this.paramTypesToRetain.length == 0) {
110110
throw new ResourceInitializationException(
111-
new IllegalArgumentException("At least one of typesToDrop or typesToRetain must be set"));
111+
new IllegalArgumentException("At least one of PARAM_TYPES_TO_DROP or PARAM_TYPES_TO_RETAIN must be set"));
112112
} else if (this.paramTypesToDrop.length > 0 && this.paramTypesToRetain.length > 0) {
113113
throw new ResourceInitializationException(
114-
new IllegalArgumentException("Only one of typesToDrop or typesToRetain can be set"));
114+
new IllegalArgumentException("Only one of PARAM_TYPES_TO_DROP or PARAM_TYPES_TO_RETAIN can be set"));
115115
}
116116

117117
if (this.paramTypesToDrop.length > 0) {

0 commit comments

Comments
 (0)