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
commit 3fbe435b865c92c428c905a00c8cf564364759cd Author: tballison <[email protected]> AuthorDate: Wed Jan 27 09:16:36 2021 -0500 fix typo in steamfactory --- tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java b/tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java index deb11e1..3f1c1e0 100644 --- a/tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java +++ b/tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java @@ -307,7 +307,7 @@ public class TikaInputStream extends TaggedInputStream { */ public static TikaInputStream get(InputStreamFactory factory, TemporaryResources tmp) throws IOException { TikaInputStream stream = get(factory.getInputStream(), tmp); - stream.steamFactory = factory; + stream.streamFactory = factory; return stream; } @@ -481,7 +481,7 @@ public class TikaInputStream extends TaggedInputStream { * The Factory that can create fresh {@link InputStream}s for * the resource this reads for, eg when needing to re-read. */ - private InputStreamFactory steamFactory; + private InputStreamFactory streamFactory; /** * The path to the file that contains the contents of this stream. @@ -633,7 +633,7 @@ public class TikaInputStream extends TaggedInputStream { } public boolean hasInputStreamFactory() { - return steamFactory != null; + return streamFactory != null; } /** @@ -641,7 +641,7 @@ public class TikaInputStream extends TaggedInputStream { * return that, otherwise <code>null</code>. */ public InputStreamFactory getInputStreamFactory() { - return steamFactory; + return streamFactory; } public boolean hasFile() {
