Fixing javadoc errors blocking release of servlets post bundle
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/post@1760513 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java b/src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java
index e607e76..6c8ed57 100644
--- a/src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java
+++ b/src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java
@@ -214,6 +214,7 @@
* @param session The JCR session
* @param request The http request
* @return {@code true} if a save is required.
+ * @throws RepositoryException
*/
protected boolean isSessionSaveRequired(Session session, SlingHttpServletRequest request)
throws RepositoryException {
@@ -226,6 +227,7 @@
* @param path The path
* @param session The JCR session
* @return The path without the workspace
+ * @throws RepositoryException
*/
protected String removeAndValidateWorkspace(String path, Session session) throws RepositoryException {
final int wsSepPos = path.indexOf(":/");
@@ -364,9 +366,9 @@
/**
* Orders the given node according to the specified command. The following
- * syntax is supported: <xmp> | first | before all child nodes | before A |
+ * syntax is supported: <xmp> | first | before all child nodes | before A |
* before child node A | after A | after child node A | last | after all
- * nodes | N | at a specific position, N being an integer </xmp>
+ * nodes | N | at a specific position, N being an integer </xmp>
*
* @param request The http request
* @param item node to order
diff --git a/src/main/java/org/apache/sling/servlets/post/AbstractPostResponse.java b/src/main/java/org/apache/sling/servlets/post/AbstractPostResponse.java
index ed462ea..11fcc2d 100644
--- a/src/main/java/org/apache/sling/servlets/post/AbstractPostResponse.java
+++ b/src/main/java/org/apache/sling/servlets/post/AbstractPostResponse.java
@@ -262,7 +262,7 @@
/**
* Records a 'moved' change.
- * <p/>
+ * <p>
* Note: the moved change only records the basic move command. the implied
* changes on the moved properties and sub nodes are not recorded.
*
@@ -275,7 +275,7 @@
/**
* Records a 'copied' change.
- * <p/>
+ * <p>
* Note: the copy change only records the basic copy command. the implied
* changes on the copied properties and sub nodes are not recorded.
*
diff --git a/src/main/java/org/apache/sling/servlets/post/HtmlResponse.java b/src/main/java/org/apache/sling/servlets/post/HtmlResponse.java
index 5c93c35..37b2e85 100644
--- a/src/main/java/org/apache/sling/servlets/post/HtmlResponse.java
+++ b/src/main/java/org/apache/sling/servlets/post/HtmlResponse.java
@@ -101,7 +101,6 @@
* the pattern is not modified.
*
* @param response to send to
- * @param setStatus whether to set the status code on the response
* @throws IOException if an i/o exception occurs
*/
@Override
diff --git a/src/main/java/org/apache/sling/servlets/post/Modification.java b/src/main/java/org/apache/sling/servlets/post/Modification.java
index d258bce..7c01471 100644
--- a/src/main/java/org/apache/sling/servlets/post/Modification.java
+++ b/src/main/java/org/apache/sling/servlets/post/Modification.java
@@ -74,7 +74,7 @@
/**
* Records a 'moved' change.
- * <p/>
+ * <p>
* Note: the moved change only records the basic move command. the implied
* changes on the moved properties and sub nodes are not recorded.
*
@@ -87,7 +87,7 @@
/**
* Records a 'copied' change.
- * <p/>
+ * <p>
* Note: the copy change only records the basic copy command. the implied
* changes on the copied properties and sub nodes are not recorded.
*
diff --git a/src/main/java/org/apache/sling/servlets/post/NodeNameGenerator.java b/src/main/java/org/apache/sling/servlets/post/NodeNameGenerator.java
index 1234c3e..02ed40c 100644
--- a/src/main/java/org/apache/sling/servlets/post/NodeNameGenerator.java
+++ b/src/main/java/org/apache/sling/servlets/post/NodeNameGenerator.java
@@ -27,7 +27,7 @@
/**
* Get the to-be-created node name from the request.
*
- * @param req request
+ * @param request request
* @param parentPath the path to the new node's parent
* @param requirePrefix if true, ignore parameters which do not being with ./
* @param defaultNodeNameGenerator the default node name generator
diff --git a/src/main/java/org/apache/sling/servlets/post/PostResponse.java b/src/main/java/org/apache/sling/servlets/post/PostResponse.java
index e9dbfc8..5c8d370 100644
--- a/src/main/java/org/apache/sling/servlets/post/PostResponse.java
+++ b/src/main/java/org/apache/sling/servlets/post/PostResponse.java
@@ -174,7 +174,7 @@
/**
* Records a 'moved' change.
- * <p/>
+ * <p>
* Note: the moved change only records the basic move command. the implied
* changes on the moved properties and sub nodes are not recorded.
*
@@ -185,7 +185,7 @@
/**
* Records a 'copied' change.
- * <p/>
+ * <p>
* Note: the copy change only records the basic copy command. the implied
* changes on the copied properties and sub nodes are not recorded.
*