You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2021/08/18 10:04:15 UTC
[tika] branch main updated: TIKA-3523 -- fix bug that shows up on
windows via Tilman
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 2bfb0a4 TIKA-3523 -- fix bug that shows up on windows via Tilman
2bfb0a4 is described below
commit 2bfb0a485fa54bc0d47a3838f24a843f8b1d15fa
Author: tallison <ta...@apache.org>
AuthorDate: Wed Aug 18 06:03:17 2021 -0400
TIKA-3523 -- fix bug that shows up on windows via Tilman
---
.../main/java/org/apache/tika/pipes/fetcher/fs/FileSystemFetcher.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-core/src/main/java/org/apache/tika/pipes/fetcher/fs/FileSystemFetcher.java b/tika-core/src/main/java/org/apache/tika/pipes/fetcher/fs/FileSystemFetcher.java
index b104b53..4ba2648 100644
--- a/tika-core/src/main/java/org/apache/tika/pipes/fetcher/fs/FileSystemFetcher.java
+++ b/tika-core/src/main/java/org/apache/tika/pipes/fetcher/fs/FileSystemFetcher.java
@@ -106,7 +106,7 @@ public class FileSystemFetcher extends AbstractFetcher implements Initializable
} else if (basePath.toString().startsWith("ftp://")) {
throw new TikaConfigException("FileSystemFetcher only works with local file systems. " +
" Please consider contributing an ftp fetcher module");
- } else if (basePath.startsWith("s3://")) {
+ } else if (basePath.toString().startsWith("s3://")) {
throw new TikaConfigException("FileSystemFetcher only works with local file systems. " +
" Please use the tika-fetcher-s3 module");
}