You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/09/23 20:42:36 UTC
[tomcat] 01/05: Fix Javadoc errors with Java 13. Clean-up (spacing,
unnecessary (...))
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit b999540c826f00ae85f3d8ab8e3bd6beefbe7812
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Sep 23 14:30:52 2019 +0100
Fix Javadoc errors with Java 13. Clean-up (spacing, unnecessary (...))
---
java/org/apache/tomcat/util/digester/SetPropertiesRule.java | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/java/org/apache/tomcat/util/digester/SetPropertiesRule.java b/java/org/apache/tomcat/util/digester/SetPropertiesRule.java
index 88254a1..ac60a5d 100644
--- a/java/org/apache/tomcat/util/digester/SetPropertiesRule.java
+++ b/java/org/apache/tomcat/util/digester/SetPropertiesRule.java
@@ -94,7 +94,7 @@ public class SetPropertiesRule extends Rule {
* <p>If a property name is null or the attribute name has no matching
* property name, then this indicates that the attribute should be ignored.</p>
*
- * <h3>Example One</h3>
+ * <h4>Example One</h4>
* <p> The following constructs a rule that maps the <code>alt-city</code>
* attribute to the <code>city</code> property and the <code>alt-state</code>
* to the <code>state</code> property.
@@ -105,7 +105,7 @@ public class SetPropertiesRule extends Rule {
* new String[] {"city", "state"});
* </pre>
*
- * <h3>Example Two</h3>
+ * <h4>Example Two</h4>
* <p> The following constructs a rule that maps the <code>class</code>
* attribute to the <code>className</code> property.
* The attribute <code>ignore-me</code> is not mapped.
@@ -265,12 +265,8 @@ public class SetPropertiesRule extends Rule {
*/
@Override
public String toString() {
-
StringBuilder sb = new StringBuilder("SetPropertiesRule[");
sb.append("]");
- return (sb.toString());
-
+ return sb.toString();
}
-
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org