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 2018/09/18 18:15:31 UTC
[tika] 04/06: Removed #getDetector from ImportContextImpl
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git
commit 8053e31f7cbbb0a1c70b0d8e12251dd20d2d47d2
Author: Konstantin Gribov <gr...@gmail.com>
AuthorDate: Tue Sep 18 17:32:00 2018 +0300
Removed #getDetector from ImportContextImpl
---
.../main/java/org/apache/tika/example/ImportContextImpl.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/tika-example/src/main/java/org/apache/tika/example/ImportContextImpl.java b/tika-example/src/main/java/org/apache/tika/example/ImportContextImpl.java
index 514f05c..0cad990 100755
--- a/tika-example/src/main/java/org/apache/tika/example/ImportContextImpl.java
+++ b/tika-example/src/main/java/org/apache/tika/example/ImportContextImpl.java
@@ -50,8 +50,6 @@ public class ImportContextImpl implements ImportContext {
private InputContext inputCtx;
private boolean completed;
- private final Detector detector;
-
private final MediaType type;
/**
@@ -78,7 +76,6 @@ public class ImportContextImpl implements ImportContext {
this.inputCtx = ctx;
this.ioListener = (ioListener != null) ? ioListener
: new DefaultIOListener(LOG);
- this.detector = detector;
Metadata metadata = new Metadata();
if (ctx != null && ctx.getContentType() != null) {
@@ -110,13 +107,6 @@ public class ImportContextImpl implements ImportContext {
}
/**
- * @see ImportContext#getDetector()
- */
- public Detector getDetector() {
- return detector;
- }
-
- /**
* @see ImportContext#hasStream()
*/
public boolean hasStream() {