juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [juneau] branch master updated: Javadocs.
Date Thu, 20 Dec 2018 01:30:20 GMT
This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 984ab9d  Javadocs.
984ab9d is described below

commit 984ab9d9820bb0badf8615b099e03e7b1dce614a
Author: JamesBognar <jamesbognar@apache.org>
AuthorDate: Wed Dec 19 20:30:07 2018 -0500

    Javadocs.
---
 .../src/main/java/org/apache/juneau/config/Config.java            | 2 +-
 .../main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java | 2 +-
 .../main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java    | 2 +-
 .../src/main/java/org/apache/juneau/jena/RdfCommon.java           | 2 +-
 .../src/main/java/org/apache/juneau/BinaryFormat.java             | 4 ++--
 .../src/main/java/org/apache/juneau/httppart/Constants.java       | 4 ++--
 .../java/org/apache/juneau/httppart/HttpPartSchemaBuilder.java    | 2 +-
 .../src/main/java/org/apache/juneau/internal/ClassUtils.java      | 8 ++++----
 .../src/main/java/org/apache/juneau/jsonschema/TypeCategory.java  | 2 +-
 .../java/org/apache/juneau/parser/InputStreamParserSession.java   | 1 -
 juneau-doc/src/main/javadoc/resources/juneau-code.css             | 2 +-
 .../main/java/org/apache/juneau/rest/widget/MenuItemWidget.java   | 2 +-
 12 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/juneau-core/juneau-config/src/main/java/org/apache/juneau/config/Config.java
b/juneau-core/juneau-config/src/main/java/org/apache/juneau/config/Config.java
index 319cf39..4e87177 100644
--- a/juneau-core/juneau-config/src/main/java/org/apache/juneau/config/Config.java
+++ b/juneau-core/juneau-config/src/main/java/org/apache/juneau/config/Config.java
@@ -1467,7 +1467,7 @@ public final class Config extends Context implements ConfigEventListener,
Writab
 	 * 	cf.save();
 	 * </p>
 	 *
-	 * <h5 class='notes'>
+	 * <h5 class='section'>Notes</h5>
 	 * <ul class='spaced-list'>
 	 * 	<li>Calls to setters when the configuration is read-only will cause {@link UnsupportedOperationException}
to be thrown.
 	 * </ul>
diff --git a/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java
b/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java
index 943443e..7fbed9e 100644
--- a/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java
+++ b/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java
@@ -16,7 +16,7 @@ import org.apache.juneau.annotation.*;
 import org.apache.juneau.xml.annotation.*;
 
 /**
- * A subclass of HTML elements that contain <a href="https://www.w3.org/TR/html51/syntax.html#raw-text
raw text}
+ * A subclass of HTML elements that contain <a href="https://www.w3.org/TR/html51/syntax.html#raw-text">raw
text</a>
  * only.
  *
  * <h5 class='section'>See Also:</h5>
diff --git a/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java
b/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java
index 2e5a225..3e40763 100644
--- a/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java
+++ b/juneau-core/juneau-dto/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java
@@ -20,7 +20,7 @@ import org.apache.juneau.xml.annotation.*;
  * A subclass of HTML elements that have no content or end tags.
  *
  * <p>
- * See <a href="https://www.w3.org/TR/html51/syntax.html#void-elements void elements}
+ * See <a href="https://www.w3.org/TR/html51/syntax.html#void-elements">void elements</a>
  *
  * <h5 class='section'>See Also:</h5>
  * <ul class='doctree'>
diff --git a/juneau-core/juneau-marshall-rdf/src/main/java/org/apache/juneau/jena/RdfCommon.java
b/juneau-core/juneau-marshall-rdf/src/main/java/org/apache/juneau/jena/RdfCommon.java
index 1dce38a..32995f6 100644
--- a/juneau-core/juneau-marshall-rdf/src/main/java/org/apache/juneau/jena/RdfCommon.java
+++ b/juneau-core/juneau-marshall-rdf/src/main/java/org/apache/juneau/jena/RdfCommon.java
@@ -492,7 +492,7 @@ public interface RdfCommon {
 	 * <h5 class='section'>Description:</h5>
 	 * <p>
 	 * A list of <code>Resource</code> or a <code>String</code> being
a comma separated list of fragment IDs from
-	 * <{@doc http://www.w3.org/TR/rdf-syntax-grammar RDF Syntax Grammar} indicating grammar
+	 * {@doc http://www.w3.org/TR/rdf-syntax-grammar RDF Syntax Grammar} indicating grammar
 	 * rules that will not be used.
 	 */
 	public static final String RDF_rdfxml_blockRules = PREFIX + "jena.rdfXml.blockRules.s";
diff --git a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/BinaryFormat.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/BinaryFormat.java
index d96bb87..b889e3a 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/BinaryFormat.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/BinaryFormat.java
@@ -20,7 +20,7 @@ public enum BinaryFormat {
 	/**
 	 * Spaced-hex.
 	 *
-	 * <h5 class='figure>Example:</h5>
+	 * <h5 class='figure'>Example:</h5>
 	 * <p class='bcode w800'>
 	 * 	12 34 56 78 90 AB CD EF
 	 * </p>
@@ -30,7 +30,7 @@ public enum BinaryFormat {
 	/**
 	 * Hex.
 	 *
-	 * <h5 class='figure>Example:</h5>
+	 * <h5 class='figure'>Example:</h5>
 	 * <p class='bcode w800'>
 	 * 	1234567890ABCDEF
 	 * </p>
diff --git a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/Constants.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/Constants.java
index 8fc01c9..d5947db 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/Constants.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/Constants.java
@@ -130,12 +130,12 @@ public class Constants {
 	public static final String FORMAT_BINARY_SPACED = "binary-spaced";
 
 	/**
-	 * An <a href='http://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14'>RFC3339
full-date</a>.
+	 * An RFC3339 full-date.
 	 */
 	public static final String FORMAT_DATE = "date";
 
 	/**
-	 *  An <a href='http://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14'>RFC3339
date-time</a>.
+	 *  An RFC3339 date-time.
 	 */
 	public static final String FORMAT_DATE_TIME = "date-time";
 
diff --git a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/HttpPartSchemaBuilder.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/HttpPartSchemaBuilder.java
index d0bab7e..cb414b2 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/HttpPartSchemaBuilder.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/httppart/HttpPartSchemaBuilder.java
@@ -1195,7 +1195,7 @@ public class HttpPartSchemaBuilder {
 	 *
 	 * @param value
 	 * 	The new value for this property.
-	 * 	<br>Ignored if value is <jk>null</jk> or <code>-1<code>.
+	 * 	<br>Ignored if value is <jk>null</jk> or <code>-1</code>.
 	 * @return This object (for method chaining).
 	 */
 	public HttpPartSchemaBuilder minItems(Long value) {
diff --git a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/internal/ClassUtils.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/internal/ClassUtils.java
index aec7168..43a8369 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/internal/ClassUtils.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/internal/ClassUtils.java
@@ -1169,7 +1169,7 @@ public final class ClassUtils {
 	}
 
 	/**
-	 * Shortcut for calling <code>getAnnotations(a, m, <jk>true</jk>, <jk>true</jk>,
<jk>false</jk>);</code>
+	 * Shortcut for calling <code>getAnnotations(a,m,<jk>true</jk>,<jk>true</jk>,<jk>false</jk>)</code>
 	 *
 	 * <p>
 	 * Annotations are ordered method first, then return class, then return superclasses.
@@ -1183,7 +1183,7 @@ public final class ClassUtils {
 	}
 
 	/**
-	 * Shortcut for calling <code>getAnnotations(a, m, <jk>true</jk>, <jk>true</jk>,
<jk>true</jk>);</code>
+	 * Shortcut for calling <code>getAnnotations(a,m,<jk>true</jk>,<jk>true</jk>,<jk>true</jk>)</code>
 	 *
 	 * @param a The annotation to look for.
 	 * @param m The method being inspected.
@@ -1225,7 +1225,7 @@ public final class ClassUtils {
 	}
 
 	/**
-	 * Shortcut for calling <code>getAnnotation(a, m, true, true);
+	 * Shortcut for calling <code>getAnnotation(a,m,<jk>true</jk>,<jk>true</jk>)</code>
 	 *
 	 * @param a
 	 * 	The annotation to search for.
@@ -1314,7 +1314,7 @@ public final class ClassUtils {
 	}
 
 	/**
-	 * Shortcut for calling <code>getAnnotation(a, m, index, <jk>true</jk>,
<jk>true</jk>);</code>
+	 * Shortcut for calling <code>getAnnotation(a,m,index,<jk>true</jk>,<jk>true</jk>)</code>
 	 *
 	 * @param a The annotation to check for.
 	 * @param m The method containing the parameter to check.
diff --git a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/jsonschema/TypeCategory.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/jsonschema/TypeCategory.java
index 89b5950..7889762 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/jsonschema/TypeCategory.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/jsonschema/TypeCategory.java
@@ -17,7 +17,7 @@ import java.util.*;
 import org.apache.juneau.internal.*;
 
 /**
- * Represents possible values for the following properties:
+ * Represents possible values for JSONSCHEMA_addExamplesTo and JSONSCHEMA_addDescriptionsTo.
  *
  * <ul class='doctree'>
  * 	<li class='jf'>{@link JsonSchemaGenerator#JSONSCHEMA_addExamplesTo}
diff --git a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/parser/InputStreamParserSession.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/parser/InputStreamParserSession.java
index 0be1887..c4a84aa 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/parser/InputStreamParserSession.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/parser/InputStreamParserSession.java
@@ -61,7 +61,6 @@ public abstract class InputStreamParserSession extends ParserSession {
 	 *
 	 * @param input
 	 * 	The input.
-	 * 	</ul>
 	 * 	<br>This can be any of the following types:
 	 * 	<ul>
 	 * 		<li><jk>null</jk>
diff --git a/juneau-doc/src/main/javadoc/resources/juneau-code.css b/juneau-doc/src/main/javadoc/resources/juneau-code.css
index 9b5bcdc..20a2324 100644
--- a/juneau-doc/src/main/javadoc/resources/juneau-code.css
+++ b/juneau-doc/src/main/javadoc/resources/juneau-code.css
@@ -58,7 +58,7 @@
 .bpcode,
 jc,jd,jt,jk,js,jf,jsf,jsm,ja, 
 xt,xa,xc,xs,
-mk,mv,
+mc,mk,mv,
 cc,cs,ck,ce {
 	font-size: 9pt;
 	white-space: pre;
diff --git a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/MenuItemWidget.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/MenuItemWidget.java
index 612f27c..ad2e8ea 100644
--- a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/MenuItemWidget.java
+++ b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/MenuItemWidget.java
@@ -51,7 +51,7 @@ public abstract class MenuItemWidget extends Widget {
 	 * 	<jk>public</jk> String getBeforeShowScript(RestRequest req) {
 	 * 		<jk>return</jk> <js>""</js>
 	 * 			+ <js>"\n	var xhr = new XMLHttpRequest();"</js>
-	 * 			+ <js>"\n	xhr.open('GET', '/petstore/pet?s=status=AVAILABLE&v=id,name',
true);"</js>
+	 * 			+ <js>"\n	xhr.open('GET', '/petstore/pet?s=status=AVAILABLE&amp;v=id,name',
true);"</js>
 	 * 			+ <js>"\n	xhr.setRequestHeader('Accept', 'application/json');"</js>
 	 * 			+ <js>"\n	xhr.onload = function() {"</js>
 	 * 			+ <js>"\n       var pets = JSON.parse(xhr.responseText);"</js>


Mime
View raw message