jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1837488 - in /jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault: fs/io/DocViewFormat.java packaging/registry/impl/AbstractPackageRegistry.java
Date Mon, 06 Aug 2018 07:11:45 GMT
Author: tripod
Date: Mon Aug  6 07:11:45 2018
New Revision: 1837488

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

Modified:
    jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/DocViewFormat.java
    jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/AbstractPackageRegistry.java

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/DocViewFormat.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/DocViewFormat.java?rev=1837488&r1=1837487&r2=1837488&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/DocViewFormat.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/DocViewFormat.java
Mon Aug  6 07:11:45 2018
@@ -82,6 +82,7 @@ public class DocViewFormat {
      * The file is replaced on disk but only if wasn't already formatted correctly and if
{@code dryRun} is {@code false}.
      *
      * @param file the file to format
+     * @param dryRun If {@code true}, then the file is never replaced on disk.
      * @return {@code true} if the formatted version differs from the original.
      * @throws IOException if an I/O error occurs
      */
@@ -106,6 +107,7 @@ public class DocViewFormat {
      *
      * @param directory the start directory
      * @param filenamePatterns list of regexp patterns
+     * @param dryRun If {@code true}, then the file is never replaced on disk.
      * @return a list of relative paths of those files which are not formatted correctly
according to {@link #format(File, boolean)}
      * @throws IOException in case there is an exception during traversal or formatting.
That means formatting will fail on the first error that appeared
      */
@@ -115,7 +117,7 @@ public class DocViewFormat {
             @Override protected void process(File file) throws IOException {
                 if (format(file, dryRun)) {
                     changed.add(file.getPath());
-                };
+                }
             }
         });
         return changed;

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/AbstractPackageRegistry.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/AbstractPackageRegistry.java?rev=1837488&r1=1837487&r2=1837488&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/AbstractPackageRegistry.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/AbstractPackageRegistry.java
Mon Aug  6 07:11:45 2018
@@ -40,7 +40,7 @@ import org.apache.jackrabbit.vault.packa
 import org.apache.jackrabbit.vault.packaging.registry.RegisteredPackage;
 
 /**
- * Abstraction for shared methods of PackageRegistry & InternalPackageRegistry implementations
+ * Abstraction for shared methods of PackageRegistry & InternalPackageRegistry implementations
  */
 public abstract class AbstractPackageRegistry implements PackageRegistry, InternalPackageRegistry
{
 



Mime
View raw message