Author: rwhitcomb Date: Wed Aug 5 19:49:13 2015 New Revision: 1694304 URL: http://svn.apache.org/r1694304 Log: PIVOT-976: Correct misc. Javadoc errors detected by Java 8 compiler.
These are a bunch of things like "&" or "<" used by themselves in the Javadoc instead of using the HTML entities ("&" or "<"). Also some things were changed from "<tt>" to "<code>". Modified: pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java pivot/trunk/core/src/org/apache/pivot/xml/Element.java pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin.java pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java Modified: pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java?rev=1694304&r1=1694303&r2=1694304&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java (original) +++ pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java Wed Aug 5 19:49:13 2015 @@ -223,7 +223,7 @@ public class CSVSerializer implements Se * * @param reader The reader from which data will be read. * @return A list containing the data read from the CSV file. The list items - * are instances of Dictionary<String, Object> populated by mapping columns + * are instances of <tt>Dictionary<String, Object></tt> populated by mapping columns * in the CSV file to keys in the key sequence. <p> If no keys have been * specified when this method is called, they are assumed to be defined in * the first line of the file. @@ -450,7 +450,7 @@ public class CSVSerializer implements Se * Writes values to a comma-separated value stream. * * @param items A list containing the data to write to the CSV file. List - * items must be instances of Dictionary<String, Object>. The dictionary + * items must be instances of <tt>Dictionary<String, Objecti></tt>. The dictionary * values will be written out in the order specified by the key sequence. * @param writer The writer to which data will be written. */ Modified: pivot/trunk/core/src/org/apache/pivot/xml/Element.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/xml/Element.java?rev=1694304&r1=1694303&r2=1694304&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/xml/Element.java (original) +++ pivot/trunk/core/src/org/apache/pivot/xml/Element.java Wed Aug 5 19:49:13 2015 @@ -514,7 +514,7 @@ public class Element extends Node implem * * @param attributeName * @return <tt>true</tt> if this element defines the given attribute; - * <tt>false<tt>, otherwise. + * <tt>false</tt>, otherwise. */ @Override public boolean containsKey(String attributeName) { Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin.java?rev=1694304&r1=1694303&r2=1694304&view=diff ============================================================================== --- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin.java (original) +++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin.java Wed Aug 5 19:49:13 2015 @@ -228,7 +228,7 @@ public class TerraCalendarSkin extends C /** * {@link KeyCode#ENTER ENTER} 'presses' the button.<br> * {@link KeyCode#UP UP}, {@link KeyCode#DOWN DOWN}, - * {@link KeyCode#LEFT LEFT} & {@link KeyCode#RIGHT RIGHT} Navigate + * {@link KeyCode#LEFT LEFT} & {@link KeyCode#RIGHT RIGHT} Navigate * around the date grid. */ @Override Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java?rev=1694304&r1=1694303&r2=1694304&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java Wed Aug 5 19:49:13 2015 @@ -64,7 +64,7 @@ public interface Skin extends Constraine /** * Returns the skin's focusable state. * - * @return <tt>true</tt> if this skin is focusable; </tt>false</tt>, + * @return <code>true</code> if this skin is focusable; <code>false</code>, * otherwise. */ public boolean isFocusable(); @@ -72,7 +72,7 @@ public interface Skin extends Constraine /** * Tells whether or not this skin is fully opaque when painted. * - * @return <tt>true</tt> if this skin is opaque; </tt>false</tt> if any part + * @return <code>true</code> if this skin is opaque; <code>false</code> if any part * of it is transparent or translucent. */ public boolean isOpaque(); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java?rev=1694304&r1=1694303&r2=1694304&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java Wed Aug 5 19:49:13 2015 @@ -346,7 +346,7 @@ public class Spinner extends Container { * (which is "spinnerData") is invoked in a BXML file, * <code>BXMLSerializer</code> trying to add to this immutable sequence will * catch an exception and will do a {@link #setSpinnerData - * setSpinnerData(List<?>)} instead. + * setSpinnerData(List<?>)} instead. */ public Spinner() { this(new ImmutableList<>(new ArrayList<>()));