jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r495665 - /jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/RTFTextExtractor.java
Date Fri, 12 Jan 2007 17:58:40 GMT
Author: mreutegg
Date: Fri Jan 12 09:58:39 2007
New Revision: 495665

URL: http://svn.apache.org/viewvc?view=rev&rev=495665
Log:
JCR-706: RTFTextExtractor should also support mime type text/rtf

Modified:
    jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/RTFTextExtractor.java

Modified: jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/RTFTextExtractor.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/RTFTextExtractor.java?view=diff&rev=495665&r1=495664&r2=495665
==============================================================================
--- jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/RTFTextExtractor.java
(original)
+++ jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/RTFTextExtractor.java
Fri Jan 12 09:58:39 2007
@@ -33,7 +33,7 @@
      * Creates a new <code>RTFTextExtractor</code> instance.
      */
     public RTFTextExtractor() {
-        super(new String[]{"application/rtf"});
+        super(new String[]{"application/rtf", "text/rtf"});
     }
 
     //-------------------------------------------------------< TextExtractor >



Mime
View raw message