Skip to content

Commit

Permalink
fixed merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudenw committed Jan 12, 2025
1 parent c6397a0 commit e3c2054
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.apache.rat.api.Document;
import org.apache.rat.document.DocumentNameMatcher;
import org.apache.rat.document.DocumentName;
import org.apache.rat.document.FSInfoTest;

public class TestingDocument extends Document {

Expand Down Expand Up @@ -62,7 +63,7 @@ public TestingDocument(Reader reader, String name) {
}

public TestingDocument(IOSupplier<InputStream> inputStream, String name) {
super(DocumentName.builder().setName(name).setBaseName("").setDirSeparator("/").setCaseSensitive(true).build(), DocumentNameMatcher.MATCHES_ALL);
super(DocumentName.builder(FSInfoTest.UNIX).setName(name).setBaseName("").build(), DocumentNameMatcher.MATCHES_ALL);
this.input = inputStream;
this.reader = null;
}
Expand Down

0 comments on commit e3c2054

Please sign in to comment.