You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by tr...@apache.org on 2016/10/17 03:07:26 UTC
svn commit: r1765204 [2/6] - in /jackrabbit/commons/filevault/trunk:
vault-cli/src/main/java/org/apache/jackrabbit/vault/cli/
vault-cli/src/main/java/org/apache/jackrabbit/vault/cli/extended/
vault-cli/src/main/java/org/apache/jackrabbit/vault/util/con...
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Artifact.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Artifact.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Artifact.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Artifact.java Mon Oct 17 03:07:22 2016
@@ -36,7 +36,7 @@ import javax.jcr.RepositoryException;
* Artifacts are used for exporting (output) and importing (input). Output
* artifacts are generated by the vault fs, input artifacts are used by the
* respective import layer.
- * <p/>
+ * <p>
* Depending on the type of the artifact and of it's source different access
* methods for it's content are preferred:
* If {@link AccessType#NONE} is set, no content is available. this is
@@ -47,7 +47,7 @@ import javax.jcr.RepositoryException;
* Tree.If {@link AccessType#STREAM} is set then clients should use the
* {@link #getInputStream()} method in to retrieve the content. this is mostly
* the case for input-artifacts or for {@link ArtifactType#BINARY} artifacts.
- * <p/>
+ * <p>
* Each artifact contains a (repository) name and a possible extension. The name
* and the extension must be preserved after a export/import roundtrip.
*/
@@ -97,20 +97,20 @@ public interface Artifact extends Dumpab
/**
* Returns the length of the serialized data if it's known without doing the
* actual serialization.
- * @return the length or <code>-1</code> if the length cannot be determined.
+ * @return the length or {@code -1} if the length cannot be determined.
*/
long getContentLength();
/**
- * Returns the content type of the serialized data or <code>null</code> if
+ * Returns the content type of the serialized data or {@code null} if
* the type is not known or cannot be determined.
- * @return the content type or <code>null</code>.
+ * @return the content type or {@code null}.
*/
String getContentType();
/**
- * Returns the last modified date or <code>0</code> if not known.
- * @return the last modified date or <code>0</code>
+ * Returns the last modified date or {@code 0} if not known.
+ * @return the last modified date or {@code 0}
*/
long getLastModified();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactHandler.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactHandler.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactHandler.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactHandler.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import javax.jcr.RepositoryException;
import javax.jcr.Session;
/**
- * <code>ArtifactHandler</code>s are used to import artifacts into the
+ * {@code ArtifactHandler}s are used to import artifacts into the
* jcr repository.
*
*/
@@ -35,7 +35,7 @@ public interface ArtifactHandler extends
* @param session the session to use for import
* @param aggregate the aggregate
* @param artifacts the artifacts to import
- * @return the import info on successful import, <code>null</code> otherwise
+ * @return the import info on successful import, {@code null} otherwise
* @throws RepositoryException if an error occurs.
* @throws IOException if a I/O error occurs
*/
@@ -49,7 +49,7 @@ public interface ArtifactHandler extends
* @param parent the parent aggregate of the new file to import
* @param name the name of the new node
* @param artifacts the artifacts to import
- * @return the import info on successful import, <code>null</code> otherwise
+ * @return the import info on successful import, {@code null} otherwise
* @throws RepositoryException if an error occurs.
* @throws IOException if a I/O error occurs
*/
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactIterator.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactIterator.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactIterator.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactIterator.java Mon Oct 17 03:07:22 2016
@@ -21,7 +21,7 @@ import java.util.Iterator;
import java.util.NoSuchElementException;
/**
- * <code>ArtifactIterator</code>...
+ * {@code ArtifactIterator}...
*
*/
public interface ArtifactIterator extends Iterator {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactSet.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactSet.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactSet.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ArtifactSet.java Mon Oct 17 03:07:22 2016
@@ -20,7 +20,7 @@ package org.apache.jackrabbit.vault.fs.a
import java.util.Collection;
/**
- * <code>ArtifactSet</code>...
+ * {@code ArtifactSet}...
*/
public interface ArtifactSet extends Dumpable {
@@ -54,20 +54,20 @@ public interface ArtifactSet extends Dum
void add(Artifact artifact);
/**
- * Returns the primary data artifact or <code>null</code>.
- * @return the primary data artifact or <code>null</code>.
+ * Returns the primary data artifact or {@code null}.
+ * @return the primary data artifact or {@code null}.
*/
Artifact getPrimaryData();
/**
- * Returns the directory artifact or <code>null</code>.
- * @return the directory artifact or <code>null</code>.
+ * Returns the directory artifact or {@code null}.
+ * @return the directory artifact or {@code null}.
*/
Artifact getDirectory();
/**
* Checks if this set is empty.
- * @return <code>true</code> if this set is empty.
+ * @return {@code true} if this set is empty.
*/
boolean isEmpty();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/DumpContext.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/DumpContext.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/DumpContext.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/DumpContext.java Mon Oct 17 03:07:22 2016
@@ -21,7 +21,7 @@ import java.io.PrintWriter;
import java.util.LinkedList;
/**
- * <code>DumpHandler</code>...
+ * {@code DumpHandler}...
*
*/
public class DumpContext {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Dumpable.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Dumpable.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Dumpable.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Dumpable.java Mon Oct 17 03:07:22 2016
@@ -18,7 +18,7 @@
package org.apache.jackrabbit.vault.fs.api;
/**
- * <code>Dumpable</code>...
+ * {@code Dumpable}...
*
*/
public interface Dumpable {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Filter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Filter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Filter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/Filter.java Mon Oct 17 03:07:22 2016
@@ -18,7 +18,7 @@
package org.apache.jackrabbit.vault.fs.api;
/**
- * <code>Filter</code>...
+ * {@code Filter}...
*/
public interface Filter extends Dumpable {
}
\ No newline at end of file
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/FilterSet.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/FilterSet.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/FilterSet.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/FilterSet.java Mon Oct 17 03:07:22 2016
@@ -26,7 +26,7 @@ import java.util.List;
* The item filter set holds a set of item filters each attributed as include
* or exclude filter. The evaluation of the set allows included items and
* rejects excluded items.
- * <p/>
+ * <p>
* Additionally it contains a "root" path for which the filters are evaluated.
* if an item has not the node addressed by the root path as ancestor, it is
* always excluded.
@@ -137,7 +137,7 @@ public abstract class FilterSet<E extend
/**
* Checks if this filter set is sealed.
- * @return <code>true</code> if sealed.
+ * @return {@code true} if sealed.
*/
public boolean isSealed() {
return sealed;
@@ -146,7 +146,7 @@ public abstract class FilterSet<E extend
/**
* Adds (replaces) all entries from the given set to this one.
* @param set the set of entries
- * @return <code>this</code> suitable for chaining.
+ * @return {@code this} suitable for chaining.
*/
public FilterSet addAll(FilterSet<E> set) {
if (sealed) {
@@ -164,7 +164,7 @@ public abstract class FilterSet<E extend
/**
* Adds a new item filter as included entry.
* @param filter the filter
- * @return <code>this</code> suitable for chaining.
+ * @return {@code this} suitable for chaining.
*/
public FilterSet addInclude(E filter) {
addEntry(new Entry<E>(filter, true));
@@ -174,7 +174,7 @@ public abstract class FilterSet<E extend
/**
* Adds a new item filter as excluded entry.
* @param filter the filter
- * @return <code>this</code> suitable for chaining.
+ * @return {@code this} suitable for chaining.
*/
public FilterSet addExclude(E filter) {
addEntry(new Entry<E>(filter, false));
@@ -206,7 +206,7 @@ public abstract class FilterSet<E extend
/**
* Checks if this filter set has any entries defined.
- * @return <code>true</code> if empty
+ * @return {@code true} if empty
*/
public boolean isEmpty() {
return entries == null || entries.isEmpty();
@@ -214,10 +214,10 @@ public abstract class FilterSet<E extend
/**
* Checks if the given item is covered by this filter set. I.e. if the node
- * addressed by the <code>root</code> path is an ancestor of the given item.
+ * addressed by the {@code root} path is an ancestor of the given item.
*
* @param path path of the item
- * @return <code>true</code> if this set covers the given item
+ * @return {@code true} if this set covers the given item
*/
public boolean covers(String path) {
return path.equals(root) || path.startsWith(rootPattern);
@@ -226,7 +226,7 @@ public abstract class FilterSet<E extend
/**
* Checks if the given item is an ancestor of the root node.
* @param path path of the item to check
- * @return <code>true</code> if the given item is an ancestor
+ * @return {@code true} if the given item is an ancestor
*/
public boolean isAncestor(String path) {
return path.equals(root) || root.startsWith(path + "/") || path.equals("/");
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportInfo.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportInfo.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportInfo.java Mon Oct 17 03:07:22 2016
@@ -22,12 +22,13 @@ import java.util.Map;
import java.util.TreeMap;
/**
- * <code>ImportInfo</code>...
+ * {@code ImportInfo}...
*/
public interface ImportInfo {
/**
* @deprecated since 3.1
+ * @return the name list
*/
@Deprecated
NodeNameList getNameList();
@@ -97,6 +98,8 @@ public interface ImportInfo {
TreeMap<String, Type> getModifications();
/**
+ * @param path the path
+ * @return the error exception
* @deprecated since 3.1. use getInfo(path).getError();
*/
@Deprecated
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportMode.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportMode.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportMode.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ImportMode.java Mon Oct 17 03:07:22 2016
@@ -18,7 +18,7 @@
package org.apache.jackrabbit.vault.fs.api;
/**
- * <code>ImportMode</code> is used to define how importing content is applied
+ * {@code ImportMode} is used to define how importing content is applied
* to the existing content in the repository.
*/
public enum ImportMode {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilter.java Mon Oct 17 03:07:22 2016
@@ -33,7 +33,7 @@ public interface ItemFilter extends Filt
public static final ItemFilter ALL = new ItemFilter() {
/**
- * Returns always <code>true</code>
+ * Returns always {@code true}
*/
public boolean matches(Item item, int depth) throws RepositoryException {
return true;
@@ -53,7 +53,7 @@ public interface ItemFilter extends Filt
public static final ItemFilter NONE = new ItemFilter() {
/**
- * Returns always <code>false</code>
+ * Returns always {@code false}
*/
public boolean matches(Item item, int depth) throws RepositoryException {
return false;
@@ -75,8 +75,8 @@ public interface ItemFilter extends Filt
*
* @param item the item to check
* @param depth a relative depth.
- * @return <code>true</code> if this filter matches the criteria;
- * <code>false</code> otherwise.
+ * @return {@code true} if this filter matches the criteria;
+ * {@code false} otherwise.
* @throws RepositoryException if an error occurs.
*/
public boolean matches(Item item, int depth) throws RepositoryException;
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilterSet.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilterSet.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilterSet.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ItemFilterSet.java Mon Oct 17 03:07:22 2016
@@ -26,7 +26,7 @@ import javax.jcr.RepositoryException;
* The item filter set holds a set of item filters each attributes as include
* or exclude filter. The evaluation of the set allows included items and
* rejects excluded items.
- * <p/>
+ * <p>
* Additionally it contains a "root" path for which the filters are evaluated.
* if an item has not the node addressed by the root path as ancestor, it is
* always excluded.
@@ -64,15 +64,15 @@ public class ItemFilterSet extends Filte
/**
* Evaluates the filters if this set does {@link #covers(String) cover} the
- * given item. otherwise <code>false</code> is returned.
+ * given item. otherwise {@code false} is returned.
* The result of the evaluation is the polarity of the last matched item.
- * If no filter matches it returns <code>true</code>
+ * If no filter matches it returns {@code true}
* if the first filter is an exclude filter or if no filter is defined;
- * <code>false</code> if the first filter is an include filter.
+ * {@code false} if the first filter is an include filter.
*
* @param item the item to check
* @param depth the depth to check
- * @return <code>true</code> if this set matches the item
+ * @return {@code true} if this set matches the item
* @throws RepositoryException if an error occurs.
*/
public boolean contains(Item item, int depth) throws RepositoryException {
@@ -80,16 +80,16 @@ public class ItemFilterSet extends Filte
}
/**
* Evaluates the filters if this set does {@link #covers(String) cover} the
- * given item. otherwise <code>false</code> is returned.
+ * given item. otherwise {@code false} is returned.
* The result of the evaluation is the polarity of the last matched item.
- * If no filter matches it returns <code>true</code>
+ * If no filter matches it returns {@code true}
* if the first filter is an exclude filter or if no filter is defined;
- * <code>false</code> if the first filter is an include filter.
+ * {@code false} if the first filter is an include filter.
*
* @param item the item to check
- * @param path of the item or <code>null</code>
+ * @param path of the item or {@code null}
* @param depth the depth to check
- * @return <code>true</code> if this set matches the item
+ * @return {@code true} if this set matches the item
* @throws RepositoryException if an error occurs.
*/
public boolean contains(Item item, String path, int depth) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeNameList.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeNameList.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeNameList.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeNameList.java Mon Oct 17 03:07:22 2016
@@ -28,7 +28,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
- * <code>SiblingNames</code>...
+ * {@code SiblingNames}...
*/
public class NodeNameList {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeTypesCollector.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeTypesCollector.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeTypesCollector.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/NodeTypesCollector.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import javax.jcr.Node;
import javax.jcr.RepositoryException;
/**
- * <code>NodeTypesCollector</code>...
+ * {@code NodeTypesCollector}...
*/
public interface NodeTypesCollector {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilter.java Mon Oct 17 03:07:22 2016
@@ -30,7 +30,7 @@ public interface PathFilter extends Filt
public static final PathFilter ALL = new PathFilter() {
/**
- * Returns always <code>true</code>
+ * Returns always {@code true}
*/
public boolean matches(String path) {
return true;
@@ -64,7 +64,7 @@ public interface PathFilter extends Filt
public static final PathFilter NONE = new PathFilter() {
/**
- * Returns always <code>false</code>
+ * Returns always {@code false}
*/
public boolean matches(String path) {
return false;
@@ -96,14 +96,14 @@ public interface PathFilter extends Filt
* Checks if the given path matches this filters criteria.
*
* @param path the path to check
- * @return <code>true</code> if this filter matches the criteria;
- * <code>false</code> otherwise.
+ * @return {@code true} if this filter matches the criteria;
+ * {@code false} otherwise.
*/
boolean matches(String path);
/**
* Checks if the pattern is absolute, i.e. does not start with a wildcard.
- * @return <code>true</code> if pattern is absolute
+ * @return {@code true} if pattern is absolute
*/
boolean isAbsolute();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilterSet.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilterSet.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilterSet.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/PathFilterSet.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import java.util.List;
* The path filter set holds a set of path filters each attributes as include
* or exclude filter. The evaluation of the set allows included paths and
* rejects excluded paths.
- * <p/>
+ * <p>
* Additionally it contains a "root" path for which the filters are evaluated.
* if an item has not the node addressed by the root path as ancestor, it is
* always excluded.
@@ -66,14 +66,14 @@ public class PathFilterSet extends Filte
/**
* Evaluates the filters if this set does {@link #covers(String) cover} the
- * given item. otherwise <code>false</code> is returned.
+ * given item. otherwise {@code false} is returned.
* The result of the evaluation is the polarity of the last matched path.
- * If no filter matches it returns <code>true</code>
+ * If no filter matches it returns {@code true}
* if the first filter is an exclude filter or if no filter is defined;
- * <code>false</code> if the first filter is an include filter.
+ * {@code false} if the first filter is an include filter.
*
* @param path the path to check
- * @return <code>true</code> if this set matches the item
+ * @return {@code true} if this set matches the item
*/
public boolean contains(String path) {
if (!covers(path)) {
@@ -136,7 +136,7 @@ public class PathFilterSet extends Filte
* Checks if this path filter set only contains entries that are relative
* include patterns, eg: ".* /foo.*". in this case the aggregator will use a
* different strategy when providing non matching leave nodes.
- * @return <code>true</code> if only contains relative patterns
+ * @return {@code true} if only contains relative patterns
*/
public boolean hasOnlyRelativePatterns() {
seal();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ProgressTrackerListener.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ProgressTrackerListener.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ProgressTrackerListener.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/ProgressTrackerListener.java Mon Oct 17 03:07:22 2016
@@ -18,7 +18,7 @@
package org.apache.jackrabbit.vault.fs.api;
/**
- * A <code>ProgressTrackerListener</code> can be provided by clients to
+ * A {@code ProgressTrackerListener} can be provided by clients to
* receive messages and errors during operations.
*/
public interface ProgressTrackerListener {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryAddress.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryAddress.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryAddress.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryAddress.java Mon Oct 17 03:07:22 2016
@@ -34,7 +34,7 @@ import javax.jcr.SimpleCredentials;
* <li> scheme://host:port/prefix
* <li> scheme://host:port/prefix/workspace
* <li> scheme://host:port/prefix/workspace/jcr_root/path
- * <ul>
+ * </ul>
*/
public class RepositoryAddress {
@@ -220,9 +220,9 @@ public class RepositoryAddress {
}
/**
- * Returns the name of the workspace or <code>null</code> if the default
+ * Returns the name of the workspace or {@code null} if the default
* workspace is used.
- * @return the name of the workspace or <code>null</code>
+ * @return the name of the workspace or {@code null}
*/
public String getWorkspace() {
return "-".equals(workspace) ? null : workspace;
@@ -247,7 +247,7 @@ public class RepositoryAddress {
}
/**
- * Returns JCR credentials from the URI or <code>null</code> if no user info
+ * Returns JCR credentials from the URI or {@code null} if no user info
* is specified.
* @return the creds
*/
@@ -327,15 +327,15 @@ public class RepositoryAddress {
/**
- * Does an URL encoding of the <code>string</code> using the
- * <code>escape</code> character. The characters that don't need encoding
+ * Does an URL encoding of the {@code string} using the
+ * {@code escape} character. The characters that don't need encoding
* are those defined 'unreserved' in section 2.3 of the 'URI generic syntax'
- * RFC 2396, but without the escape character. If <code>isPath</code> is
- * <code>true</code>, additionally the slash '/' is ignored, too.
+ * RFC 2396, but without the escape character. If {@code isPath} is
+ * {@code true}, additionally the slash '/' is ignored, too.
*
* @param string the string to encode.
* @return the escaped string
- * @throws NullPointerException if <code>string</code> is <code>null</code>.
+ * @throws NullPointerException if {@code string} is @{code null}.
*/
private static String escapePath(String string) {
try {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryFactory.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryFactory.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/RepositoryFactory.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import javax.jcr.Repository;
import javax.jcr.RepositoryException;
/**
- * <code>RepositoryProvider</code>...
+ * {@code RepositoryProvider}...
*/
public interface RepositoryFactory {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFile.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFile.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFile.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFile.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import java.util.Collection;
import javax.jcr.RepositoryException;
/**
- * <code>VaultFile</code>...
+ * {@code VaultFile}...
*/
public interface VaultFile extends Dumpable {
/**
@@ -44,26 +44,26 @@ public interface VaultFile extends Dumpa
/**
* Returns the underlying artifact for this os file. If this file represents
- * the <em>Meta-Directory</em> <code>null</code> is returned.
- * @return the artifact or <code>null</code>.
+ * the <em>Meta-Directory</em> {@code null} is returned.
+ * @return the artifact or {@code null}.
*/
Artifact getArtifact();
/**
* Checks if this file is a directory.
- * @return <code>true</code> if this file is a directory.
+ * @return {@code true} if this file is a directory.
*/
boolean isDirectory();
/**
* Checks if this file is transient. a file is transient if it's only used
* as hierarchical node for a deeper 'real' file. i.e.
- * @return <code>true</code> if this file is transient
+ * @return {@code true} if this file is transient
*/
boolean isTransient();
/**
- * Returns the parent file or <code>null</code> if this is the root file.
+ * Returns the parent file or {@code null} if this is the root file.
* @return the parent file.
* @throws IOException if an I/O error occurs.
* @throws RepositoryException if a repository error occurs.
@@ -71,7 +71,7 @@ public interface VaultFile extends Dumpa
VaultFile getParent() throws IOException, RepositoryException;
/**
- * Returns the artifacts node of this file or <code>null</code> if it's
+ * Returns the artifacts node of this file or {@code null} if it's
* transient
* @return the artifacts node
*/
@@ -84,9 +84,9 @@ public interface VaultFile extends Dumpa
Aggregate getControllingAggregate();
/**
- * Returns the child with the given name or <code>null</code>
+ * Returns the child with the given name or {@code null}
* @param name the name of the child
- * @return the child or <code>null</code>
+ * @return the child or {@code null}
* @throws RepositoryException if an error occurs
*/
VaultFile getChild(String name) throws RepositoryException;
@@ -109,27 +109,27 @@ public interface VaultFile extends Dumpa
/**
* Checks if this file can be read from (eg. if it's not a directory)
- * @return <code>true</code> if this file can be read from.
+ * @return {@code true} if this file can be read from.
*/
boolean canRead();
/**
- * Returns the last modified date or <code>0</code> if not known.
- * @return the last modified date or <code>0</code>
+ * Returns the last modified date or {@code 0} if not known.
+ * @return the last modified date or {@code 0}
*/
long lastModified();
/**
* Returns the length of the serialized data if it's known without doing the
* actual serialization.
- * @return the length or <code>-1</code> if the length cannot be determined.
+ * @return the length or {@code -1} if the length cannot be determined.
*/
long length();
/**
- * Returns the content type of this file or <code>null</code> if the type
+ * Returns the content type of this file or {@code null} if the type
* cannot be determined or if it's a directory.
- * @return the content type or <code>null</code>.
+ * @return the content type or {@code null}.
*/
String getContentType();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileOutput.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileOutput.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileOutput.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileOutput.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import java.io.OutputStream;
import javax.jcr.RepositoryException;
/**
- * <code>VaultFileOutput</code>...
+ * {@code VaultFileOutput}...
*/
public interface VaultFileOutput {
OutputStream getOutputStream() throws IOException;
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileSystem.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileSystem.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileSystem.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFileSystem.java Mon Oct 17 03:07:22 2016
@@ -22,7 +22,7 @@ import java.io.IOException;
import javax.jcr.RepositoryException;
/**
- * <code>VaultFileSystem</code>...
+ * {@code VaultFileSystem}...
*/
public interface VaultFileSystem {
@@ -36,7 +36,7 @@ public interface VaultFileSystem {
* Checks if this tree is still mounted and if the attached session
* is still live.
*
- * @return <code>true</code> if still mounted
+ * @return {@code true} if still mounted
*/
boolean isMounted();
@@ -54,10 +54,10 @@ public interface VaultFileSystem {
/**
* Returns the file at the given path. If the file does not exists
- * <code>null</code> is thrown.
+ * {@code null} is thrown.
*
* @param path the path of the file
- * @return the file or <code>null</code>
+ * @return the file or {@code null}
* @throws IOException if an I/O error occurs.
* @throws RepositoryException if a repository error occurs.
*/
@@ -65,12 +65,12 @@ public interface VaultFileSystem {
/**
* Returns the file at the given path. The path can be relative and may
- * contain ".." path elements. If the file does not exists <code>null</code>
+ * contain ".." path elements. If the file does not exists {@code null}
* is returned.
*
* @param parent the parent file.
* @param path the path of the file
- * @return the file or <code>null</code>
+ * @return the file or {@code null}
* @throws IOException if an I/O error occurs.
* @throws RepositoryException if a repository error occurs.
*/
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsConfig.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsConfig.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsConfig.java Mon Oct 17 03:07:22 2016
@@ -21,7 +21,7 @@ import java.io.InputStream;
import java.util.List;
/**
- * <code>VaultFsConfig</code>...
+ * {@code VaultFsConfig}...
*/
public interface VaultFsConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsTransaction.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsTransaction.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsTransaction.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/VaultFsTransaction.java Mon Oct 17 03:07:22 2016
@@ -23,7 +23,7 @@ import java.util.Collection;
import javax.jcr.RepositoryException;
/**
- * <code>VaultFsTransaction</code>...
+ * {@code VaultFsTransaction}...
*/
public interface VaultFsTransaction {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/WorkspaceFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/WorkspaceFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/WorkspaceFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/api/WorkspaceFilter.java Mon Oct 17 03:07:22 2016
@@ -25,7 +25,7 @@ import javax.jcr.RepositoryException;
import javax.jcr.Session;
/**
- * <code>WorkspaceFilter</code> defined a filter for items (node or property).
+ * {@code WorkspaceFilter} defined a filter for items (node or property).
*/
public interface WorkspaceFilter extends Dumpable {
@@ -44,7 +44,7 @@ public interface WorkspaceFilter extends
/**
* Returns the filter set that covers the respective node path
* @param path the path
- * @return the filter set or <code>null</code>
+ * @return the filter set or {@code null}
*/
PathFilterSet getCoveringFilterSet(String path);
@@ -58,21 +58,21 @@ public interface WorkspaceFilter extends
/**
* Checks if the given node path is contained in this workspace filter.
- * It returns <code>true</code> if any of the filter sets contain the path
+ * It returns {@code true} if any of the filter sets contain the path
* and it's not globally ignored.
*
* @param path to check
- * @return <code>true</code> if the given path is included in this filter.
+ * @return {@code true} if the given path is included in this filter.
*/
boolean contains(String path);
/**
* Checks if the given node path is covered in this workspace filter.
- * It only returns <code>true</code> if at least one of the sets covers
+ * It only returns {@code true} if at least one of the sets covers
* the path and is not globally ignored.
*
* @param path the pathto check
- * @return <code>true</code> if the given path is covered by this filter.
+ * @return {@code true} if the given path is covered by this filter.
*/
boolean covers(String path);
@@ -80,7 +80,7 @@ public interface WorkspaceFilter extends
* Checks if the given node path is an ancestor of any of the filter sets.
*
* @param path the item to check
- * @return <code>true</code> if the given item is an ancestor
+ * @return {@code true} if the given item is an ancestor
*/
boolean isAncestor(String path);
@@ -88,7 +88,7 @@ public interface WorkspaceFilter extends
* Checks if the given node path is globally ignored.
*
* @param path the path to check.
- * @return <code>true</code> if the item is globally ignored.
+ * @return {@code true} if the item is globally ignored.
*/
boolean isGloballyIgnored(String path);
@@ -124,12 +124,12 @@ public interface WorkspaceFilter extends
/**
* Dumps the coverage of this filter using the given session. The traversal starts
- * at the common ancestor of all filter sets. If <code>skipJcrContent</code> is <code>true</code>
+ * at the common ancestor of all filter sets. If {@code skipJcrContent} is {@code true}
* the jcr:content nodes are excluded from traversal and reporting.
*
* @param session session
* @param listener listener to report progress
- * @param skipJcrContent <code>true</code> to skip jcr:content nodes
+ * @param skipJcrContent {@code true} to skip jcr:content nodes
* @throws RepositoryException if an error occurs
*/
void dumpCoverage(Session session, ProgressTrackerListener listener, boolean skipJcrContent)
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractConfig.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractConfig.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractConfig.java Mon Oct 17 03:07:22 2016
@@ -42,7 +42,7 @@ import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
/**
- * <code>VaultUserConfig</code>...
+ * {@code VaultUserConfig}...
*
*/
abstract public class AbstractConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractVaultFsConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractVaultFsConfig.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractVaultFsConfig.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/AbstractVaultFsConfig.java Mon Oct 17 03:07:22 2016
@@ -47,7 +47,7 @@ import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
- * <code>JcrFsConfig</code>...
+ * {@code JcrFsConfig}...
*/
public abstract class AbstractVaultFsConfig implements VaultFsConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigHelper.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigHelper.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigHelper.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigHelper.java Mon Oct 17 03:07:22 2016
@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
import org.w3c.dom.Element;
/**
- * <code>ConfigHelper</code>...
+ * {@code ConfigHelper}...
*/
public class ConfigHelper {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigurationException.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigurationException.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigurationException.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ConfigurationException.java Mon Oct 17 03:07:22 2016
@@ -18,7 +18,7 @@
package org.apache.jackrabbit.vault.fs.config;
/**
- * <code>ConfigurationException</code>...
+ * {@code ConfigurationException}...
*
*/
public class ConfigurationException extends Exception {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/CredentialsConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/CredentialsConfig.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/CredentialsConfig.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/CredentialsConfig.java Mon Oct 17 03:07:22 2016
@@ -25,7 +25,7 @@ import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
/**
- * <code>CredentialsConfig</code>...
+ * {@code CredentialsConfig}...
*
*/
public abstract class CredentialsConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ExportRoot.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ExportRoot.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ExportRoot.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/ExportRoot.java Mon Oct 17 03:07:22 2016
@@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
* Represents the root of a vault export or a vlt checkout. it has the following
* structure:
*
- * <xmp>
+ * <pre>
* root
* |-- META-INF
* | `-- vault
@@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
* | `-- properties.xml
* `-- jcr_root
* :
- * </xmp>
+ * </pre>
*
*/
public class ExportRoot {
@@ -61,7 +61,7 @@ public class ExportRoot {
/**
* Checks if this export root already has the necessary structure setup.
- * @return <code>true</code> if valid.
+ * @return {@code true} if valid.
*/
public boolean isValid() {
return jcrRoot.isDirectory() && metaDir.isDirectory();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/MetaInf.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/MetaInf.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/MetaInf.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/MetaInf.java Mon Oct 17 03:07:22 2016
@@ -107,7 +107,7 @@ public interface MetaInf {
/**
* Checks if the meta-inf contains a serialized definition.
- * @return <code>true</code> if it contains a serialized definition.
+ * @return {@code true} if it contains a serialized definition.
*/
boolean hasDefinition();
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/Registry.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/Registry.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/Registry.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/Registry.java Mon Oct 17 03:07:22 2016
@@ -33,7 +33,7 @@ import org.apache.jackrabbit.vault.fs.im
import org.apache.jackrabbit.vault.fs.impl.io.NodeTypeArtifactHandler;
/**
- * <code>Registry</code>...
+ * {@code Registry}...
*/
public class Registry {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/SimpleCredentialsConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/SimpleCredentialsConfig.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/SimpleCredentialsConfig.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/SimpleCredentialsConfig.java Mon Oct 17 03:07:22 2016
@@ -37,7 +37,7 @@ import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
/**
- * <code>SimpleCredentialsConfig</code>...
+ * {@code SimpleCredentialsConfig}...
*
*/
public class SimpleCredentialsConfig extends CredentialsConfig {
@@ -135,7 +135,7 @@ public class SimpleCredentialsConfig ext
* Decrypts a string that was previously {@link #encrypt(String)} encrypted}.
*
* @param s the data to decrypt
- * @return the string or <code>null</code> if an internal error occurred
+ * @return the string or {@code null} if an internal error occurred
*/
private static String decrypt(String s) {
if (s == null || !s.startsWith(PREFIX)) {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultAuthConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultAuthConfig.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultAuthConfig.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultAuthConfig.java Mon Oct 17 03:07:22 2016
@@ -33,7 +33,7 @@ import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
/**
- * <code>VaultUserConfig</code>...
+ * {@code VaultUserConfig}...
*
*/
public class VaultAuthConfig extends AbstractConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultFsConfig11.java Mon Oct 17 03:07:22 2016
@@ -33,7 +33,7 @@ import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
/**
- * <code>JcrFsConfig</code>...
+ * {@code JcrFsConfig}...
*/
class VaultFsConfig11 extends AbstractVaultFsConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultSettings.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultSettings.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultSettings.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/VaultSettings.java Mon Oct 17 03:07:22 2016
@@ -26,7 +26,7 @@ import org.xml.sax.SAXException;
import org.xml.sax.helpers.AttributesImpl;
/**
- * <code>VaultUserConfig</code>...
+ * {@code VaultUserConfig}...
*
*/
public class VaultSettings extends AbstractConfig {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DeclaringTypeItemFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DeclaringTypeItemFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DeclaringTypeItemFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DeclaringTypeItemFilter.java Mon Oct 17 03:07:22 2016
@@ -49,7 +49,7 @@ public class DeclaringTypeItemFilter ext
/**
* Creates a new filter for the given node type and flags.
* @param nodeType the node type name to check
- * @param propsOnly if <code>true</code> only properties are checked
+ * @param propsOnly if {@code true} only properties are checked
* @param minDepth the minimal depth
* @param maxDepth the maximal depth
*/
@@ -63,7 +63,7 @@ public class DeclaringTypeItemFilter ext
/**
* Creates a new filter for the given node type and flags
* @param nodeType the node type name to check
- * @param propsOnly if <code>true</code> only properties are checked
+ * @param propsOnly if {@code true} only properties are checked
*/
public DeclaringTypeItemFilter(String nodeType, boolean propsOnly) {
this(nodeType, propsOnly, 0, Integer.MAX_VALUE);
@@ -79,7 +79,7 @@ public class DeclaringTypeItemFilter ext
/**
* Sets the flag that indicates if only properties are to be checked.
- * @param propsOnly if <code>true</code> only properties are checked.
+ * @param propsOnly if {@code true} only properties are checked.
*/
public void setPropsOnly(String propsOnly) {
this.propsOnly = Boolean.valueOf(propsOnly);
@@ -89,8 +89,8 @@ public class DeclaringTypeItemFilter ext
* {@inheritDoc}
*
* Matches if the declaring node type of the item is equal to the one
- * specified in this filter. If the item is a node and <code>propsOnly</code>
- * flag is <code>true</code> it returns <code>false</code>.
+ * specified in this filter. If the item is a node and {@code propsOnly}
+ * flag is {@code true} it returns {@code false}.
*/
public boolean matches(Item item) throws RepositoryException {
if (item.isNode()) {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DefaultPathFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DefaultPathFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DefaultPathFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DefaultPathFilter.java Mon Oct 17 03:07:22 2016
@@ -52,7 +52,7 @@ public class DefaultPathFilter implement
* Sets the regexp pattern for this filter.
*
* Examples:
- * <xmp>
+ * <pre>
* | Pattern | Matches
* | /foo | exactly "/foo"
* | /foo.* | all paths starting with "/foo"
@@ -60,7 +60,7 @@ public class DefaultPathFilter implement
* | /foo/[^/]*$ | all direct children of /foo
* | /foo/.* | all children of /foo
* | /foo(/.*)? | all children of /foo and foo itself
- * </xmp>
+ * </pre>
*
* @param pattern the pattern.
*/
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DepthItemFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DepthItemFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DepthItemFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/DepthItemFilter.java Mon Oct 17 03:07:22 2016
@@ -76,18 +76,18 @@ public class DepthItemFilter implements
*
* Matches if the given depth is greater or equal the minimum depth and
* less or equal the maximum depth and if the call to {@link #matches(Item)}
- * returns <code>true</code>.
+ * returns {@code true}.
*/
public boolean matches(Item item, int depth) throws RepositoryException {
return depth >= minDepth && depth <= maxDepth && matches(item);
}
/**
- * Returns <code>true</code>. Subclasses can override to implement something
+ * Returns {@code true}. Subclasses can override to implement something
* useful that is dependant of the depth.
*
* @param item the item to match
- * @return <code>true</code> if the item matches; <code>false</code> otherwise.
+ * @return {@code true} if the item matches; {@code false} otherwise.
* @throws RepositoryException if an error occurs.
*/
public boolean matches(Item item) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/FileFolderNodeFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/FileFolderNodeFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/FileFolderNodeFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/FileFolderNodeFilter.java Mon Oct 17 03:07:22 2016
@@ -34,7 +34,7 @@ public class FileFolderNodeFilter extend
/**
* {@inheritDoc}
*
- * Returns <code>true</code> if the item is a node of type nt:hierarchyNode
+ * Returns {@code true} if the item is a node of type nt:hierarchyNode
* that has or defines a 'jcr:content' child node.
*/
public boolean matches(Item item) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsMandatoryFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsMandatoryFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsMandatoryFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsMandatoryFilter.java Mon Oct 17 03:07:22 2016
@@ -25,7 +25,7 @@ import javax.jcr.RepositoryException;
import org.apache.jackrabbit.vault.fs.api.DumpContext;
/**
- * <code>IsNodeFilter</code>...
+ * {@code IsNodeFilter}...
*
*/
public class IsMandatoryFilter extends DepthItemFilter {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsNodeFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsNodeFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsNodeFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/IsNodeFilter.java Mon Oct 17 03:07:22 2016
@@ -43,8 +43,8 @@ public class IsNodeFilter extends DepthI
/**
* Creates a new node item filter.
*
- * @param polarity the polarity of this filter. if <code>true</code> it matches
- * nodes, if <code>false</code> it matches properties.
+ * @param polarity the polarity of this filter. if {@code true} it matches
+ * nodes, if {@code false} it matches properties.
* @param minDepth the minimum depth
* @param maxDepth the maximum depth
*
@@ -57,15 +57,15 @@ public class IsNodeFilter extends DepthI
/**
* Creates a new node item filter
- * @param polarity the polarity of this filter. if <code>true</code> it matches
- * nodes, if <code>false</code> it matches properties.
+ * @param polarity the polarity of this filter. if {@code true} it matches
+ * nodes, if {@code false} it matches properties.
*/
public IsNodeFilter(boolean polarity) {
this(polarity, 1, Integer.MAX_VALUE);
}
/**
- * Sets the polarity of this filter. If set to <code>true</code> this filter
+ * Sets the polarity of this filter. If set to {@code true} this filter
* matches nodes otherwise properties.
*
* @param polarity the polarity
@@ -75,7 +75,7 @@ public class IsNodeFilter extends DepthI
}
/**
- * Sets the polarity of this filter. If set to <code>true</code> this filter
+ * Sets the polarity of this filter. If set to {@code true} this filter
* matches nodes otherwise properties.
*
* @param polarity the polarity
@@ -87,7 +87,7 @@ public class IsNodeFilter extends DepthI
/**
* {@inheritDoc}
*
- * Returns <code>true</code> if the item is a node and the polarity is
+ * Returns {@code true} if the item is a node and the polarity is
* positive (true).
*/
public boolean matches(Item item) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NameItemFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NameItemFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NameItemFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NameItemFilter.java Mon Oct 17 03:07:22 2016
@@ -69,7 +69,7 @@ public class NameItemFilter extends Dept
/**
* {@inheritDoc}
*
- * Returns <code>true</code> if the name of the given item is equal to
+ * Returns {@code true} if the name of the given item is equal to
* the configured name.
*/
public boolean matches(Item item) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NodeTypeItemFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NodeTypeItemFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NodeTypeItemFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NodeTypeItemFilter.java Mon Oct 17 03:07:22 2016
@@ -78,7 +78,7 @@ public class NodeTypeItemFilter extends
/**
* Sets the flag that indicates if super type should be respected.
- * @param respectSupertype if <code>true</code>, super types are respected.
+ * @param respectSupertype if {@code true}, super types are respected.
*/
public void setRespectSupertype(String respectSupertype) {
this.respectSupertype = Boolean.valueOf(respectSupertype);
@@ -87,9 +87,9 @@ public class NodeTypeItemFilter extends
/**
* {@inheritDoc}
*
- * Returns <code>true</code> if the item is a node and if the configured
+ * Returns {@code true} if the item is a node and if the configured
* node type is equal to the primary type of the node. if super types are
- * respected it also returns <code>true</code> if the items node type
+ * respected it also returns {@code true} if the items node type
* extends from the configured node type (Node.isNodeType() check).
*/
public boolean matches(Item item) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NtFileItemFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NtFileItemFilter.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NtFileItemFilter.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/filter/NtFileItemFilter.java Mon Oct 17 03:07:22 2016
@@ -61,7 +61,7 @@ public class NtFileItemFilter implements
/**
* {@inheritDoc}
*
- * @return <code>true</code> if the item is a nt:file or nt:resource property
+ * @return {@code true} if the item is a nt:file or nt:resource property
*/
public boolean matches(Item item, int depth) throws RepositoryException {
if (item.isNode()) {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AbstractArtifact.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AbstractArtifact.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AbstractArtifact.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AbstractArtifact.java Mon Oct 17 03:07:22 2016
@@ -41,7 +41,7 @@ public abstract class AbstractArtifact i
private final String repoRelPath;
/**
- * the platform relative path or <code>null</code> if not differs from
+ * the platform relative path or {@code null} if not differs from
* {@link #repoRelPath}.
*/
private String platRelPath;
@@ -66,7 +66,7 @@ public abstract class AbstractArtifact i
* platform extension and and type. the parent artifact is only used for
* generating the paths and is not linked to this artifact.
*
- * @param parent the parent artifact or <code>null</code>.
+ * @param parent the parent artifact or {@code null}.
* @param repoRelPath the repository name
* @param extension the platform extension
* @param type type of the artifact
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateBuilder.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateBuilder.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateBuilder.java Mon Oct 17 03:07:22 2016
@@ -38,7 +38,7 @@ public class AggregateBuilder {
private final AggregateImpl aggregate;
/**
- * the name for the new node or <code>null</code>
+ * the name for the new node or {@code null}
*/
private final String reposName;
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java Mon Oct 17 03:07:22 2016
@@ -59,7 +59,7 @@ import org.slf4j.LoggerFactory;
* of the repository one by invoking the respective aggregators. The aggregates
* are controlled via the {@link AggregateManagerImpl} and are loaded dynamically
* when traversing through the tree.
- * <p/>
+ * <p>
* The aggregates can then later be used by the aggregators to provide the
* artifacts of this aggregate.
*
@@ -288,7 +288,7 @@ public class AggregateImpl implements Ag
/**
* Creates a new child artifact node with the given name.
* Please note, that the returned node is not attached to the tree.
- * <p/>
+ * <p>
* If this artifact node does not allow children a RepositoryException is
* thrown.
*
@@ -307,7 +307,7 @@ public class AggregateImpl implements Ag
/**
* Removes this artifact node from the tree. If this artifact node has
* directory and non-directory artifacts only the non-directory artifacts
- * are removed unless <code>recursive</code> is specified.
+ * are removed unless {@code recursive} is specified.
*
* @param recursive specifies if directories are removed as well.
* @return infos about the modifications
@@ -331,7 +331,7 @@ public class AggregateImpl implements Ag
* Writes the artifacts back to the repository.
*
* @param artifacts the artifacts to write
- * @param reposName the name of a new child node or <code>null</code>
+ * @param reposName the name of a new child node or {@code null}
* @return infos about the modifications
* @throws RepositoryException if an error occurs.
* @throws IOException if an I/O error occurs.
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateManagerImpl.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateManagerImpl.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateManagerImpl.java Mon Oct 17 03:07:22 2016
@@ -464,7 +464,7 @@ public class AggregateManagerImpl implem
* Writes the artifact set back to the repository.
*
* @param node the artifact node to write
- * @param reposName the name of the new node or <code>null</code>
+ * @param reposName the name of the new node or {@code null}
* @param artifacts the artifact to write
* @return infos about the modifications
* @throws RepositoryException if an error occurs.
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregatorProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregatorProvider.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregatorProvider.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregatorProvider.java Mon Oct 17 03:07:22 2016
@@ -55,11 +55,12 @@ public class AggregatorProvider {
/**
* Selects an aggregator that can handle the given node. If no aggregator can
- * be found, <code>null</code> is returned. Although this is a very rare case
+ * be found, {@code null} is returned. Although this is a very rare case
* because there should always be a default, catch-all aggregator.
*
* @param node the node to match
- * @return an aggregator that handles the node or <code>null</code> if not found.
+ * @param path the path to match
+ * @return an aggregator that handles the node or {@code null} if not found.
* @throws RepositoryException if a repository error occurs
*/
public Aggregator getAggregator(Node node, String path) throws RepositoryException {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/ArtifactSetImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/ArtifactSetImpl.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/ArtifactSetImpl.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/ArtifactSetImpl.java Mon Oct 17 03:07:22 2016
@@ -183,7 +183,7 @@ public class ArtifactSetImpl implements
* Removes the artifact from this set.
*
* @param a the artifact to remove
- * @return <code>true</code> if the artifact was removed.
+ * @return {@code true} if the artifact was removed.
*/
public boolean remove(Artifact a) {
if (artifacts.remove(a)) {
@@ -205,7 +205,7 @@ public class ArtifactSetImpl implements
* same name is replaced.
*
* @param a the artifact to put
- * @return the previous artifact or <code>null</code>
+ * @return the previous artifact or {@code null}
*/
public Artifact put(Artifact a) {
Artifact prev = null;
@@ -295,10 +295,10 @@ public class ArtifactSetImpl implements
}
/**
- * Returns the artifact with the given path or <code>null</code> if it does
+ * Returns the artifact with the given path or {@code null} if it does
* not exist.
* @param path the name of the artifact.
- * @return the desired artifact or <code>null</code>
+ * @return the desired artifact or {@code null}
*/
public Artifact getArtifact(String path) {
for (Artifact a: artifacts) {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileImpl.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileImpl.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileImpl.java Mon Oct 17 03:07:22 2016
@@ -59,7 +59,7 @@ public class VaultFileImpl implements Va
private final String name;
/**
- * The artifact this represents or <code>null</code> if not attached
+ * The artifact this represents or {@code null} if not attached
*/
private Artifact artifact;
@@ -146,7 +146,7 @@ public class VaultFileImpl implements Va
* @param fs the file system
* @param name the file entry name
* @param node the node
- * @param artifact the underlying artifact. can be <code>null</code>
+ * @param artifact the underlying artifact. can be {@code null}
* @throws RepositoryException if an error occurs
*/
protected VaultFileImpl(VaultFileSystem fs, String name, VaultFileNode node,
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileSystemImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileSystemImpl.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileSystemImpl.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/VaultFileSystemImpl.java Mon Oct 17 03:07:22 2016
@@ -101,7 +101,7 @@ public class VaultFileSystemImpl impleme
*
* @param rootAggregate the root artifacts node
* @param rootPath path of root file. used for remapping
- * @param ownMgr <code>true</code> if it's own manager
+ * @param ownMgr {@code true} if it's own manager
* @throws IOException if an I/O error occurs
* @throws RepositoryException if a repository error occurs.
*/
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FileAggregator.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FileAggregator.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FileAggregator.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FileAggregator.java Mon Oct 17 03:07:22 2016
@@ -33,7 +33,6 @@ import org.apache.jackrabbit.vault.fs.ap
import org.apache.jackrabbit.vault.fs.api.Dumpable;
import org.apache.jackrabbit.vault.fs.api.ImportInfo;
import org.apache.jackrabbit.vault.fs.api.ItemFilterSet;
-import org.apache.jackrabbit.vault.fs.impl.AggregateManagerImpl;
import org.apache.jackrabbit.vault.fs.impl.ArtifactSetImpl;
import org.apache.jackrabbit.vault.fs.impl.io.DocViewSerializer;
import org.apache.jackrabbit.vault.fs.impl.io.ImportInfoImpl;
@@ -90,7 +89,7 @@ public class FileAggregator implements A
String expected = MimeTypes.getMimeType(root.getName(), MimeTypes.APPLICATION_OCTET_STREAM);
return !expected.equals(prop.getString());
} else if (name.equals(JcrConstants.JCR_ENCODING)) {
- if (prop.getString().equals("utf-8")) {
+ if ("utf-8".equals(prop.getString())) {
String mimeType = MimeTypes.getMimeType(root.getName(), MimeTypes.APPLICATION_OCTET_STREAM);
return MimeTypes.isBinary(mimeType);
}
@@ -135,7 +134,7 @@ public class FileAggregator implements A
/**
* {@inheritDoc}
*
- * @return <code>false</code> always.
+ * @return {@code false} always.
*/
public boolean hasFullCoverage() {
return false;
@@ -144,7 +143,7 @@ public class FileAggregator implements A
/**
* {@inheritDoc}
*
- * @return <code>false</code> always.
+ * @return {@code false} always.
*/
public boolean isDefault() {
return false;
@@ -152,16 +151,15 @@ public class FileAggregator implements A
/**
* {@inheritDoc}
- * @param aggregate
*/
public ArtifactSet createArtifacts(Aggregate aggregate) throws RepositoryException {
ArtifactSetImpl artifacts = new ArtifactSetImpl();
Node node = aggregate.getNode();
- ((AggregateManagerImpl) aggregate.getManager()).addNodeTypes(node);
+ aggregate.getManager().addNodeTypes(node);
Node content = node;
if (content.isNodeType(JcrConstants.NT_FILE)) {
content = node.getNode(JcrConstants.JCR_CONTENT);
- ((AggregateManagerImpl) aggregate.getManager()).addNodeTypes(content);
+ aggregate.getManager().addNodeTypes(content);
}
// retrieve basic properties
long lastModified = 0;
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FullCoverageAggregator.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FullCoverageAggregator.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FullCoverageAggregator.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/FullCoverageAggregator.java Mon Oct 17 03:07:22 2016
@@ -20,7 +20,7 @@ package org.apache.jackrabbit.vault.fs.i
import org.apache.jackrabbit.vault.fs.api.ItemFilter;
/**
- * <code>FullCoverageAggregator</code>...
+ * {@code FullCoverageAggregator}...
*/
public class FullCoverageAggregator extends GenericAggregator {
Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/GenericAggregator.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/GenericAggregator.java?rev=1765204&r1=1765203&r2=1765204&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/GenericAggregator.java (original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/aggregator/GenericAggregator.java Mon Oct 17 03:07:22 2016
@@ -129,7 +129,7 @@ public class GenericAggregator implement
/**
* Sets the flag indicating if this aggregator aggregates children
*
- * @param fullCoverage <code>true</code> if this aggregator aggregates
+ * @param fullCoverage {@code true} if this aggregator aggregates
* children
*/
public void setFullCoverage(String fullCoverage) {
@@ -182,7 +182,6 @@ public class GenericAggregator implement
/**
* {@inheritDoc}
- * @param aggregate
*/
public ArtifactSet createArtifacts(Aggregate aggregate) throws RepositoryException {
ArtifactSetImpl artifacts = new ArtifactSetImpl();
@@ -201,7 +200,7 @@ public class GenericAggregator implement
name = "";
ext = Constants.DOT_CONTENT_XML;
// special optimization if only nt:folder
- if (aggregate.getNode().getPrimaryNodeType().getName().equals("nt:folder")
+ if ("nt:folder".equals(aggregate.getNode().getPrimaryNodeType().getName())
&& aggregate.getNode().getMixinNodeTypes().length == 0) {
return artifacts;
}
@@ -236,7 +235,7 @@ public class GenericAggregator implement
* {@inheritDoc}
*
* Throws an exception if this aggregator allows children but
- * <code>recursive</code> is <code>false</code>.
+ * {@code recursive} is {@code false}.
*/
public ImportInfo remove(Node node, boolean recursive, boolean trySave)
throws RepositoryException {