jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r615649 [3/14] - in /jackrabbit/trunk: jackrabbit-classloader/src/main/java/org/apache/jackrabbit/classloader/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ jackra...
Date Sun, 27 Jan 2008 21:08:36 GMT
Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryBuilder.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryBuilder.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryBuilder.java Sun Jan 27 13:08:08 2008
@@ -137,7 +137,7 @@
      * Wether the index format is new or old.
      */
     private IndexFormatVersion indexFormatVersion;
-    
+
     /**
      * Exceptions thrown during tree translation
      */
@@ -166,7 +166,7 @@
                                NamespaceMappings nsMappings,
                                Analyzer analyzer,
                                PropertyTypeRegistry propReg,
-                               SynonymProvider synonymProvider, 
+                               SynonymProvider synonymProvider,
                                IndexFormatVersion indexFormatVersion) {
         this.root = root;
         this.session = session;
@@ -195,7 +195,7 @@
      *                        information.
      * @param synonymProvider the synonym provider or <code>null</code> if node
      *                        is configured.
-     * @param  indexFormatVersion  the index format version to be used                   
+     * @param  indexFormatVersion  the index format version to be used
      * @return the lucene query tree.
      * @throws RepositoryException if an error occurs during the translation.
      */
@@ -1106,7 +1106,7 @@
         }
         return (String[]) values.toArray(new String[values.size()]);
     }
-    
+
     /**
      * Depending on the index format this method returns
      * a query that matches all nodes that have a property named 'field'

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllWeight.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllWeight.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllWeight.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllWeight.java Sun Jan 27 13:08:08 2008
@@ -58,7 +58,7 @@
     /**
      * @param query
      * @param searcher
-     * @param field name of the field to match 
+     * @param field name of the field to match
      */
     MatchAllWeight(Query query, Searcher searcher, String field) {
         super(searcher);

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java Sun Jan 27 13:08:08 2008
@@ -103,7 +103,7 @@
      * Indicates index format for this node indexer.
      */
     protected IndexFormatVersion indexFormatVersion = IndexFormatVersion.V1;
-   
+
     /**
      * Creates a new node indexer.
      *
@@ -149,7 +149,7 @@
     public void setIndexFormatVersion(IndexFormatVersion indexFormatVersion) {
         this.indexFormatVersion = indexFormatVersion;
     }
-    
+
     /**
      * Sets the indexing configuration for this node indexer.
      *
@@ -208,14 +208,14 @@
             PropertyId id = new PropertyId(node.getNodeId(), propName);
             try {
                 PropertyState propState = (PropertyState) stateProvider.getItemState(id);
-                
+
                 // add each property to the _PROPERTIES_SET for searching
                 // beginning with V2
                 if (indexFormatVersion.getVersion()
                         >= IndexFormatVersion.V2.getVersion()) {
                     addPropertyName(doc, propState.getName());
                 }
-                
+
                 InternalValue[] values = propState.getValues();
                 for (int i = 0; i < values.length; i++) {
                     addValue(doc, values[i], propState.getName());
@@ -354,7 +354,7 @@
         }
         doc.add(new Field(FieldNames.PROPERTIES_SET, fieldName, Field.Store.NO, Field.Index.NO_NORMS));
     }
-    
+
     /**
      * Adds the binary value to the document as the named field.
      * <p/>
@@ -440,10 +440,10 @@
     /**
      * Creates a field of name <code>fieldName</code> with the value of <code>
      * internalValue</code>. The created field is indexed without norms.
-     * 
+     *
      * @param fieldName     The name of the field to add
      * @param internalValue The value for the field to add to the document.
-     * @param store         <code>true</code> if the value should be stored, 
+     * @param store         <code>true</code> if the value should be stored,
      *                      <code>false</code> otherwise
      */
     protected Field createFieldWithoutNorms(String fieldName,
@@ -459,7 +459,7 @@
      * Adds the calendar value to the document as the named field. The calendar
      * value is converted to an indexable string value using the
      * {@link DateField} class.
-     * 
+     *
      * @param doc
      *            The document to which to add the field
      * @param fieldName

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryImpl.java Sun Jan 27 13:08:08 2008
@@ -92,7 +92,7 @@
                 session.getNamePathResolver(), factory);
         allNodesQueryNode = createMatchAllNodesQuery(factory);
     }
-    
+
     /**
      * Executes this query and returns a <code>{@link QueryResult}</code>.
      *
@@ -190,11 +190,11 @@
 
         return (Name[]) selectProps.toArray(new Name[selectProps.size()]);
     }
-    
+
     /**
      * Returns <code>true</code> if this query node needs items under
      * /jcr:system to be queried.
-     * 
+     *
      * @return <code>true</code> if this query node needs content under
      *         /jcr:system to be queried; <code>false</code> otherwise.
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryResultImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryResultImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryResultImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/QueryResultImpl.java Sun Jan 27 13:08:08 2008
@@ -271,14 +271,14 @@
         if (log.isDebugEnabled()) {
             log.debug("getResults(" + size + ")");
         }
-        
+
         long maxResultSize = size;
-        
+
         // is there any limit?
         if (limit > 0) {
             maxResultSize = limit;
         }
-        
+
         if (resultNodes.size() >= maxResultSize) {
             // we already have them all
             return;
@@ -323,7 +323,7 @@
             }
         }
     }
-    
+
     /**
      * Returns the total number of hits. This is the number of results you
      * will get get if you don't set any limit or offset. Keep in mind that this

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RangeQuery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RangeQuery.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RangeQuery.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RangeQuery.java Sun Jan 27 13:08:08 2008
@@ -192,7 +192,7 @@
 
     /**
      * {@inheritDoc}
-     */ 
+     */
     public void extractTerms(Set terms) {
         if (stdRangeQuery != null) {
             stdRangeQuery.extractTerms(terms);

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RowIteratorImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RowIteratorImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RowIteratorImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RowIteratorImpl.java Sun Jan 27 13:08:08 2008
@@ -141,7 +141,7 @@
         this.excerptProvider = exProvider;
         this.spellSuggestion = spellSuggestion;
     }
-    
+
     /**
      * Returns the next <code>Row</code> in the iteration.
      *

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java Sun Jan 27 13:08:08 2008
@@ -422,7 +422,7 @@
 
         indexingConfig = createIndexingConfiguration(nsMappings);
         analyzer.setIndexingConfig(indexingConfig);
-        
+
         index = new MultiIndex(indexDir, this, excludedIDs, nsMappings);
         if (index.numDocs() == 0) {
             index.createInitialIndex(
@@ -891,7 +891,7 @@
     }
 
     /**
-     * @param namespaceMappings The namespace mappings 
+     * @param namespaceMappings The namespace mappings
      * @return the fulltext indexing configuration or <code>null</code> if there
      *         is no configuration.
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldCache.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldCache.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldCache.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldCache.java Sun Jan 27 13:08:08 2008
@@ -101,11 +101,11 @@
                                                  SortComparator comparator,
                                                  boolean includeLookup)
             throws IOException {
-        
+
         if (reader instanceof ReadOnlyIndexReader) {
             reader = ((ReadOnlyIndexReader) reader).getBase();
         }
-        
+
         field = field.intern();
         SharedFieldCache.StringIndex ret = lookup(reader, field, prefix, comparator);
         if (ret == null) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldSortComparator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldSortComparator.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldSortComparator.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SharedFieldSortComparator.java Sun Jan 27 13:08:08 2008
@@ -88,7 +88,7 @@
      * @param reader the index reader.
      * @param propertyName the name of the property to sort.
      * @return a <code>ScoreDocComparator</code> for the
-     * @throws IOException 
+     * @throws IOException
      * @throws IOException
      */
     public ScoreDocComparator newComparator(final IndexReader reader, final String propertyName) throws IOException {
@@ -109,7 +109,7 @@
                     FieldNames.createNamedValue(propertyName, ""),
                     SharedFieldSortComparator.this, createComparatorValues);
         }
-        starts[readers.size()] = maxDoc; 
+        starts[readers.size()] = maxDoc;
 
         return new ScoreDocComparator() {
 
@@ -130,7 +130,7 @@
             /**
              * Returns an empty if no lookup table is available otherwise the
              * index term for the score doc <code>i</code>.
-             * 
+             *
              * @param i
              *            the score doc.
              * @return the sort value if available.
@@ -174,7 +174,7 @@
                     }
                 }
                 return hi;
-            }             
+            }
 
         };
     }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHTMLExcerpt.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHTMLExcerpt.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHTMLExcerpt.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHTMLExcerpt.java Sun Jan 27 13:08:08 2008
@@ -33,7 +33,7 @@
  * fragments based on the proximity of highlighted terms. Highlighted terms that
  * are adjacent have a higher weight. In addition, the more highlighted terms,
  * the higher the weight.
- * 
+ *
  * @see WeightedHighlighter
  */
 public class WeightedHTMLExcerpt extends AbstractExcerpt {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/AdaptingHits.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/AdaptingHits.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/AdaptingHits.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/AdaptingHits.java Sun Jan 27 13:08:08 2008
@@ -22,10 +22,10 @@
 import org.slf4j.LoggerFactory;
 
 /**
- * This is an implementation of Hits which starts with marking hits in an 
- * ArrayHits instance and switches to a BitSetHits instance if at least the 
- * threshold of 8kb for the ArrayHits is reached and a BitSetHits instance 
- * would consume less memory. 
+ * This is an implementation of Hits which starts with marking hits in an
+ * ArrayHits instance and switches to a BitSetHits instance if at least the
+ * threshold of 8kb for the ArrayHits is reached and a BitSetHits instance
+ * would consume less memory.
  */
 public class AdaptingHits implements Hits {
 
@@ -33,23 +33,23 @@
      * Logger instance for this class.
      */
     private static final Logger log = LoggerFactory.getLogger(AdaptingHits.class);
-    
+
     /**
      * The lower threshold before a conversion is tried
      */
     private static final int DEFAULT_THRESHOLD = 2048;
-    
+
     /**
      * Internal hits instance
      */
     private Hits hits;
-    
+
     /**
      * The maximum doc number in hits. Used to calculate the expected
      * BitSetHits memory footprint.
      */
     private int maxDoc;
-    
+
     /**
      * The total number of hits. Used to calculate the memory footprint of the
      * initial ArrayHits instance.
@@ -57,7 +57,7 @@
     private int docCount;
 
     private int threshold;
-    
+
     public AdaptingHits() {
         this(DEFAULT_THRESHOLD);
     }
@@ -85,7 +85,7 @@
         if (doc > maxDoc) {
             maxDoc = doc;
         }
-        
+
         if (docCount > threshold && (hits instanceof ArrayHits)) {
             int intArraySize = docCount * 4;
             int bitSetSize = maxDoc / 8;
@@ -115,7 +115,7 @@
         // delegate to the internal Hits instance
         return hits.skipTo(target);
     }
-    
+
     Hits getInternalHits() {
         return hits;
     }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHits.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHits.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHits.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHits.java Sun Jan 27 13:08:08 2008
@@ -23,11 +23,11 @@
  * memory than {@link BitSetHits} if the total number of documents is high and
  * and the number of hits is low or if your hits doc numbers are mostly in the
  * upper part of your doc number range.
- * If you don't know about your hit distribution in advance use 
+ * If you don't know about your hit distribution in advance use
  * {@link AdaptingHits} instead.
  */
 public class ArrayHits implements Hits {
-    
+
     private static final int INITIAL_SIZE = 100;
     private int[] hits;
     private int index;

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/Hits.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/Hits.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/Hits.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/Hits.java Sun Jan 27 13:08:08 2008
@@ -19,28 +19,28 @@
 import java.io.IOException;
 
 /**
- * Representation of a set of hits 
+ * Representation of a set of hits
  */
 public interface Hits {
-    
+
     /**
-     * Marks the document with doc number <code>doc</code> as a hit. 
-     * Implementations may throw an exception if you call set() after next() or 
+     * Marks the document with doc number <code>doc</code> as a hit.
+     * Implementations may throw an exception if you call set() after next() or
      * skipTo() has been called.
      */
     void set(int doc);
-    
+
     /**
      * Return the doc number of the next hit in the set. Subsequent calls never
-     * return the same doc number. 
+     * return the same doc number.
      */
     int next() throws IOException;
-    
-    /** 
+
+    /**
      * Skips to the first match beyond the current whose document number is
      * greater than or equal to the given target. Returns -1 if there is no
      * matching document number greater than target.
      */
     int skipTo(int target) throws IOException;
-    
+
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/HitsIntersection.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/HitsIntersection.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/HitsIntersection.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/HitsIntersection.java Sun Jan 27 13:08:08 2008
@@ -40,7 +40,7 @@
     public void set(int doc) {
         throw new UnsupportedOperationException();
     }
-    
+
     /**
      * {@inheritDoc}
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ScorerHits.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ScorerHits.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ScorerHits.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/hits/ScorerHits.java Sun Jan 27 13:08:08 2008
@@ -24,7 +24,7 @@
  * Wraps a {@link org.apache.lucene.search.Scorer} in a {@link Hits} instance.
  */
 public class ScorerHits implements Hits {
-    
+
     private final Scorer scorer;
 
     public ScorerHits(Scorer scorer) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeImpl.java Sun Jan 27 13:08:08 2008
@@ -25,7 +25,7 @@
 /**
  * <code>DescendantNodeImpl</code>...
  */
-public class DescendantNodeImpl 
+public class DescendantNodeImpl
         extends ConstraintImpl
         implements DescendantNode {
 

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeJoinConditionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeJoinConditionImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeJoinConditionImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/DescendantNodeJoinConditionImpl.java Sun Jan 27 13:08:08 2008
@@ -24,7 +24,7 @@
 /**
  * <code>DescendantNodeJoinConditionImpl</code>...
  */
-public class DescendantNodeJoinConditionImpl 
+public class DescendantNodeJoinConditionImpl
         extends JoinConditionImpl
         implements DescendantNodeJoinCondition {
 

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/QueryObjectModelImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/QueryObjectModelImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/QueryObjectModelImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/qom/QueryObjectModelImpl.java Sun Jan 27 13:08:08 2008
@@ -32,7 +32,7 @@
         implements QueryObjectModel {
 
     //-------------------------< QueryObjectModel >-----------------------------
-    
+
     /**
      * Gets the node-tuple source for this query.
      *

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/sql2/Parser.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/sql2/Parser.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/sql2/Parser.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/sql2/Parser.java Sun Jan 27 13:08:08 2008
@@ -71,10 +71,10 @@
 
     // The bind variables
     private HashMap bindVariables;
-    
+
     // The list of selectors of this query
     private ArrayList selectors;
-    
+
     // SQL injection protection: if disabled, literals are not allowed
     private boolean allowTextLiterals = true, allowNumberLiterals = true;
 
@@ -83,7 +83,7 @@
 
     /**
      * Create a new parser. A parser can be re-used, but it is not thread safe.
-     * 
+     *
      * @param factory the query object model factory
      * @param valueFactory the value factory
      */
@@ -94,7 +94,7 @@
 
     /**
      * Parse a JCR-SQL2 query and return the prepared query.
-     * 
+     *
      * @param query the query string
      * @return the prepared query
      * @throws RepositoryException if parsing failed
@@ -121,7 +121,7 @@
             orderings = parseOrder();
         }
         return factory.createQuery(source, constraint, orderings, columnArray);
-    }    
+    }
 
     // Page 127
     private Selector parseSelector() throws RepositoryException {
@@ -133,7 +133,7 @@
             return factory.selector(nodeTypeName);
         }
     }
-    
+
     // Page 128
     private String readName() throws RepositoryException {
         if (readIf("[")) {
@@ -161,7 +161,7 @@
             return readAny();
         }
     }
-    
+
     // Page 129
     private Source parseSource() throws RepositoryException {
         Selector selector = parseSelector();
@@ -189,7 +189,7 @@
         }
         return source;
     }
-    
+
     // Page 130
     private JoinCondition parseJoinCondition() throws RepositoryException {
         boolean identifier = currentTokenType == IDENTIFIER;
@@ -228,7 +228,7 @@
             return factory.equiJoinCondition(selector1, property1, selector2, readName());
         }
     }
-    
+
     // Page 136
     private Constraint parseConstraint() throws RepositoryException {
         Constraint a = parseAnd();
@@ -245,7 +245,7 @@
         }
         return a;
     }
-    
+
     // Page 138
     private Constraint parseCondition() throws RepositoryException {
         Constraint a;
@@ -272,7 +272,7 @@
         }
         return a;
     }
-    
+
     // Page 141
     private Constraint parseCondition(DynamicOperand left) throws RepositoryException {
         Constraint c;
@@ -336,7 +336,7 @@
         }
         return c;
     }
-    
+
     private PropertyExistence getPropertyExistence(PropertyValue p) throws InvalidQueryException, RepositoryException {
         if (p.getSelectorName() == null) {
             return factory.propertyExistence(p.getPropertyName());
@@ -344,7 +344,7 @@
             return factory.propertyExistence(p.getSelectorName(), p.getPropertyName());
         }
     }
-    
+
     // Page 144
     private Constraint parseConditionFuntionIf(String functionName) throws RepositoryException {
         Constraint c;
@@ -391,15 +391,15 @@
         read(")");
         return c;
     }
-    
+
     // Page 148
     private String readPath() throws RepositoryException {
         return readName();
     }
-    
+
     // Page 149
     private DynamicOperand parseDynamicOperand() throws RepositoryException {
-        boolean identifier = currentTokenType == IDENTIFIER;        
+        boolean identifier = currentTokenType == IDENTIFIER;
         String name = readName();
         if (identifier && readIf("(")) {
             return parseExpressionFunction(name);
@@ -407,7 +407,7 @@
             return parsePropertyValue(name);
         }
     }
-    
+
     private DynamicOperand parseExpressionFunction(String functionName) throws RepositoryException {
         DynamicOperand op;
         if ("LENGTH".equals(functionName)) {
@@ -440,7 +440,7 @@
         read(")");
         return op;
     }
-    
+
     // Page 150
     private PropertyValue parsePropertyValue(String name) throws RepositoryException {
         if (readIf(".")) {
@@ -449,7 +449,7 @@
             return factory.propertyValue(name);
         }
     }
-    
+
     // Page 155
     private StaticOperand parseStaticOperand() throws RepositoryException {
         if (currentTokenType == PLUS) {
@@ -467,7 +467,7 @@
                 // TODO decimal
                 throw getSyntaxError("number");
             }
-        } 
+        }
         if (currentTokenType == VALUE) {
             Literal literal = factory.literal(currentValue);
             read();
@@ -510,10 +510,10 @@
         orderList.toArray(orderings);
         return orderings;
     }
-    
+
     // Page 159
     private ArrayList parseColumns() throws RepositoryException {
-        ArrayList list = new ArrayList();        
+        ArrayList list = new ArrayList();
         if (readIf("*")) {
             list.add(new ColumnOrWildcard());
         } else {
@@ -540,7 +540,7 @@
         }
         return list;
     }
-    
+
     private Column[] resolveColumns(ArrayList list) throws RepositoryException {
         ArrayList columns = new ArrayList();
         for (int i = 0; i < list.size(); i++) {
@@ -572,7 +572,7 @@
         columns.toArray(array);
         return array;
     }
-    
+
     private boolean readIf(String token) throws RepositoryException {
         if (isToken(token)) {
             read();
@@ -618,7 +618,7 @@
         String s = currentValue.getString();
         read();
         return s;
-    }    
+    }
 
     private void addExpected(String token) {
         if (expected != null) {
@@ -725,7 +725,7 @@
             throw getSyntaxError();
         }
     }
-    
+
     private void read() throws RepositoryException {
         currentTokenQuoted = false;
         if (expected != null) {
@@ -881,7 +881,7 @@
             throw getSyntaxError();
         }
     }
-    
+
     private void checkLiterals(boolean text) throws InvalidQueryException {
         if (text && !allowTextLiterals || (!text && !allowNumberLiterals)) {
             throw getSyntaxError("bind variable (literals of this type not allowed)");
@@ -923,7 +923,7 @@
         currentValue = valueFactory.createValue(bd.doubleValue());
         currentTokenType = VALUE;
     }
-    
+
     private InvalidQueryException getSyntaxError() {
         if (expected == null || expected.size() == 0) {
             return getSyntaxError(null);
@@ -938,7 +938,7 @@
             return getSyntaxError(buff.toString());
         }
     }
-    
+
     private InvalidQueryException getSyntaxError(String expected) {
         int index = Math.min(parseIndex, statement.length() - 1);
         String query = statement.substring(0, index) + ">*<" + statement.substring(index).trim();
@@ -946,12 +946,12 @@
             query += "; expected: " + expected;
         }
         return new InvalidQueryException("Query:\n" + query);
-    }    
-    
+    }
+
     private static class ColumnOrWildcard {
         String selectorName;
         String propertyName;
         String columnName;
     }
-    
+
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java Sun Jan 27 13:08:08 2008
@@ -775,7 +775,7 @@
         String fName = tmp.substring(0, tmp.length() - 1);
         try {
             Name funName = resolver.getQName(fName);
-            
+
             if (FN_NOT.equals(funName) || FN_NOT_10.equals(funName)) {
                 if (queryNode instanceof NAryQueryNode) {
                     QueryNode not = factory.createNotQueryNode(queryNode);

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/SimpleJBossAccessManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/SimpleJBossAccessManager.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/SimpleJBossAccessManager.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/SimpleJBossAccessManager.java Sun Jan 27 13:08:08 2008
@@ -65,7 +65,7 @@
         } finally {
             rolefs.close();
         }
-        
+
         Iterator iterator = context.getSubject().getPrincipals().iterator();
         while (iterator.hasNext()) {
             Principal principal = (Principal) iterator.next();

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java Sun Jan 27 13:08:08 2008
@@ -67,14 +67,14 @@
 
     /** The maximum memory per cache (unless, there is some unused memory). */
     private long maxMemoryPerCache = DEFAULT_MAX_MEMORY_PER_CACHE;
-    
+
     /** The minimum resize interval time */
     private long minResizeInterval = DEFAULT_MIN_RESIZE_INTERVAL;
-     
+
         /** The last time the caches where resized. */
     private volatile long nextResize = System.currentTimeMillis() + DEFAULT_MIN_RESIZE_INTERVAL;
 
-    
+
     public long getMaxMemory() {
         return maxMemory;
     }
@@ -98,7 +98,7 @@
     public void setMinMemoryPerCache(final long minMemoryPerCache) {
         this.minMemoryPerCache = minMemoryPerCache;
     }
-    
+
     public long getMinResizeInterval() {
         return minResizeInterval;
     }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateListener.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateListener.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateListener.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateListener.java Sun Jan 27 13:08:08 2008
@@ -40,7 +40,7 @@
      * Called when a node has been modified, typically as a result of removal
      * or addition of a child node.
      * <p/>
-     * Please note, that this method is not called if 
+     * Please note, that this method is not called if
      * {@link #stateModified(ItemState)} was called.
      *
      * @param state node state that changed

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/PropertyState.java Sun Jan 27 13:08:08 2008
@@ -37,7 +37,7 @@
  * <code>PropertyState</code> represents the state of a <code>Property</code>.
  */
 public class PropertyState extends ItemState {
-    
+
     /** Logger instance */
     private static Logger log = LoggerFactory.getLogger(PropertyState.class);
 
@@ -253,7 +253,7 @@
         */
         return 350 + values.length * 100;
     }
-    
+
     //-------------------------------------------------< Serializable support >
     private void writeObject(ObjectOutputStream out) throws IOException {
         // important: fields must be written in same order as they are
@@ -320,17 +320,17 @@
                         log.error(msg, e);
                         throw new IOException(msg);
                     }
-                    
+
                 } else {
                     values[i] = InternalValue.valueOf(in.readUTF(), type);
                 }
             }
         }
     }
-    
+
     private InternalValue createInternalValueFromInputStream(final InputStream stream, final long length) throws RepositoryException {
         return InternalValue.create(new InputStream() {
-            
+
             private long consumed = 0;
 
             public int read() throws IOException {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBFileValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBFileValue.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBFileValue.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBFileValue.java Sun Jan 27 13:08:08 2008
@@ -23,8 +23,8 @@
 import javax.jcr.RepositoryException;
 
 /**
- * Represents binary data which is backed by a resource or byte[]. 
- * Unlike <code>BinaryValue</code> it has no state, i.e. 
+ * Represents binary data which is backed by a resource or byte[].
+ * Unlike <code>BinaryValue</code> it has no state, i.e.
  * the <code>getStream()</code> method always returns a fresh
  * <code>InputStream</code> instance.
  * <p/>
@@ -36,7 +36,7 @@
 
     /**
      * Returns an InputStream representation of this value.
-     * 
+     *
      * @return An InputStream representation of this value.
      */
     public abstract InputStream getStream() throws RepositoryException;
@@ -46,7 +46,7 @@
      *
      * @return The length, in bytes, of this <code>BLOBFileValue</code>,
      *         or -1L if the length can't be determined.
-     * @throws IOException 
+     * @throws IOException
      */
     public abstract long getLength();
 
@@ -72,12 +72,12 @@
      * {@inheritDoc}
      */
     public abstract boolean equals(Object obj);
-    
+
     /**
      * {@inheritDoc}
      */
     public abstract String toString();
-    
+
     /*
      * Spools the contents of this <code>BLOBFileValue</code> to the given
      * output stream.

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInDataStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInDataStore.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInDataStore.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInDataStore.java Sun Jan 27 13:08:08 2008
@@ -31,20 +31,20 @@
  * Represents binary data which is stored in the data store.
  */
 public class BLOBInDataStore extends BLOBFileValue {
-    
+
     private final DataStore store;
     private final DataIdentifier identifier;
-    
+
     /**
      * the prefix of the string representation of this value
-     */    
+     */
     private static final String PREFIX = "dataStore:";
-    
+
     /**
      * The default logger
      */
     private static Logger log = LoggerFactory.getLogger(BLOBInDataStore.class);
-    
+
 
     private BLOBInDataStore(DataStore store, DataIdentifier identifier) {
         assert store != null;
@@ -68,7 +68,7 @@
         BLOBInDataStore other = (BLOBInDataStore) obj;
         return store == other.store && identifier.equals(other.identifier);
     }
-    
+
     /**
      * Returns zero to satisfy the Object equals/hashCode contract.
      * This class is mutable and not meant to be used as a hash key.
@@ -101,20 +101,20 @@
         buff.append(PREFIX);
         buff.append(identifier.toString());
         return buff.toString();
-    }   
-    
+    }
+
     static BLOBInDataStore getInstance(DataStore store, String s) {
         String id = s.substring(PREFIX.length());
         DataIdentifier identifier = new DataIdentifier(id);
         return new BLOBInDataStore(store, identifier);
     }
-    
+
     static BLOBInDataStore getInstance(DataStore store, InputStream in) throws DataStoreException {
         DataRecord rec = store.addRecord(in);
         DataIdentifier identifier = rec.getIdentifier();
         return new BLOBInDataStore(store, identifier);
-    }    
-    
+    }
+
     /**
      * Checks if String can be converted to an instance of this class.
      * @param s
@@ -122,8 +122,8 @@
      */
     static boolean isInstance(String s) {
         return s.startsWith(PREFIX);
-    }    
-    
+    }
+
     private DataRecord getDataRecord() throws DataStoreException {
         // may not keep the record, otherwise garbage collection doesn't work
         return store.getRecord(identifier);

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInMemory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInMemory.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInMemory.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInMemory.java Sun Jan 27 13:08:08 2008
@@ -28,48 +28,48 @@
  * Represents binary data which is backed by a byte[] (in memory).
  */
 public class BLOBInMemory extends BLOBFileValue {
-    
+
     /**
      * Logger instance for this class
      */
     private static Logger log = LoggerFactory.getLogger(BLOBInMemory.class);
-    
+
     /**
      * the prefix of the string representation of this value
-     */    
+     */
     private static final String PREFIX = "0x";
-    
+
     /**
      * the data
      */
     private byte[] data;
-    
+
     /**
      * empty array
-     */    
+     */
     private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
-    
+
     /**
      * empty instance
      */
     private static final BLOBInMemory EMPTY = new BLOBInMemory(EMPTY_BYTE_ARRAY);
-    
+
     /**
      * Creates a new instance from a
      * <code>byte[]</code> array.
      *
      * @param data the byte array
-     */    
+     */
     private BLOBInMemory(byte[] data) {
         this.data = data;
     }
-    
+
     /**
      * Creates a new instance from a
      * <code>byte[]</code> array.
      *
      * @param data the byte array
-     */    
+     */
     static BLOBInMemory getInstance(byte[] data) {
         if (data.length == 0) {
             return EMPTY;
@@ -77,7 +77,7 @@
             return new BLOBInMemory(data);
         }
     }
-    
+
     /**
      * Checks if String can be converted to an instance of this class.
      * @param s
@@ -85,8 +85,8 @@
      */
     static boolean isInstance(String s) {
         return s.startsWith(PREFIX);
-    }    
-    
+    }
+
     /**
      * Convert a String to an instance of this class.
      * @param s
@@ -98,7 +98,7 @@
         int len = s.length();
         if (len % 2 != 0) {
             String msg = "unable to deserialize byte array " + s + " , length=" + s.length();
-            log.debug(msg);            
+            log.debug(msg);
             throw new IllegalArgumentException(msg);
         }
         len /= 2;
@@ -109,7 +109,7 @@
             }
         } catch (NumberFormatException e) {
             String msg = "unable to deserialize byte array " + s;
-            log.debug(msg);            
+            log.debug(msg);
             throw new IllegalArgumentException(msg);
         }
         return BLOBInMemory.getInstance(data);
@@ -158,8 +158,8 @@
             buff.append(hex[c & 0xf]);
         }
         return buff.toString();
-    }    
-    
+    }
+
     /**
      * {@inheritDoc}
      */
@@ -173,7 +173,7 @@
         }
         return false;
     }
-    
+
     /**
      * Returns zero to satisfy the Object equals/hashCode contract.
      * This class is mutable and not meant to be used as a hash key.
@@ -183,6 +183,6 @@
      */
     public int hashCode() {
         return 0;
-    }    
+    }
 
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInResource.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInResource.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/BLOBInResource.java Sun Jan 27 13:08:08 2008
@@ -30,33 +30,33 @@
  * Represents binary data which is stored in a file system resource.
  */
 public class BLOBInResource extends BLOBFileValue {
-    
+
     /**
      * The default logger
      */
     private static final Logger LOG = LoggerFactory.getLogger(BLOBInResource.class);
-    
+
     /**
      * the prefix of the string representation of this value
-     */    
+     */
     private static final String PREFIX = "fsResource:";
-    
+
     /**
      * underlying file system resource
      */
     private final FileSystemResource fsResource;
-    
+
     /**
      * the file length
-     */    
+     */
     private final long length;
-    
+
     /**
      * Creates a new instance from a stream.
      *
      * @param in the input stream
-     * @throws IOException 
-     */    
+     * @throws IOException
+     */
     private BLOBInResource(FileSystemResource fsResource) throws IOException {
         try {
             if (!fsResource.exists()) {
@@ -75,11 +75,11 @@
      * Creates a new instance from a file system resource.
      *
      * @param fsResource the resource
-     */    
+     */
     static BLOBInResource getInstance(FileSystemResource fsResource) throws IOException {
         return new BLOBInResource(fsResource);
     }
-    
+
     /**
      * {@inheritDoc}
      */
@@ -90,7 +90,7 @@
             // ignore
             LOG.warn("Error while deleting BLOBFileValue: " + fse.getMessage());
         }
-        
+
     }
 
     /**
@@ -124,8 +124,8 @@
      */
     public String toString() {
         return PREFIX +  fsResource.toString();
-    }    
-    
+    }
+
     /**
      * {@inheritDoc}
      */
@@ -139,7 +139,7 @@
         }
         return false;
     }
-    
+
     /**
      * Returns zero to satisfy the Object equals/hashCode contract.
      * This class is mutable and not meant to be used as a hash key.
@@ -149,6 +149,6 @@
      */
     public int hashCode() {
         return 0;
-    }    
-    
+    }
+
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/InternalValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/InternalValue.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/InternalValue.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/value/InternalValue.java Sun Jan 27 13:08:08 2008
@@ -75,7 +75,7 @@
     private static final InternalValue BOOLEAN_TRUE = new InternalValue(true);
 
     private static final InternalValue BOOLEAN_FALSE = new InternalValue(false);
-    
+
     /**
      * If set to 'true', the data store is used when configured in repository.xml
      */
@@ -93,7 +93,7 @@
     /**
      * Create a new internal value from the given JCR value.
      * Large binary values are stored in a temporary file.
-     * 
+     *
      * @param value the JCR value
      * @param resolver
      * @return the created internal value
@@ -106,7 +106,7 @@
     /**
      * Create a new internal value from the given JCR value.
      * If the data store is enabled, large binary values are stored in the data store.
-     * 
+     *
      * @param value the JCR value
      * @param resolver
      * @param store the data store
@@ -210,7 +210,7 @@
      * @return the created value
      */
     public static InternalValue create(byte[] value) {
-        if (USE_DATA_STORE) {        
+        if (USE_DATA_STORE) {
             return new InternalValue(BLOBInMemory.getInstance(value));
         }
         return new InternalValue(new BLOBValue(value));
@@ -218,13 +218,13 @@
 
     /**
      * Create an internal value that is backed by a temporary file.
-     * 
+     *
      * @param value the stream
      * @param store the data store
      * @return the internal value
      */
     public static InternalValue createTemporary(InputStream value) throws RepositoryException {
-        if (USE_DATA_STORE) {        
+        if (USE_DATA_STORE) {
             return new InternalValue(getBLOBFileValue(null, value));
         }
         try {
@@ -233,12 +233,12 @@
             throw new RepositoryException("Error creating temporary file", e);
         }
     }
-    
+
     /**
-     * Create an internal value that is backed by a temporary file 
+     * Create an internal value that is backed by a temporary file
      * (if data store usage is disabled or the store is null)
      * or in the data store if it is not null and enabled.
-     * 
+     *
      * @param value the stream
      * @param store the data store or null to use a temporary file
      * @return the internal value
@@ -279,7 +279,7 @@
     public static InternalValue create(FileSystemResource value) throws IOException {
         if (USE_DATA_STORE) {
             return new InternalValue(BLOBInResource.getInstance(value));
-        }        
+        }
         return new InternalValue(new BLOBValue(value));
     }
 
@@ -292,14 +292,14 @@
         assert !USE_DATA_STORE;
         return new InternalValue(new BLOBValue(value));
     }
-    
+
     /**
      * Create a binary object with the given identifier.
-     * 
+     *
      * @param store the data store
      * @param id the identifier
      * @return the value
-     */    
+     */
     public static InternalValue create(DataStore store, String id) {
         assert USE_DATA_STORE && store != null;
         return new InternalValue(getBLOBFileValue(store, id));
@@ -324,7 +324,7 @@
         }
         return ret;
     }
-    
+
     /**
      * @param values
      * @return the created value
@@ -335,7 +335,7 @@
             ret[i] = new InternalValue(values[i]);
         }
         return ret;
-    }    
+    }
 
     /**
      * @param value
@@ -392,51 +392,51 @@
     public Object internalValue() {
         return val;
     }
-    
+
     public BLOBFileValue getBLOBFileValue() {
         assert val != null && type == PropertyType.BINARY;
         return (BLOBFileValue) val;
     }
-    
+
     public UUID getUUID() {
         assert val != null && type == PropertyType.REFERENCE;
         return (UUID) val;
     }
-    
+
     public boolean getBoolean() {
         assert val != null && type == PropertyType.BOOLEAN;
         return ((Boolean) val).booleanValue();
-    }    
+    }
 
     public Name getQName() {
         assert val != null && type == PropertyType.NAME;
         return (Name) val;
     }
-    
+
     public Path getPath() {
         assert val != null && type == PropertyType.PATH;
         return (Path) val;
     }
-    
+
     public long getLong() {
         assert val != null && type == PropertyType.LONG;
         return ((Long) val).longValue();
     }
-    
+
     public double getDouble() {
         assert val != null && type == PropertyType.DOUBLE;
         return ((Double) val).doubleValue();
     }
-    
+
     public Calendar getDate() {
         assert val != null && type == PropertyType.DATE;
         return (Calendar) val;
     }
-    
+
     public String getString() {
         assert val != null && type == PropertyType.STRING;
         return (String) val;
-    }    
+    }
 
     /**
      * @return the type
@@ -593,7 +593,7 @@
         val = value;
         type = PropertyType.REFERENCE;
     }
-    
+
     private static BLOBFileValue getBLOBFileValue(DataStore store, InputStream in) throws RepositoryException {
         int maxMemorySize;
         if (store != null) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/InternalVersionHistoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/InternalVersionHistoryImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/InternalVersionHistoryImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/InternalVersionHistoryImpl.java Sun Jan 27 13:08:08 2008
@@ -62,12 +62,12 @@
      * the root version of this history
      */
     private InternalVersion rootVersion;
-    
+
     /**
      * the hashmap of all versions names
      * key = version name
      * value = version id (NodeId)
-     */  
+     */
     private HashMap nameCache = new HashMap();
 
     /**
@@ -96,7 +96,7 @@
      * the id of the versionable node
      */
     private NodeId versionableId;
-    
+
     /**
      * Creates a new VersionHistory object for the given node state.
      */
@@ -105,7 +105,7 @@
         super(vMgr, node);
         init();
     }
-    
+
     /**
      * Initialies the history and loads all internal caches
      *
@@ -118,15 +118,15 @@
 
         // get id
         historyId = node.getNodeId();
-        
+
         // get versionable id
         versionableId = NodeId.valueOf(node.getPropertyValue(NameConstants.JCR_VERSIONABLEUUID).toString());
-        
+
         // get label node
         labelNode = node.getNode(NameConstants.JCR_VERSIONLABELS, 1);
-        
+
         // init label cache
-        try {  
+        try {
             PropertyState[] labels = labelNode.getProperties();
             for (int i = 0; i < labels.length; i++) {
                 PropertyState pState = labels[i];
@@ -144,10 +144,10 @@
         } catch (ItemStateException e) {
             throw new RepositoryException(e);
         }
-        
+
         // get root version
         rootVersion = createVersionInstance(NameConstants.JCR_ROOTVERSION);
-        
+
         // get version entries
         ChildNodeEntry[] children = (ChildNodeEntry[])node.getState().getChildNodeEntries().toArray();
         for (int i = 0; i < children.length; i++) {
@@ -157,7 +157,7 @@
             }
             nameCache.put(child.getName(), child.getId());
         }
-        
+
         // fix legacy
         if (rootVersion.getSuccessors().length==0) {		
             Iterator iter = nameCache.keySet().iterator();
@@ -185,17 +185,17 @@
         }
         tempVersionCache.clear();
     }
-    
+
     /**
      * Create a version instance.
      */
     InternalVersionImpl createVersionInstance(Name name) {
         try {
-            NodeStateEx nodeStateEx = node.getNode(name, 1);      
+            NodeStateEx nodeStateEx = node.getNode(name, 1);
             InternalVersionImpl v = createVersionInstance(nodeStateEx);	
             versionCache.put(v.getId(), v);
             vMgr.versionCreated(v);
-            
+
             // add labels
             Iterator iter = labelCache.keySet().iterator();
             while (iter.hasNext()) {
@@ -208,9 +208,9 @@
             return v;
         } catch (RepositoryException e) {
             throw new IllegalArgumentException("Failed to create version " + name + ".");
-        }  
+        }
     }
-    
+
     /**
      * Create a version instance. May resurrect versions temporarily swapped
      * out when refreshing this history.
@@ -253,12 +253,12 @@
         NodeId versionId = (NodeId)nameCache.get(versionName);   	
         if (versionId == null) {
             throw new VersionException("Version " + versionName + " does not exist.");
-        }                      
-        
+        }
+
         InternalVersion v = (InternalVersion)versionCache.get(versionId);
         if (v == null) {
             v = createVersionInstance(versionName);
-        }  
+        }
         return v;
     }
 

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java Sun Jan 27 13:08:08 2008
@@ -184,10 +184,10 @@
     public VirtualItemStateProvider getVirtualItemStateProvider() {
         return versProvider;
     }
-    
+
     /**
      * Return the persistence manager.
-     * 
+     *
      * @return the persistence manager
      */
     public PersistenceManager getPersistenceManager() {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/xml/BufferedStringValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/xml/BufferedStringValue.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/xml/BufferedStringValue.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/xml/BufferedStringValue.java Sun Jan 27 13:08:08 2008
@@ -313,7 +313,7 @@
             throw new RepositoryException("Error accessing property value", e);
         }
     }
-    
+
     private static class Base64ReaderInputStream extends InputStream {
 
         private static final int BUFFER_SIZE = 1024;

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/LockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/LockTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/LockTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/LockTest.java Sun Jan 27 13:08:08 2008
@@ -174,7 +174,7 @@
      * implementing a persistent counter with a timeout when the next value of
      * the counter is retrieved. The number of values that can be retrieved by
      * this test depends on system performance and the configured persistence
-     * manager. 
+     * manager.
      */
     public void testSequenceWithTimeout() throws RepositoryException {
         final Node counter = testRootNode.addNode(nodeName1);

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/ExportImportTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/ExportImportTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/ExportImportTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/ExportImportTest.java Sun Jan 27 13:08:08 2008
@@ -33,7 +33,7 @@
 
     /**
      * Test a node type with a binary default value
-     * @throws RepositoryException 
+     * @throws RepositoryException
      */
     public void testExportImportBinary() throws RepositoryException {
         doTestExportImportBinary(0);
@@ -82,7 +82,7 @@
             assertFalse(e.getMessage(), true);
         }
     }
-    
+
     private byte[] readFromStream(InputStream in) throws IOException {
         ByteArrayOutputStream out2 = new ByteArrayOutputStream();
         while (true) {
@@ -94,7 +94,7 @@
         }
         return out2.toByteArray();
     }
-    
+
     private void clean(Node root) throws RepositoryException {
         while (root.hasNode("testBinary")) {
             root.getNode("testBinary").remove();

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GarbageCollectorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GarbageCollectorTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GarbageCollectorTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GarbageCollectorTest.java Sun Jan 27 13:08:08 2008
@@ -37,24 +37,24 @@
  * Test cases for data store garbage collection.
  */
 public class GarbageCollectorTest extends AbstractJCRTest implements ScanEventListener {
-    
+
     /** logger instance */
-    private static final Logger LOG = LoggerFactory.getLogger(GarbageCollectorTest.class);    
-    
+    private static final Logger LOG = LoggerFactory.getLogger(GarbageCollectorTest.class);
+
     public void testGC() throws Exception {
         Node root = testRootNode;
         Session session = root.getSession();
-        
+
         RepositoryImpl rep = (RepositoryImpl) session.getRepository();
         if (rep.getDataStore() == null) {
             LOG.info("testGC skipped. Data store is not used.");
             return;
         }
-        
+
         deleteMyNodes();
         runGC(session, true);
         runGC(session, true);
-        
+
         root.addNode("node1");
         Node node2 = root.addNode("node2");
         Node n = node2.addNode("nodeWithBlob");
@@ -62,15 +62,15 @@
         n = node2.addNode("nodeWithTemporaryBlob");
         n.setProperty("test", new RandomInputStream(11, 10000));
         session.save();
-        
+
         n.remove();
         session.save();
         Thread.sleep(1000);
-        
+
         GarbageCollector gc = ((SessionImpl)session).createDataStoreGarbageCollector();
         gc.setScanEventListener(this);
         gc.setTestDelay(1000);
-        
+
         LOG.debug("scanning...");
         gc.scan();
         int count = listIdentifiers(gc);
@@ -81,10 +81,10 @@
         assertTrue(gc.deleteUnused() > 0);
         int count2 = listIdentifiers(gc);
         assertEquals(count - 1, count2);
-        
+
         deleteMyNodes();
     }
-    
+
     private void runGC(Session session, boolean all) throws RepositoryException, IOException, ItemStateException {
         GarbageCollector gc = ((SessionImpl)session).createDataStoreGarbageCollector();
         gc.setScanEventListener(this);
@@ -96,7 +96,7 @@
         }
         gc.deleteUnused();
     }
-    
+
     private int listIdentifiers(GarbageCollector gc) throws DataStoreException {
         LOG.debug("identifiers:");
         Iterator it = gc.getDataStore().getAllIdentifiers();
@@ -108,18 +108,18 @@
         }
         return count;
     }
-    
+
     public void testTransientObjects() throws Exception {
-        
+
         Node root = testRootNode;
         Session session = root.getSession();
-        
+
         RepositoryImpl rep = (RepositoryImpl) session.getRepository();
         if (rep.getDataStore() == null) {
             LOG.info("testTransientObjects skipped. Data store is not used.");
             return;
         }
-        
+
         deleteMyNodes();
         runGC(session, true);
         runGC(session, true);
@@ -135,7 +135,7 @@
         runGC(session, false);
 
         s2.save();
-        
+
         InputStream in = n.getProperty("test").getStream();
         InputStream in2 = new RandomInputStream(10, 10000);
         while (true) {
@@ -146,7 +146,7 @@
                 break;
             }
         }
-        
+
         deleteMyNodes();
     }
 
@@ -156,7 +156,7 @@
             LOG.debug("scanned: " + path);
         }
     }
-    
+
     private void list(Node n) throws RepositoryException {
         if (!n.getName().startsWith("jcr:")) {
             for (NodeIterator it = n.getNodes(); it.hasNext();) {
@@ -177,9 +177,9 @@
 
     public void done() {
     }
-    
+
     private void deleteMyNodes() throws RepositoryException {
-        Node root = testRootNode;        
+        Node root = testRootNode;
         while (root.hasNode("testroot")) {
             root.getNode("testroot").remove();
         }

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/NodeTypeTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/NodeTypeTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/NodeTypeTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/NodeTypeTest.java Sun Jan 27 13:08:08 2008
@@ -29,10 +29,10 @@
 
 public class NodeTypeTest extends AbstractJCRTest {
 
-    
+
     /**
      * Test a node type with a binary default value
-     * @throws RepositoryException 
+     * @throws RepositoryException
      */
     public void testNodeTypesWithBinaryDefaultValue()
             throws RepositoryException, IOException {
@@ -40,7 +40,7 @@
         doTestNodeTypesWithBinaryDefaultValue(10);
         doTestNodeTypesWithBinaryDefaultValue(10000);
     }
-    
+
     public void doTestNodeTypesWithBinaryDefaultValue(int len)
             throws RepositoryException, IOException {
         char[] chars = new char[len];

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/RandomInputStream.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/RandomInputStream.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/RandomInputStream.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/RandomInputStream.java Sun Jan 27 13:08:08 2008
@@ -54,7 +54,7 @@
                 if (x == y) {
                     break;
                 }
-            } 
+            }
             if (x != y) {
                 throw new IOException("Incorrect byte at position " + pos + ": x=" + x + " y=" + y);
             }

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/PrepareTestRepository.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/PrepareTestRepository.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/PrepareTestRepository.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/PrepareTestRepository.java Sun Jan 27 13:08:08 2008
@@ -33,7 +33,7 @@
 
 /**
  * "Test case" that makes sure that the test repository is properly
- * initialized for the JCR API tests. 
+ * initialized for the JCR API tests.
  */
 public class PrepareTestRepository extends AbstractJCRTest {
 

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/observation/MixinTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/observation/MixinTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/observation/MixinTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/observation/MixinTest.java Sun Jan 27 13:08:08 2008
@@ -107,7 +107,7 @@
      * Checks if an event listener registered for a mixin type T also gets
      * notifications for an event on a node with a mixin type which is derived
      * from T.
-     */ 
+     */
     public void testDerivedMixin() throws RepositoryException {
         Node node1 = testRootNode.addNode(nodeName1, testNodeType);
         node1.addMixin(mixVersionable);

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/ChildAxisQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/ChildAxisQueryTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/ChildAxisQueryTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/ChildAxisQueryTest.java Sun Jan 27 13:08:08 2008
@@ -232,15 +232,15 @@
         executeXPathQuery(base + "*/*, 'lazy')]",
                 new Node[]{});
     }
-    
+
     public void testSimpleQuery() throws Exception {
         Node foo = testRootNode.addNode("foo");
         testRootNode.addNode("bar");
-       
+
         testRootNode.save();
 
         String sql = "SELECT * FROM nt:unstructured WHERE jcr:path LIKE '"+testRoot+"/foo'";
         executeSQLQuery(sql, new Node[] {foo});
     }
-    
+
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/LimitAndOffsetTest.java Sun Jan 27 13:08:08 2008
@@ -66,7 +66,7 @@
     protected void checkResult(QueryResult result, Node[] expectedNodes) throws RepositoryException {
         assertEquals(expectedNodes.length, result.getNodes().getSize());
     }
-    
+
     public void testLimit() throws Exception {
         query.setLimit(1);
         QueryResult result = query.execute();

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/PathQueryNodeTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/PathQueryNodeTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/PathQueryNodeTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/PathQueryNodeTest.java Sun Jan 27 13:08:08 2008
@@ -37,7 +37,7 @@
         public String getPrefix(String uri) {
             throw new UnsupportedOperationException();
         }
-        
+
         public String getURI(String prefix) {
             if (Name.NS_JCR_PREFIX.equals(prefix))
                 return Name.NS_JCR_URI;

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SimpleQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SimpleQueryTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SimpleQueryTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SimpleQueryTest.java Sun Jan 27 13:08:08 2008
@@ -345,7 +345,7 @@
         bar.setProperty("text", "the quick brown fox jumps over the lazy dog.");
         // documents which field name is not exactly "mytext" should not match (JCR-1051)
         bar.setProperty("mytextwhichstartswithmytext", "the quick brown fox jumps over the lazy dog.");
-        
+
         testRootNode.save();
 
         String sql = "SELECT * FROM nt:unstructured WHERE mytext is not null";

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHitsTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHitsTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHitsTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/lucene/hits/ArrayHitsTest.java Sun Jan 27 13:08:08 2008
@@ -26,5 +26,5 @@
         int doc = hits.skipTo(2);
         assertEquals(-1, doc);
     }
-    
+
 }

Modified: jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/AnonymousConnection.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/AnonymousConnection.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/AnonymousConnection.java (original)
+++ jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/AnonymousConnection.java Sun Jan 27 13:08:08 2008
@@ -155,7 +155,7 @@
     public boolean isSameRM(XAResource xares) throws XAException {
         return xares instanceof AnonymousConnection;
     }
-    
+
     //--------------------------------------------------------- not implemented
 
     public void start(Xid xid, int flags) throws XAException {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link EventIterator}s. 
+ * into {@link EventIterator}s.
  */
 public class EventIteratorAdapter extends RangeIteratorDecorator
         implements EventIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventListenerIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventListenerIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventListenerIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/EventListenerIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link EventListenerIterator}s. 
+ * into {@link EventListenerIterator}s.
  */
 public class EventListenerIteratorAdapter extends RangeIteratorDecorator
         implements EventListenerIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link NodeIterator}s. 
+ * into {@link NodeIterator}s.
  */
 public class NodeIteratorAdapter extends RangeIteratorDecorator
         implements NodeIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeTypeIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeTypeIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeTypeIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/NodeTypeIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link NodeTypeIterator}s. 
+ * into {@link NodeTypeIterator}s.
  */
 public class NodeTypeIteratorAdapter extends RangeIteratorDecorator
         implements NodeTypeIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/PropertyIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link PropertyIterator}s. 
+ * into {@link PropertyIterator}s.
  */
 public class PropertyIteratorAdapter extends RangeIteratorDecorator
         implements PropertyIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RangeIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RangeIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RangeIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RangeIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -123,7 +123,7 @@
     /**
      * Checks if this iterator has more elements. If there are no more
      * elements and the size of the iterator is unknown, then the size is
-     * set to the current position. 
+     * set to the current position.
      *
      * @return <code>true</code> if this iterator has more elements,
      *         <code>false</code> otherwise

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RowIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RowIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RowIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/RowIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link RowIterator}s. 
+ * into {@link RowIterator}s.
  */
 public class RowIteratorAdapter extends RangeIteratorDecorator
         implements RowIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/VersionIteratorAdapter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/VersionIteratorAdapter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/VersionIteratorAdapter.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/iterator/VersionIteratorAdapter.java Sun Jan 27 13:08:08 2008
@@ -26,7 +26,7 @@
 
 /**
  * Adapter class for turning {@link RangeIterator}s or {@link Iterator}s
- * into {@link VersionIterator}s. 
+ * into {@link VersionIterator}s.
  */
 public class VersionIteratorAdapter extends RangeIteratorDecorator
         implements VersionIterator {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/EmptyRepository.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/EmptyRepository.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/EmptyRepository.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/EmptyRepository.java Sun Jan 27 13:08:08 2008
@@ -43,7 +43,7 @@
     /**
      * Returns an empty array since this repository contains no descriptors.
      *
-     * @return empty array 
+     * @return empty array
      */
     public String[] getDescriptorKeys() {
         return new String[0];

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/ProxyRepository.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/ProxyRepository.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/ProxyRepository.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository/ProxyRepository.java Sun Jan 27 13:08:08 2008
@@ -47,7 +47,7 @@
     /**
      * Creates a proxy for the repository (or repositories) accessible
      * through the given factory.
-     * 
+     *
      * @param factory repository factory
      */
     public ProxyRepository(RepositoryFactory factory) {

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/AbstractNamespaceResolver.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/AbstractNamespaceResolver.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/AbstractNamespaceResolver.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/AbstractNamespaceResolver.java Sun Jan 27 13:08:08 2008
@@ -33,7 +33,7 @@
  * constructor will not enable listener support and all listener related
  * methods will throw an {@link UnsupportedOperationException} in that case.
  *
- * @deprecated Use the AbstractNamespaceResolver class from 
+ * @deprecated Use the AbstractNamespaceResolver class from
  *             the org.apache.jackrabbit.spi.commons.namespace package of
  *             the jackrabbit-spi-commons component.
  */

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/CachingNameResolver.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/CachingNameResolver.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/CachingNameResolver.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/name/CachingNameResolver.java Sun Jan 27 13:08:08 2008
@@ -23,7 +23,7 @@
  * parsing and formatting of JCR names. Uncached names are resolved using
  * the underlying decorated name resolver.
  *
- * @deprecated Use the CachingNameResolver class from 
+ * @deprecated Use the CachingNameResolver class from
  *             the org.apache.jackrabbit.spi.commons.conversion package of
  *             the jackrabbit-spi-commons component.
  */



Mime
View raw message