From 9abf1eeab7196c0ac75a23101c262bfa404d1c84 Mon Sep 17 00:00:00 2001
From: caalador
* Reimplementing the {@code attach()} method is useful for tasks that need
* to get a reference to the parent, window, or application object with the
- * {@link #getParent()}, {@link #getUI()}, and {@link #getSession()}
- * methods. A component does not yet know these objects in the constructor,
- * so in such case, the methods will return {@code null}. For example, the
- * following is invalid:
+ * {@link #getParent()} and {@link #getUI()} methods. A component does not
+ * yet know these objects in the constructor, so in such case, the methods
+ * will return {@code null}. For example, the following is invalid:
*
- * sort order data type
*
* @return the sort builder
*/
@@ -119,8 +117,6 @@ public abstract class Sort implements Serializable {
*
* @param by
* the object to sort by
- * @param
- * sort order data type
*
* @return the sort builder
*/
diff --git a/server/src/main/java/com/vaadin/server/Responsive.java b/server/src/main/java/com/vaadin/server/Responsive.java
index 5d0bbfb2ab..f60d020250 100644
--- a/server/src/main/java/com/vaadin/server/Responsive.java
+++ b/server/src/main/java/com/vaadin/server/Responsive.java
@@ -148,8 +148,8 @@ public class Responsive extends AbstractExtension {
* Enable responsive width and height range styling for the target component
* or UI instance.
*
- * @param target
- * The component which should be able to respond to width and/or
+ * @param components
+ * The components which should be able to respond to width and/or
* height changes.
*/
public static void makeResponsive(Component... components) {
diff --git a/server/src/main/java/com/vaadin/server/ServerRpcManager.java b/server/src/main/java/com/vaadin/server/ServerRpcManager.java
index e9f8d9543e..bb534efee7 100644
--- a/server/src/main/java/com/vaadin/server/ServerRpcManager.java
+++ b/server/src/main/java/com/vaadin/server/ServerRpcManager.java
@@ -88,8 +88,6 @@ public class ServerRpcManager
@@ -537,7 +536,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* component from a container triggers calling the {@link #detach()} method.
* If the parent of an added component is already connected to the
* application, the {@code attach()} is called immediately from
- * {@link #setParent(Component)}.
+ * {@link #setParent(HasComponents)}.
*
diff --git a/server/src/main/java/com/vaadin/ui/ReconnectDialogConfiguration.java b/server/src/main/java/com/vaadin/ui/ReconnectDialogConfiguration.java index 8a36de3510..f24045e1a6 100644 --- a/server/src/main/java/com/vaadin/ui/ReconnectDialogConfiguration.java +++ b/server/src/main/java/com/vaadin/ui/ReconnectDialogConfiguration.java @@ -54,7 +54,7 @@ public interface ReconnectDialogConfiguration extends Serializable { * Sets the text to show in the reconnect dialog after giving up trying to * reconnect ({@link #getReconnectAttempts()} reached) * - * @param dialogText + * @param dialogTextGaveUp * the text to show in the reconnect dialog after giving up */ public void setDialogTextGaveUp(String dialogTextGaveUp); diff --git a/server/src/main/java/com/vaadin/ui/TwinColSelect.java b/server/src/main/java/com/vaadin/ui/TwinColSelect.java index 2a8c91f9a7..1b84e32fe0 100644 --- a/server/src/main/java/com/vaadin/ui/TwinColSelect.java +++ b/server/src/main/java/com/vaadin/ui/TwinColSelect.java @@ -92,7 +92,7 @@ public class TwinColSelectextends AbstractMultiSelect * the selects. * * If a height if set (using {@link #setHeight(String)} or - * {@link #setHeight(float, int)}) it overrides the number of rows. Leave + * {@link #setHeight(float, Unit)}) it overrides the number of rows. Leave * the height undefined to use this method. * * @param rows diff --git a/server/src/main/java/com/vaadin/ui/Upload.java b/server/src/main/java/com/vaadin/ui/Upload.java index d67fa07641..d725d157a6 100644 --- a/server/src/main/java/com/vaadin/ui/Upload.java +++ b/server/src/main/java/com/vaadin/ui/Upload.java @@ -141,7 +141,7 @@ public class Upload extends AbstractComponent /** * Invoked when the value of a variable has changed. * - * @see com.vaadin.ui.AbstractComponent#changeVariables(java.lang.Object, + * @see com.vaadin.ui.LegacyComponent#changeVariables(java.lang.Object, * java.util.Map) */ @Override @@ -344,7 +344,7 @@ public class Upload extends AbstractComponent * @param filename * @param MIMEType * @param length - * @param exception + * @param reason */ public FailedEvent(Upload source, String filename, String MIMEType, long length, Exception reason) { @@ -358,7 +358,6 @@ public class Upload extends AbstractComponent * @param filename * @param MIMEType * @param length - * @param exception */ public FailedEvent(Upload source, String filename, String MIMEType, long length) { @@ -456,7 +455,7 @@ public class Upload extends AbstractComponent * @param source * @param filename * @param MIMEType - * @param length + * @param contentLength */ public StartedEvent(Upload source, String filename, String MIMEType, long contentLength) { @@ -775,7 +774,6 @@ public class Upload extends AbstractComponent * * @param filename * @param MIMEType - * @param length */ protected void fireStarted(String filename, String MIMEType) { fireEvent(new Upload.StartedEvent(this, filename, MIMEType, diff --git a/server/src/main/java/com/vaadin/ui/Window.java b/server/src/main/java/com/vaadin/ui/Window.java index b0c2b7e19e..7b57927d94 100644 --- a/server/src/main/java/com/vaadin/ui/Window.java +++ b/server/src/main/java/com/vaadin/ui/Window.java @@ -1282,7 +1282,7 @@ public class Window extends Panel * This postfix is read to assistive device users after the window caption, * but not visible on the page. * - * @param prefix + * @param assistivePostfix * String that is placed after the window caption */ public void setAssistivePostfix(String assistivePostfix) { diff --git a/server/src/main/java/com/vaadin/ui/components/grid/SingleSelectionModelImpl.java b/server/src/main/java/com/vaadin/ui/components/grid/SingleSelectionModelImpl.java index cd985f473a..12f3ee4de4 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/SingleSelectionModelImpl.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/SingleSelectionModelImpl.java @@ -146,7 +146,7 @@ public class SingleSelectionModelImpl
extends AbstractSelectionModel /** * Sets the selection based on a client request. Does nothing if the select - * component is {@linkplain Component#isReadOnly()} or if the selection + * component is {@linkplain SingleSelect#isReadOnly()} or if the selection * would not change. Otherwise updates the selection and fires a selection * change event with {@code isUserOriginated == true}. * diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java index 42ffe303ef..8207ce7af6 100644 --- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java +++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java @@ -316,7 +316,7 @@ public class DesignAttributeHandler implements Serializable { * return value would be primary-style-name
* * @param propertyName - * the property name returned by {@link IntroSpector} + * the property name returned by {@link Introspector} * @return the design attribute name corresponding the given method name */ private static String toAttributeName(String propertyName) { -- cgit v1.2.3