jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r833184 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version: VersionHistoryImpl.java VersionImpl.java
Date Thu, 05 Nov 2009 21:30:42 GMT
Author: angela
Date: Thu Nov  5 21:30:42 2009
New Revision: 833184

URL: http://svn.apache.org/viewvc?rev=833184&view=rev
Log:
fix typos in comments and javadoc, improve readability of comments

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionHistoryImpl.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionHistoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionHistoryImpl.java?rev=833184&r1=833183&r2=833184&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionHistoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionHistoryImpl.java
Thu Nov  5 21:30:42 2009
@@ -175,7 +175,7 @@
         checkStatus();
         Name qLabel = getQLabel(label);
         NodeState vState = getVersionState(versionName);
-        // delegate to version manager that operates on workspace directely
+        // delegate to version manager that operates on workspace directly
         session.getVersionStateManager().addVersionLabel((NodeState) getItemState(), vState,
qLabel, moveLabel);
     }
 
@@ -187,7 +187,7 @@
         Name qLabel = getQLabel(label);
         Version version = getVersionByLabel(qLabel);
         NodeState vState = getVersionState(version.getName());
-        // delegate to version manager that operates on workspace directely
+        // delegate to version manager that operates on workspace directly
         session.getVersionStateManager().removeVersionLabel((NodeState) getItemState(), vState,
qLabel);
     }
 

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java?rev=833184&r1=833183&r2=833184&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionImpl.java
Thu Nov  5 21:30:42 2009
@@ -130,7 +130,7 @@
         checkStatus();
         if (otherItem instanceof VersionImpl) {
             // since all versions are referenceable, protected and live
-            // in the same workspace, a simple comparision of the UUIDs is sufficient
+            // in the same workspace, a simple comparison of the UUIDs is sufficient
             VersionImpl other = ((VersionImpl) otherItem);
             try {
                 return getUUID().equals(other.getUUID());



Mime
View raw message