You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2020/12/02 02:35:22 UTC

[tapestry-5] branch master updated: Fixing JavaDoc failures in Jenkins

This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new a234c52  Fixing JavaDoc failures in Jenkins
a234c52 is described below

commit a234c528fe9d4a55699f6daf1a2c15c4f86f7baf
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Tue Dec 1 23:34:59 2020 -0300

    Fixing JavaDoc failures in Jenkins
---
 build.gradle                                       |  4 +-
 .../commons/internal/BasicTypeCoercions.java       |  2 +-
 src/javadoc/stylesheet7.css                        |  8 +++
 .../main/java/org/apache/tapestry5/http/Link.java  |  4 +-
 .../ioc/internal/services/cron/CronExpression.java | 66 +++++++++++-----------
 .../java/org/apache/tapestry5/json/JSONObject.java |  2 +-
 6 files changed, 47 insertions(+), 39 deletions(-)

diff --git a/build.gradle b/build.gradle
index d7de534..67034c2 100755
--- a/build.gradle
+++ b/build.gradle
@@ -148,8 +148,8 @@ subprojects {
     apply plugin: "project-report"
     apply plugin: "jacoco"
 
-    sourceCompatibility = "1.8"
-    targetCompatibility = "1.8"
+    sourceCompatibility = "8"
+    targetCompatibility = "8"
 
     // See http://jira.codehaus.org/browse/GRADLE-784
 
diff --git a/commons/src/main/java/org/apache/tapestry5/commons/internal/BasicTypeCoercions.java b/commons/src/main/java/org/apache/tapestry5/commons/internal/BasicTypeCoercions.java
index efb72a8..6e7b1d8 100644
--- a/commons/src/main/java/org/apache/tapestry5/commons/internal/BasicTypeCoercions.java
+++ b/commons/src/main/java/org/apache/tapestry5/commons/internal/BasicTypeCoercions.java
@@ -37,7 +37,7 @@ import org.apache.tapestry5.func.Flow;
 public class BasicTypeCoercions
 {
     /**
-     * Provides the basic type coercions to a {@link Configuration} instance. 
+     * Provides the basic type coercions to a {@link MappedConfiguration} instance. 
      */
     public static void provideBasicTypeCoercions(
             MappedConfiguration<CoercionTuple.Key, CoercionTuple> configuration)
diff --git a/src/javadoc/stylesheet7.css b/src/javadoc/stylesheet7.css
index cb04b36..ec0addc 100644
--- a/src/javadoc/stylesheet7.css
+++ b/src/javadoc/stylesheet7.css
@@ -524,3 +524,11 @@ body > dt > b, li.blockList > dt > h3 {
     font-size: 14px; 
     height: 26px; 
 }
+
+.tt {
+	font-family: "Lucida Console", "Menlo", "Monaco", "Courier", monospace;
+}
+
+.align-left {
+	text-align: left;
+}
\ No newline at end of file
diff --git a/tapestry-http/src/main/java/org/apache/tapestry5/http/Link.java b/tapestry-http/src/main/java/org/apache/tapestry5/http/Link.java
index bbf8651..c572e50 100644
--- a/tapestry-http/src/main/java/org/apache/tapestry5/http/Link.java
+++ b/tapestry-http/src/main/java/org/apache/tapestry5/http/Link.java
@@ -39,7 +39,7 @@ public interface Link
     List<String> getParameterNames();
 
     /**
-     * Returns the value of a specifically named query parameter, or <tt>null</tt> if no such query parameter is stored
+     * Returns the value of a specifically named query parameter, or <code>null</code> if no such query parameter is stored
      * in the link.
      *
      * Use this method only when you are sure the parameter has only one value. If the parameter might have more than
@@ -116,7 +116,7 @@ public interface Link
     String toRedirectURI();
 
     /**
-     * Returns the link anchor. If this link does not have an anchor, this method returns <tt>null</tt>.
+     * Returns the link anchor. If this link does not have an anchor, this method returns <code>null</code>.
      *
      * @return the link anchor
      */
diff --git a/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/cron/CronExpression.java b/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/cron/CronExpression.java
index 372f48c..5b79e56 100644
--- a/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/cron/CronExpression.java
+++ b/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/cron/CronExpression.java
@@ -25,54 +25,54 @@ import java.util.*;
  * Cron expressions are comprised of 6 required fields and one optional field
  * separated by white space. The fields respectively are described as follows:
  *
- * <table cellspacing="8">
+ * <table style="border-spacing: 10px">
  * <tr>
- * <th align="left">Field Name</th>
- * <th align="left">&nbsp;</th>
- * <th align="left">Allowed Values</th>
- * <th align="left">Allowed Special Characters</th>
+ * <th class="align-left">Field Name</th>
+ * <th class="align-left">&nbsp;</th>
+ * <th class="align-left">Allowed Values</th>
+ * <th class="align-left">Allowed Special Characters</th>
  * </tr>
  * <tr>
- * <td align="left"><code>Seconds</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>0-59</code></td>
- * <td align="left"><code>, - * /</code></td>
+ * <td class="align-left"><code>Seconds</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>0-59</code></td>
+ * <td class="align-left"><code>, - * /</code></td>
  * </tr>
  * <tr>
- * <td align="left"><code>Minutes</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>0-59</code></td>
- * <td align="left"><code>, - * /</code></td>
+ * <td class="align-left"><code>Minutes</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>0-59</code></td>
+ * <td class="align-left"><code>, - * /</code></td>
  * </tr>
  * <tr>
- * <td align="left"><code>Hours</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>0-23</code></td>
- * <td align="left"><code>, - * /</code></td>
+ * <td class="align-left"><code>Hours</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>0-23</code></td>
+ * <td class="align-left"><code>, - * /</code></td>
  * </tr>
  * <tr>
- * <td align="left"><code>Day-of-month</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>1-31</code></td>
- * <td align="left"><code>, - * ? / L W</code></td>
+ * <td class="align-left"><code>Day-of-month</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>1-31</code></td>
+ * <td class="align-left"><code>, - * ? / L W</code></td>
  * </tr>
  * <tr>
- * <td align="left"><code>Month</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>1-12 or JAN-DEC</code></td>
- * <td align="left"><code>, - * /</code></td>
+ * <td class="align-left"><code>Month</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>1-12 or JAN-DEC</code></td>
+ * <td class="align-left"><code>, - * /</code></td>
  * </tr>
  * <tr>
- * <td align="left"><code>Day-of-Week</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>1-7 or SUN-SAT</code></td>
- * <td align="left"><code>, - * ? / L #</code></td>
+ * <td class="align-left"><code>Day-of-Week</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>1-7 or SUN-SAT</code></td>
+ * <td class="align-left"><code>, - * ? / L #</code></td>
  * </tr>
  * <tr>
- * <td align="left"><code>Year (Optional)</code></td>
- * <td align="left">&nbsp;</td>
- * <td align="left"><code>empty, 1970-2199</code></td>
- * <td align="left"><code>, - * /</code></td>
+ * <td class="align-left"><code>Year (Optional)</code></td>
+ * <td class="align-left">&nbsp;</td>
+ * <td class="align-left"><code>empty, 1970-2199</code></td>
+ * <td class="align-left"><code>, - * /</code></td>
  * </tr>
  * <caption>Cron Expressions</caption>
  * </table>
diff --git a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
index e6f9f47..724cab7 100644
--- a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
+++ b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
@@ -47,7 +47,7 @@ import org.apache.tapestry5.json.exceptions.JSONValueNotFoundException;
  * be coerced using {@link Number#intValue() intValue}. Strings
  * that can be coerced using {@link Double#valueOf(String)} will be,
  * and then cast to int.
- * <li><a name="lossy">When the requested type is a long, other {@link Number} types will
+ * <li><a href="#lossy">When the requested type is a long, other {@link Number} types will
  * be coerced using {@link Number#longValue() longValue}. Strings
  * that can be coerced using {@link Double#valueOf(String)} will be,
  * and then cast to long. This two-step conversion is lossy for very