jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r629098 - in /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property: LengthsProperty.java ValuesProperty.java
Date Tue, 19 Feb 2008 13:44:38 GMT
Author: angela
Date: Tue Feb 19 05:44:30 2008
New Revision: 629098

URL: http://svn.apache.org/viewvc?rev=629098&view=rev
Log:
fixing javadoc and indention

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/LengthsProperty.java
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/ValuesProperty.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/LengthsProperty.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/LengthsProperty.java?rev=629098&r1=629097&r2=629098&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/LengthsProperty.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/LengthsProperty.java
Tue Feb 19 05:44:30 2008
@@ -18,6 +18,7 @@
 
 import org.apache.jackrabbit.webdav.jcr.ItemResourceConstants;
 import org.apache.jackrabbit.webdav.property.AbstractDavProperty;
+import org.apache.jackrabbit.webdav.property.DavProperty;
 import org.apache.jackrabbit.webdav.xml.DomUtil;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -37,8 +38,8 @@
      * @param lengths as retrieved from the JCR property
      */
     public LengthsProperty(long[] lengths) {
-	super(JCR_LENGTHS, true);
-	this.value = lengths;
+        super(JCR_LENGTHS, true);
+        this.value = lengths;
     }
 
     /**
@@ -48,7 +49,7 @@
      * @return an array of {@link long}s
      */
     public Object getValue() {
-	return value;
+        return value;
     }
 
     /**
@@ -58,8 +59,8 @@
         Element elem = getName().toXml(document);
         for (int i = 0; i < value.length; i++) {
             String txtContent = String.valueOf(value[i]);
-	    DomUtil.addChildElement(elem, XML_LENGTH, ItemResourceConstants.NAMESPACE, txtContent);
-	}
+            DomUtil.addChildElement(elem, XML_LENGTH, ItemResourceConstants.NAMESPACE, txtContent);
+        }
         return elem;
     }
 

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/ValuesProperty.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/ValuesProperty.java?rev=629098&r1=629097&r2=629098&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/ValuesProperty.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/property/ValuesProperty.java
Tue Feb 19 05:44:30 2008
@@ -219,7 +219,8 @@
      * property.
      *
      * @return an array of {@link Value}s
-     * @see #getJcrValues(int)
+     * @see #getJcrValues()
+     * @see #getJcrValue()
      */
     public Object getValue() {
         return jcrValues;



Mime
View raw message