Skip to content

Commit 832a024

Browse files
author
julian
committed
use first file on multiple possible sofaFiles case for TextFormatting
1 parent 2fc16d4 commit 832a024

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/java/org/texttechnologylab/udav/generators/TextFormatting.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ public void setup_step1() throws SQLException {
8080
Set<String> sourceFiles = filterListSourceFiles.getWhitelist();
8181
if (sourceFiles == null || sourceFiles.isEmpty()) {
8282
throw new IllegalArgumentException("No sofaFile defined for generator \"" + id + "\" and fileWhitelist is empty or undefined.");
83-
} else if (sourceFiles.size() > 1) {
84-
throw new IllegalArgumentException("No sofaFile defined for generator \"" + id + "\" and fileWhitelist contains more than one file.");
8583
} else {
8684
for (String f : sourceFiles) { this.UIMAsofaFile = f; break; }
8785
}

0 commit comments

Comments
 (0)