jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r190900 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java
Date Thu, 16 Jun 2005 11:46:41 GMT
Author: mreutegg
Date: Thu Jun 16 04:46:39 2005
New Revision: 190900

URL: http://svn.apache.org/viewcvs?rev=190900&view=rev
Log:
Fix for multi-valued binary property.

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java?rev=190900&r1=190899&r2=190900&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java
Thu Jun 16 04:46:39 2005
@@ -56,7 +56,7 @@
      */
     public Map doFilter(PropertyState data, String encoding) throws RepositoryException {
         InternalValue[] values = data.getValues();
-        if (values.length > 0) {
+        if (values.length == 1) {
             BLOBFileValue blob = (BLOBFileValue) values[0].internalValue();
             try {
                 Reader reader;



Mime
View raw message