jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1507171 - in /jackrabbit/trunk: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/ jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/c...
Date Fri, 26 Jul 2013 01:12:25 GMT
Author: dbrosius
Date: Fri Jul 26 01:12:25 2013
New Revision: 1507171

URL: http://svn.apache.org/r1507171
Log:
better toString's showing array contents

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/Operations.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java?rev=1507171&r1=1507170&r2=1507171&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
Fri Jul 26 01:12:25 2013
@@ -306,7 +306,7 @@ public class LuceneQueryFactory {
     /**
      * Creates a lucene query for the given QOM full text search.
      *
-     * @param constraint the full text search constraint.
+     * @param fts the full text search constraint.
      * @return the lucene query for the given constraint.
      * @throws RepositoryException if an error occurs while creating the query.
      */

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java?rev=1507171&r1=1507170&r2=1507171&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
Fri Jul 26 01:12:25 2013
@@ -26,6 +26,7 @@ import org.apache.jackrabbit.spi.QValue;
 import javax.jcr.RepositoryException;
 import javax.jcr.UnsupportedRepositoryOperationException;
 import java.io.Serializable;
+import java.util.Arrays;
 import java.util.Map;
 import java.util.Collections;
 import java.util.HashMap;
@@ -193,7 +194,7 @@ public class EventImpl implements Event,
             .append("itemId: ").append(itemId).append(", ")
             .append("parentId: ").append(parentId).append(", ")
             .append("primaryNodeTypeName: ").append(primaryNodeTypeName).append(", ")
-            .append("mixinTypeNames: ").append(mixinTypeNames).append(", ")
+            .append("mixinTypeNames: ").append(Arrays.toString(mixinTypeNames)).append(",
")
             .append("userId").append(userId)
             .append("]")
             .toString();

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/Operations.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/Operations.java?rev=1507171&r1=1507170&r2=1507171&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/Operations.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/Operations.java
Fri Jul 26 01:12:25 2013
@@ -229,7 +229,7 @@ public final class Operations {
 
         @Override
         public String toString() {
-            return "AddProperty[" + parentId + ", " + propertyName + ", " + values + "]";
+            return "AddProperty[" + parentId + ", " + propertyName + ", " + Arrays.toString(values)
+ "]";
         }
 
         @Override
@@ -546,7 +546,7 @@ public final class Operations {
 
         @Override
         public String toString() {
-            return "SetMixins[" + nodeId + ", " + mixinNodeTypeNames + "]";
+            return "SetMixins[" + nodeId + ", " + Arrays.toString(mixinNodeTypeNames) + "]";
         }
 
         @Override
@@ -715,7 +715,7 @@ public final class Operations {
 
         @Override
         public String toString() {
-            return "SetValue[" + propertyId + ", " + values + "]";
+            return "SetValue[" + propertyId + ", " + Arrays.toString(values) + "]";
         }
 
         @Override



Mime
View raw message