You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2015/08/05 22:02:18 UTC

svn commit: r1694313 - in /pivot/trunk: core/src/org/apache/pivot/functional/monad/ wtk/src/org/apache/pivot/wtk/

Author: rwhitcomb
Date: Wed Aug  5 20:02:18 2015
New Revision: 1694313

URL: http://svn.apache.org/r1694313
Log:
PIVOT-976:  Correct more Javadoc errors detected by Java 8 compiler.

This is the last of the errors found:  mostly bad HTML entity or reference not found.
A couple of bad tags (end without beginning).


Modified:
    pivot/trunk/core/src/org/apache/pivot/functional/monad/TryCompanion.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java

Modified: pivot/trunk/core/src/org/apache/pivot/functional/monad/TryCompanion.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/monad/TryCompanion.java?rev=1694313&r1=1694312&r2=1694313&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/monad/TryCompanion.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/monad/TryCompanion.java Wed Aug  5 20:02:18 2015
@@ -72,7 +72,7 @@ public final class TryCompanion<T> {
 
     /**
      * Utility method to return the value contained.
-     * @param o the try instance
+     * @param t the try instance
      * @return the Success instance containing the value, or the Failure instance containing the exception
      */
     public T toValue(final Try<T> t) {

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java?rev=1694313&r1=1694312&r2=1694313&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java Wed Aug  5 20:02:18 2015
@@ -42,9 +42,9 @@ public final class BrowserApplicationCon
      * <li><tt>application_class_name</tt> - the class name of the application
      * to launch.</li> <li><tt>startup_properties</tt> - startup properties to
      * be passed to the application. Properties use HTTP query string syntax;
-     * e.g. "a=1&b=2".</li> <li><tt>system_properties</tt> - system properties
+     * e.g. "a=1&amp;b=2".</li> <li><tt>system_properties</tt> - system properties
      * to set at startup. Properties use HTTP query string syntax; e.g.
-     * "a=1&b=2" (trusted applets only).</li> </ul>
+     * "a=1&amp;b=2" (trusted applets only).</li> </ul>
      */
     public static final class HostApplet extends Applet {
         private static final long serialVersionUID = -7710026348576806673L;

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java?rev=1694313&r1=1694312&r2=1694313&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java Wed Aug  5 20:02:18 2015
@@ -2222,7 +2222,7 @@ public abstract class Component implemen
      * Returns the tooltip's mode for wrapping its text.
      *
      * @return <tt>true</tt> if the tooltip text wrap mode is enabled;
-     * </tt>false</tt> if not.
+     * <tt>false</tt> if not.
      */
     public boolean getTooltipWrapText() {
         return tooltipWrapText;
@@ -2246,7 +2246,7 @@ public abstract class Component implemen
     /**
      * Tells whether or not this component is fully opaque when painted.
      *
-     * @return <tt>true</tt> if this component is opaque; </tt>false</tt> if any
+     * @return <tt>true</tt> if this component is opaque; <tt>false</tt> if any
      * part of it is transparent or translucent.
      */
     public boolean isOpaque() {

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java?rev=1694313&r1=1694312&r2=1694313&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java Wed Aug  5 20:02:18 2015
@@ -794,7 +794,7 @@ public final class DesktopApplicationCon
     }
 
     /**
-     * Gets the window hosting the specified Display and makes it visible.</br>
+     * Gets the window hosting the specified Display and makes it visible.<br>
      * This will cause a visible {@link SplashScreen} to be closed.<br> It is
      * intended to be called one time when the Pivot application has initialized
      * its UI and the SplashScreen is ready to be dismissed, but can be safely

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java?rev=1694313&r1=1694312&r2=1694313&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java Wed Aug  5 20:02:18 2015
@@ -187,20 +187,20 @@ public class ListView extends Component
      */
     public interface ItemStateBindMapping extends ItemBindMapping {
         /**
-         * Returns the {@link Button$State} for the given item during a
+         * Returns the {@link Button.State} for the given item during a
          * {@link Component#load(Object)} operation.
          *
          * @param item The list item whose state we need.
-         * @return The {@link Button$State} for the given item.
+         * @return The {@link Button.State} for the given item.
          */
         public Button.State getState(Object item);
 
         /**
-         * Sets the {@link Button$State} for the given item during a
+         * Sets the {@link Button.State} for the given item during a
          * {@link Component#store(Object)} operation.
          *
          * @param item The list item whose state we are going to set.
-         * @param state The {@link Button$State} for the given item.
+         * @param state The {@link Button.State} for the given item.
          */
         public void setState(Object item, Button.State state);
     }
@@ -1263,7 +1263,7 @@ public class ListView extends Component
     /**
      * Returns an item's checked state.
      * <p> For a tri-state checkmark, if the {@link #checkmarksMixedAsChecked} flag
-     * is set, this method returns <tt>true</tt> if the state is {@link Button$State#MIXED}.
+     * is set, this method returns <tt>true</tt> if the state is {@link Button.State#MIXED}.
      *
      * @param index
      */

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java?rev=1694313&r1=1694312&r2=1694313&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java Wed Aug  5 20:02:18 2015
@@ -31,8 +31,8 @@ import org.apache.pivot.wtk.Keyboard.Mod
 /**
  * Extension of {@link ButtonGroup} providing keyboard navigation within the
  * group and modified focus navigation that treats the group as a single
- * focusable entity.<br><br> {@link KeyCode#UP UP} & {@link KeyCode#LEFT LEFT}
- * Select the previous button<br> {@link KeyCode#DOWN DOWN} &
+ * focusable entity.<br><br> {@link KeyCode#UP UP} &amp; {@link KeyCode#LEFT LEFT}
+ * Select the previous button<br> {@link KeyCode#DOWN DOWN} &amp;
  * {@link KeyCode#RIGHT RIGHT} Select the next button<br> {@link KeyCode#HOME
  * HOME} Select the first button<br> {@link KeyCode#END END} Select the last
  * button<br><br> (Note that only {@link Component#isFocusable() focusable}