jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1155299 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/ImportContextImpl.java
Date Tue, 09 Aug 2011 10:33:00 GMT
Author: angela
Date: Tue Aug  9 10:33:00 2011
New Revision: 1155299

URL: http://svn.apache.org/viewvc?rev=1155299&view=rev
Log:
JCR-3044 - Remove ImportContextImpl#getDetector

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/ImportContextImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/ImportContextImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/ImportContextImpl.java?rev=1155299&r1=1155298&r2=1155299&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/ImportContextImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/ImportContextImpl.java
Tue Aug  9 10:33:00 2011
@@ -47,8 +47,6 @@ public class ImportContextImpl implement
     private InputContext inputCtx;
     private boolean completed;
 
-    private final Detector detector;
-
     private final MediaType type;
 
     /**
@@ -86,7 +84,6 @@ public class ImportContextImpl implement
         if (stream != null && !stream.markSupported()) {
             stream = new BufferedInputStream(stream);
         }
-        this.detector = detector;
         this.type = detector.detect(stream, metadata);
         this.inputFile = IOUtil.getTempFile(stream);
     }
@@ -106,13 +103,6 @@ public class ImportContextImpl implement
     }
 
     /**
-     * @see ImportContext#getDetector()
-     */
-    public Detector getDetector() {
-        return detector;
-    }
-
-    /**
      * @see ImportContext#hasStream()
      */
     public boolean hasStream() {



Mime
View raw message