jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r724129 - in /jackrabbit/sandbox/jackrabbit-tika: pom.xml src/main/java/org/apache/jackrabbit/tika/TikaTextExctractor.java
Date Sun, 07 Dec 2008 13:28:49 GMT
Author: jukka
Date: Sun Dec  7 05:28:49 2008
New Revision: 724129

URL: http://svn.apache.org/viewvc?rev=724129&view=rev
Log:
jackrabbit-tika: Use the new jdk14 artifact from TIka.

Modified:
    jackrabbit/sandbox/jackrabbit-tika/pom.xml
    jackrabbit/sandbox/jackrabbit-tika/src/main/java/org/apache/jackrabbit/tika/TikaTextExctractor.java

Modified: jackrabbit/sandbox/jackrabbit-tika/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-tika/pom.xml?rev=724129&r1=724128&r2=724129&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-tika/pom.xml (original)
+++ jackrabbit/sandbox/jackrabbit-tika/pom.xml Sun Dec  7 05:28:49 2008
@@ -33,12 +33,13 @@
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-text-extractors</artifactId>
-      <version>1.4</version>
+      <version>1.6-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.tika</groupId>
       <artifactId>tika</artifactId>
-      <version>0.2-SNAPSHOT</version>
+      <version>0.3-SNAPSHOT</version>
+      <classifier>jdk14</classifier>
     </dependency>
   </dependencies>
 
@@ -47,8 +48,8 @@
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
+          <source>1.4</source>
+          <target>1.4</target>
         </configuration>
       </plugin>
     </plugins>

Modified: jackrabbit/sandbox/jackrabbit-tika/src/main/java/org/apache/jackrabbit/tika/TikaTextExctractor.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-tika/src/main/java/org/apache/jackrabbit/tika/TikaTextExctractor.java?rev=724129&r1=724128&r2=724129&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-tika/src/main/java/org/apache/jackrabbit/tika/TikaTextExctractor.java
(original)
+++ jackrabbit/sandbox/jackrabbit-tika/src/main/java/org/apache/jackrabbit/tika/TikaTextExctractor.java
Sun Dec  7 05:28:49 2008
@@ -31,8 +31,8 @@
     private final AutoDetectParser parser = new AutoDetectParser();
 
     public String[] getContentTypes() {
-        Set<String> types = parser.getParsers().keySet();
-        return types.toArray(new String[types.size()]);
+        Set types = parser.getParsers().keySet();
+        return (String[]) types.toArray(new String[types.size()]);
     }
 
     public Reader extractText(InputStream stream, String type, String encoding)



Mime
View raw message