tika-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From max...@apache.org
Subject svn commit: r1304222 - /tika/trunk/tika-server/src/main/java/org/apache/tika/server/TikaResource.java
Date Fri, 23 Mar 2012 08:16:18 GMT
Author: maxcom
Date: Fri Mar 23 08:16:18 2012
New Revision: 1304222

URL: http://svn.apache.org/viewvc?rev=1304222&view=rev
Log:
TikaResource: remove obsolete Parser.parse() implementation

Modified:
    tika/trunk/tika-server/src/main/java/org/apache/tika/server/TikaResource.java

Modified: tika/trunk/tika-server/src/main/java/org/apache/tika/server/TikaResource.java
URL: http://svn.apache.org/viewvc/tika/trunk/tika-server/src/main/java/org/apache/tika/server/TikaResource.java?rev=1304222&r1=1304221&r2=1304222&view=diff
==============================================================================
--- tika/trunk/tika-server/src/main/java/org/apache/tika/server/TikaResource.java (original)
+++ tika/trunk/tika-server/src/main/java/org/apache/tika/server/TikaResource.java Fri Mar
23 08:16:18 2012
@@ -78,10 +78,6 @@ public class TikaResource {
       public void parse(InputStream inputStream, ContentHandler contentHandler, Metadata
metadata, ParseContext parseContext) {
         throw new WebApplicationException(Response.Status.UNSUPPORTED_MEDIA_TYPE);
       }
-
-      public void parse(InputStream inputStream, ContentHandler contentHandler, Metadata
metadata) {
-        throw new WebApplicationException(Response.Status.UNSUPPORTED_MEDIA_TYPE);
-      }
     });
 
     return parser;



Mime
View raw message