]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix javadoc references (#10067)
authorAhmed Ashour <asashour@yahoo.com>
Sat, 23 Sep 2017 05:34:48 +0000 (07:34 +0200)
committerHenri Sara <henri.sara@gmail.com>
Sat, 23 Sep 2017 05:34:48 +0000 (08:34 +0300)
And remove unused imports.

85 files changed:
client/src/main/java/com/vaadin/client/ApplicationConnection.java
client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java
client/src/main/java/com/vaadin/client/UIDL.java
client/src/main/java/com/vaadin/client/WidgetUtil.java
client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java
client/src/main/java/com/vaadin/client/connectors/grid/AbstractGridRendererConnector.java
client/src/main/java/com/vaadin/client/ui/JsniMousewheelHandler.java
client/src/main/java/com/vaadin/client/ui/VCustomLayout.java
client/src/main/java/com/vaadin/client/ui/VNotification.java
client/src/main/java/com/vaadin/client/ui/VUI.java
client/src/main/java/com/vaadin/client/widget/escalator/EscalatorUpdater.java
client/src/main/java/com/vaadin/client/widget/escalator/FlyweightCell.java
client/src/main/java/com/vaadin/client/widget/escalator/FlyweightRow.java
client/src/main/java/com/vaadin/client/widget/grid/DataAvailableEvent.java
client/src/main/java/com/vaadin/client/widget/grid/RowStyleGenerator.java
compatibility-client/src/main/java/com/vaadin/v7/client/ui/JsniMousewheelHandler.java
compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/EscalatorUpdater.java
compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/FlyweightCell.java
compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/FlyweightRow.java
compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/DataAvailableEvent.java
compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/RowStyleGenerator.java
compatibility-server/src/main/java/com/vaadin/v7/data/fieldgroup/FieldGroup.java
compatibility-server/src/main/java/com/vaadin/v7/data/util/BeanContainer.java
compatibility-server/src/main/java/com/vaadin/v7/data/util/BeanItemContainer.java
compatibility-server/src/main/java/com/vaadin/v7/data/util/HierarchicalContainerOrderedWrapper.java
compatibility-server/src/main/java/com/vaadin/v7/data/util/PropertyValueGenerator.java
compatibility-server/src/main/java/com/vaadin/v7/data/util/TransactionalPropertyWrapper.java
compatibility-server/src/main/java/com/vaadin/v7/event/SortEvent.java
compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java
compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
compatibility-server/src/main/java/com/vaadin/v7/ui/TreeTable.java
compatibility-server/src/main/java/com/vaadin/v7/ui/themes/Reindeer.java
compatibility-server/src/test/java/com/vaadin/v7/data/util/GeneratedPropertyContainerTest.java
liferay-integration/src/main/java/com/vaadin/osgi/liferay/VaadinPortletProvider.java
server/src/main/java/com/vaadin/data/BinderValidationStatus.java
server/src/main/java/com/vaadin/data/BinderValidationStatusHandler.java
server/src/main/java/com/vaadin/data/BindingValidationStatusHandler.java
server/src/main/java/com/vaadin/data/HasValue.java
server/src/main/java/com/vaadin/data/ValidationException.java
server/src/main/java/com/vaadin/data/provider/DataProvider.java
server/src/main/java/com/vaadin/data/provider/GridSortOrder.java
server/src/main/java/com/vaadin/event/ConnectorActionManager.java
server/src/main/java/com/vaadin/event/EventRouter.java
server/src/main/java/com/vaadin/event/selection/SingleSelectionEvent.java
server/src/main/java/com/vaadin/event/selection/SingleSelectionListener.java
server/src/main/java/com/vaadin/server/AbstractClientConnector.java
server/src/main/java/com/vaadin/server/Setter.java
server/src/main/java/com/vaadin/server/StreamVariable.java
server/src/main/java/com/vaadin/server/VaadinSession.java
server/src/main/java/com/vaadin/ui/AbstractComponent.java
server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java
server/src/main/java/com/vaadin/ui/ComboBox.java
server/src/main/java/com/vaadin/ui/LegacyWindow.java
server/src/main/java/com/vaadin/ui/UI.java
server/src/main/java/com/vaadin/ui/Upload.java
server/src/main/java/com/vaadin/ui/dnd/DragSourceExtension.java
server/src/main/java/com/vaadin/ui/dnd/event/DragEndEvent.java
server/src/main/java/com/vaadin/ui/dnd/event/FileDropEvent.java
server/src/test/java/com/vaadin/data/BeanPropertySetTest.java
server/src/test/java/com/vaadin/data/provider/hierarchical/HierarchicalCommunicatorTest.java
server/src/test/java/com/vaadin/data/validator/NotEmptyValidator.java
server/src/test/java/com/vaadin/server/AbstractClientConnectorTest.java
server/src/test/java/com/vaadin/ui/RadioButtonGroupTest.java
shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java
test/servlet-containers/jsp-integration/src/main/java/com/vaadin/tests/integration/TrivialUI.java
test/servlet-containers/karaf/vaadin-karaf-bundle1/src/main/java/com/vaadin/test/osgi/myapplication1/CustomWidgetSet.java
test/servlet-containers/karaf/vaadin-karaf-bundle2/src/main/java/com/vaadin/test/osgi/myapplication/MyUI.java
uitest/src/main/java/com/vaadin/tests/ListenerOrder.java
uitest/src/main/java/com/vaadin/tests/Parameters.java
uitest/src/main/java/com/vaadin/tests/TestForMultipleStyleNames.java
uitest/src/main/java/com/vaadin/tests/components/menubar/MenuBarTooltipsNearEdge.java
uitest/src/main/java/com/vaadin/tests/components/menubar/MenuTooltip.java
uitest/src/main/java/com/vaadin/tests/components/treetable/TreeTableTest.java
uitest/src/main/java/com/vaadin/tests/contextclick/TreeV8ContextClick.java
uitest/src/main/java/com/vaadin/tests/data/DataProviderRefresh.java
uitest/src/main/java/com/vaadin/tests/dd/TreeDragStart.java
uitest/src/main/java/com/vaadin/tests/integration/JSR286Portlet.java
uitest/src/main/java/com/vaadin/tests/themes/valo/ValoThemeUI.java
uitest/src/main/java/com/vaadin/v7/tests/components/tree/TreeHorizontalResize.java
uitest/src/main/java/com/vaadin/v7/tests/components/tree/Trees.java
uitest/src/test/java/com/vaadin/tests/components/datefield/DateTextHandlingTest.java
uitest/src/test/java/com/vaadin/tests/components/datefield/PopupTimeClosingWithEscTest.java
uitest/src/test/java/com/vaadin/tests/components/grid/GridScrollToTest.java
uitest/src/test/java/com/vaadin/tests/components/upload/UploadInTabsheetV7Test.java
uitest/src/test/java/com/vaadin/tests/contextclick/TreeV8ContextClickTest.java

index 8da676668b7743ce731101190f7c8c2a42dffa23..aa02cd0a6f5b31e9713a340267fdb10f5bd58fe0 100644 (file)
@@ -42,7 +42,6 @@ import com.google.gwt.user.client.ui.HasWidgets;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.Widget;
 import com.vaadin.client.ApplicationConfiguration.ErrorMessage;
-import com.vaadin.client.ApplicationConnection.ApplicationStoppedEvent;
 import com.vaadin.client.communication.ConnectionStateHandler;
 import com.vaadin.client.communication.Heartbeat;
 import com.vaadin.client.communication.MessageHandler;
@@ -236,7 +235,7 @@ public class ApplicationConnection implements HasHandlers {
      *
      * To listen for the event add a {@link ApplicationStoppedHandler} by
      * invoking
-     * {@link ApplicationConnection#addHandler(ApplicationConnection.ApplicationStoppedEvent.Type, ApplicationStoppedHandler)}
+     * {@link ApplicationConnection#addHandler(GwtEvent.Type, ApplicationStoppedHandler)}
      * to the {@link ApplicationConnection}
      *
      * @since 7.1.8
@@ -279,7 +278,7 @@ public class ApplicationConnection implements HasHandlers {
     /**
      * A listener for listening to application stopped events. The listener can
      * be added to a {@link ApplicationConnection} by invoking
-     * {@link ApplicationConnection#addHandler(ApplicationStoppedEvent.Type, ApplicationStoppedHandler)}
+     * {@link ApplicationConnection#addHandler(GwtEvent.Type, ApplicationStoppedHandler)}
      *
      * @since 7.1.8
      * @author Vaadin Ltd
index e6049fbc8bb80807d60c39c7f56fcd2843d1bcc2..e96642c669324610e176fd12b9c82f8fa1a62769 100644 (file)
@@ -40,7 +40,8 @@ public interface HasChildMeasurementHintConnector
         MEASURE_ALWAYS,
 
         /**
-         * Measure child component only if child component is a {@link Layout}
+         * Measure child component only if child component is an
+         * {@link com.vaadin.client.ui.AbstractLayoutConnector AbstractLayoutConnector}
          * or implements either {@link ManagedLayout} or
          * {@link ElementResizeListener}.
          */
index 05a2e5f5ef1789c5acdbabf0533b1e8ac55d063b..332b7aae9d57a66c1bf13a44921a58f824732c4d 100644 (file)
@@ -23,7 +23,6 @@ import java.util.Set;
 import com.google.gwt.core.client.JavaScriptObject;
 import com.google.gwt.core.client.JsArrayString;
 import com.vaadin.server.PaintTarget;
-import com.vaadin.ui.AbstractComponent;
 import com.vaadin.ui.Component;
 
 /**
@@ -63,7 +62,7 @@ public final class UIDL extends JavaScriptObject {
      * Gets the name of this UIDL section, as created with
      * {@link PaintTarget#startTag(String) PaintTarget.startTag()} in the
      * server-side {@link Component#paint(PaintTarget) Component.paint()} or
-     * (usually) {@link AbstractComponent#paintContent(PaintTarget)
+     * (usually) {@link com.vaadin.ui.AbstractComponent#paintContent(PaintTarget)
      * AbstractComponent.paintContent()}. Note that if the UIDL corresponds to a
      * Paintable, a component identifier will be returned instead - this is used
      * internally and is not needed within
index 7fc027d55de4fb5f216dcc9be1a5be4def6961e5..0aced86b0382f17f0a354613d1264113a88c5d30 100644 (file)
@@ -828,7 +828,7 @@ public class WidgetUtil {
      * DOM upwards from given element.
      * <p>
      * <strong>Note:</strong> If {@code element} is inside some widget {@code W}
-     * , <em>and</em> {@code W} in turn is wrapped in a {@link Composite}
+     * , <em>and</em> {@code W} in turn is wrapped in a {@link com.google.gwt.user.client.ui.Composite Composite}
      * {@code C}, this method will not find {@code W} but returns {@code C}.
      * This may also be the case with other Composite-like classes that hijack
      * the event handling of their child widget(s).
@@ -847,7 +847,7 @@ public class WidgetUtil {
      * traversing DOM upwards from given element.
      * <p>
      * <strong>Note:</strong> If {@code element} is inside some widget {@code W}
-     * , <em>and</em> {@code W} in turn is wrapped in a {@link Composite}
+     * , <em>and</em> {@code W} in turn is wrapped in a {@link com.google.gwt.user.client.ui.Composite Composite}
      * {@code C}, this method will not find {@code W}. It returns either
      * {@code C} or null, depending on whether the class parameter matches. This
      * may also be the case with other Composite-like classes that hijack the
@@ -871,7 +871,7 @@ public class WidgetUtil {
      * traversing DOM upwards from given element.
      * <p>
      * <strong>Note:</strong> If {@code element} is inside some widget {@code W}
-     * , <em>and</em> {@code W} in turn is wrapped in a {@link Composite}
+     * , <em>and</em> {@code W} in turn is wrapped in a {@link com.google.gwt.user.client.ui.Composite Composite}
      * {@code C}, this method will not find {@code W}. It returns either
      * {@code C} or null, depending on whether the class parameter matches. This
      * may also be the case with other Composite-like classes that hijack the
index a7d2bbf6b48f73ddba667ce69b79e02d66eeec3b..026f962cb7044c03a169d07e03da6f817de21f49 100644 (file)
@@ -26,7 +26,9 @@ import com.vaadin.shared.ui.grid.renderers.RendererClickRpc;
 import elemental.json.JsonObject;
 
 /**
- * An abstract base class for {@link ClickableRenderer} connectors.
+ * An abstract base class for
+ * {@link com.vaadin.client.renderers.ClickableRenderer ClickableRenderer}
+ * connectors.
  *
  * @param <T>
  *            the presentation type of the renderer
index ff2b9876dd8b1905af544f618f2c3810f7f6a1c3..dabd685bb3792b97f4a41eace5259a83ae736d8b 100644 (file)
@@ -25,8 +25,8 @@ import elemental.json.JsonObject;
 
 /**
  * An abstract base class for renderer connectors. A renderer connector is used
- * to link a client-side {@link Renderer} to a server-side
- * {@link com.vaadin.client.renderers.Renderer Renderer}. As a connector, it can
+ * to link a client-side {@link com.vaadin.client.renderers.Renderer Renderer} to a server-side
+ * {@link com.vaadin.ui.renderers.Renderer Renderer}. As a connector, it can
  * use the regular Vaadin RPC and shared state mechanism to pass additional
  * state and information between the client and the server. This base class
  * itself only uses the basic {@link com.vaadin.shared.communication.SharedState
index 7911b393e8dfc8395c43c9386abc727a2b9f012f..daa6964c1636a4bb7b34690d9e7a6775e3716708 100644 (file)
@@ -19,7 +19,6 @@ import com.google.gwt.core.client.JavaScriptObject;
 import com.google.gwt.dom.client.Element;
 import com.google.gwt.user.client.Event;
 import com.google.gwt.user.client.ui.Widget;
-import com.vaadin.client.widgets.Escalator;
 
 /**
  * A mousewheel handling class to get around the limits of
@@ -27,7 +26,7 @@ import com.vaadin.client.widgets.Escalator;
  *
  * For internal use only. May be removed or replaced in the future.
  *
- * @see Escalator.JsniWorkaround
+ * @see com.vaadin.client.widgets.JsniWorkaround JsniWorkaround
  */
 // FIXME remove the copy in v7 package
 abstract class JsniMousewheelHandler {
index b12690dbff3cd7434f8a502ef2e96d62c800058f..88c84ad5bb67cea5a6e21574645c8a9653cae936 100644 (file)
@@ -17,7 +17,6 @@
 package com.vaadin.client.ui;
 
 import java.util.HashMap;
-import java.util.Iterator;
 
 import com.google.gwt.dom.client.Element;
 import com.google.gwt.dom.client.ImageElement;
index 0eaee0102c0fb99c9aab927d56c594433cdcf048..8f98b6bd082b5b7fc68b5c12901a2d99759e30f3 100644 (file)
@@ -18,7 +18,6 @@ package com.vaadin.client.ui;
 
 import java.util.ArrayList;
 import java.util.EventObject;
-import java.util.Iterator;
 
 import com.google.gwt.aria.client.Roles;
 import com.google.gwt.core.client.GWT;
index 71f3daeaf0d3d703cba54507eaeb17d3aea99560..28b9fd06c66e291420d5fd4039562d6ef8d22029 100644 (file)
@@ -330,7 +330,7 @@ public class VUI extends SimplePanel implements ResizeHandler,
         Profiler.leave("VUI.sendClientResized");
     }
 
-    public native static void goTo(String url)
+    public static native void goTo(String url)
     /*-{
        $wnd.location = url;
      }-*/;
index b07594946fb74823cf0d271ae8d5db97682bed8c..749a999e797cf87a33ff6138860c392b028f2934 100644 (file)
@@ -26,7 +26,8 @@ import com.vaadin.client.widgets.Escalator;
  * The updater is responsible for internally handling all remote communication,
  * should the displayed data need to be fetched remotely.
  * <p>
- * This has a similar function to {@link Grid Grid's} {@link Renderer Renderers}
+ * This has a similar function to {@link com.vaadin.client.widgets.Grid Grid's}
+ * {@link com.vaadin.client.renderers.Renderer Renderers}
  * , although they operate on different abstraction levels.
  *
  * @since 7.4
@@ -35,7 +36,7 @@ import com.vaadin.client.widgets.Escalator;
  * @see Escalator#getHeader()
  * @see Escalator#getBody()
  * @see Escalator#getFooter()
- * @see Renderer
+ * @see com.vaadin.client.renderers.Renderer Renderer
  */
 public interface EscalatorUpdater {
 
index 7a130d3946b5c8ee1bc49b95e31554519ad671e7..7ad0d922a433e1c1d8e69c6e19c4cbff00d0a33c 100644 (file)
@@ -24,7 +24,7 @@ import com.vaadin.client.widget.escalator.FlyweightRow.CellIterator;
 import com.vaadin.client.widgets.Escalator;
 
 /**
- * A {@link FlyweightCell} represents a cell in the {@link Grid} or
+ * A {@link FlyweightCell} represents a cell in the {@link com.vaadin.client.widgets.Grid Grid} or
  * {@link Escalator} at a certain point in time.
  *
  * <p>
index 0105560a002323b9a028c3cae2c73e9572ee4f97..e93fe1d3a8695b972a641a7fa62d0a85ba619c4e 100644 (file)
@@ -21,7 +21,6 @@ import java.util.Iterator;
 import java.util.List;
 
 import com.google.gwt.dom.client.TableRowElement;
-import com.vaadin.client.widgets.Escalator;
 
 /**
  * An internal implementation of the {@link Row} interface.
@@ -31,7 +30,7 @@ import com.vaadin.client.widgets.Escalator;
  *
  * @since 7.4
  * @author Vaadin Ltd
- * @see Escalator.AbstractRowContainer#refreshRow(Node, int)
+ * @see com.vaadin.client.widgets.Escalator.AbstractRowContainer#refreshRow(TableRowElement, int)
  */
 public class FlyweightRow implements Row {
 
@@ -215,7 +214,7 @@ public class FlyweightRow implements Row {
      *
      * @return an iterable of flyweight cells
      *
-     * @see #setup(Element, int, int[])
+     * @see #setup(TableRowElement, int, int[])
      * @see #teardown()
      */
     public Iterable<FlyweightCell> getCells() {
index b1ed8757d20b46000af09701c1a905067a9e3182..798280e2455d57df24c6c94ade41e22426804ab3 100644 (file)
@@ -34,7 +34,8 @@ public class DataAvailableEvent extends GwtEvent<DataAvailableHandler> {
     }
 
     /**
-     * Returns the range of available rows in {@link DataSource} for this event.
+     * Returns the range of available rows in {@link com.vaadin.client.data.DataSource DataSource}
+     * for this event.
      *
      * @return range of available rows
      */
index 35285e17d3a46034d913e33020e87ae68001ead2..3b1e85c4d4a725d27a38f9b129f3eec3a2d0bce5 100644 (file)
@@ -23,7 +23,8 @@ import java.io.Serializable;
  * @author Vaadin Ltd
  * @param <T>
  *            the row type of the target grid
- * @see Grid#setRowStyleGenerator(RowStyleGenerator)
+ * @see com.vaadin.client.widgets.Grid#setRowStyleGenerator(RowStyleGenerator)
+ *      Grid#setRowStyleGenerator(RowStyleGenerator)
  * @since 7.4
  */
 public interface RowStyleGenerator<T> extends Serializable {
index 8d573a0f38e13129ebbc74870eb361377caea5c8..97f00aa274749dcdd1d6b04ee175417e587500c3 100644 (file)
@@ -19,7 +19,6 @@ import com.google.gwt.core.client.JavaScriptObject;
 import com.google.gwt.dom.client.Element;
 import com.google.gwt.user.client.Event;
 import com.google.gwt.user.client.ui.Widget;
-import com.vaadin.v7.client.widgets.Escalator;
 
 /**
  * A mousewheel handling class to get around the limits of
@@ -27,7 +26,7 @@ import com.vaadin.v7.client.widgets.Escalator;
  *
  * For internal use only. May be removed or replaced in the future.
  *
- * @see Escalator.JsniWorkaround
+ * @see com.vaadin.v7.client.widgets.JsniWorkaround JsniWorkaround
  */
 abstract class JsniMousewheelHandler {
 
index bb4fc9ca1ef81439061199379cb259b207e8dedd..121d669c7e81c60caa8bb959a9a5c2ff89ae4bd6 100644 (file)
@@ -26,7 +26,8 @@ import com.vaadin.v7.client.widgets.Escalator;
  * The updater is responsible for internally handling all remote communication,
  * should the displayed data need to be fetched remotely.
  * <p>
- * This has a similar function to {@link Grid Grid's} {@link Renderer Renderers}
+ * This has a similar function to {@link com.vaadin.v7.client.widgets.Grid Grid's}
+ * {@link com.vaadin.v7.client.renderers.Renderer Renderers}
  * , although they operate on different abstraction levels.
  *
  * @since 7.4
index d77b94a3527e3c70a64d5896cfe14beec81cad13..b96d90078aeff5dcdf2d4bedd50bd3bc9ffd6a80 100644 (file)
@@ -24,7 +24,7 @@ import com.vaadin.v7.client.widget.escalator.FlyweightRow.CellIterator;
 import com.vaadin.v7.client.widgets.Escalator;
 
 /**
- * A {@link FlyweightCell} represents a cell in the {@link Grid} or
+ * A {@link FlyweightCell} represents a cell in the {@link com.vaadin.v7.client.widgets.Grid Grid} or
  * {@link Escalator} at a certain point in time.
  *
  * <p>
index 7f6e9d4049f7db43a4da702f02649338a1e763f4..f322a86eb9855a4cd2264f62a092a6ec38d78209 100644 (file)
@@ -21,7 +21,6 @@ import java.util.Iterator;
 import java.util.List;
 
 import com.google.gwt.dom.client.TableRowElement;
-import com.vaadin.v7.client.widgets.Escalator;
 
 /**
  * An internal implementation of the {@link Row} interface.
@@ -31,7 +30,8 @@ import com.vaadin.v7.client.widgets.Escalator;
  *
  * @since 7.4
  * @author Vaadin Ltd
- * @see Escalator.AbstractRowContainer#refreshRow(Node, int)
+ * @see com.vaadin.v7.client.widgets.Escalator.AbstractRowContainer#refreshRow(TableRowElement, int)
+ *      Escalator.AbstractRowContainer#refreshRow(TableRowElement, int)
  */
 public class FlyweightRow implements Row {
 
@@ -215,7 +215,7 @@ public class FlyweightRow implements Row {
      *
      * @return an iterable of flyweight cells
      *
-     * @see #setup(Element, int, int[])
+     * @see #setup(TableRowElement, int, int[])
      * @see #teardown()
      */
     public Iterable<FlyweightCell> getCells() {
index 9f51c73047997214dd08bbbd294fa5ef8b4b4686..2d71ce5ced2fb2f6db854b3fa6eb01d9fcd3f669 100644 (file)
@@ -34,7 +34,7 @@ public class DataAvailableEvent extends GwtEvent<DataAvailableHandler> {
     }
 
     /**
-     * Returns the range of available rows in {@link DataSource} for this event.
+     * Returns the range of available rows in {@link com.vaadin.client.data.DataSource DataSource} for this event.
      *
      * @return range of available rows
      */
index 194041e894f462f0e6416f6e45dc91d0d44a7979..07d4f447ed469b2f8194fcead3898ccf9405d23e 100644 (file)
@@ -23,7 +23,8 @@ import java.io.Serializable;
  * @author Vaadin Ltd
  * @param <T>
  *            the row type of the target grid
- * @see Grid#setRowStyleGenerator(RowStyleGenerator)
+ * @see com.vaadin.v7.client.widgets.Grid#setRowStyleGenerator(RowStyleGenerator)
+ *            Grid#setRowStyleGenerator(RowStyleGenerator)
  * @since 7.4
  */
 public interface RowStyleGenerator<T> extends Serializable {
index 452f011f0aeed3a0e64a68ca7a02ddf7a580bb90..154014707a867a5b0b5efab71ffe4435f4925c76 100644 (file)
@@ -40,7 +40,7 @@ import com.vaadin.v7.ui.Field;
  * FieldGroup provides an easy way of binding fields to data and handling
  * commits of these fields.
  * <p>
- * The functionality of FieldGroup is similar to {@link Form} but
+ * The functionality of FieldGroup is similar to {@link com.vaadin.v7.ui.Form Form} but
  * {@link FieldGroup} does not handle layouts in any way. The typical use case
  * is to create a layout outside the FieldGroup and then use FieldGroup to bind
  * the fields to a data source.
index 346088d3ac037460485fb003e3414cafdb0b4fab..23cc54f0961d9d6b618843c325810bda3f49db56 100644 (file)
@@ -15,8 +15,6 @@
  */
 package com.vaadin.v7.data.util;
 
-import com.vaadin.data.provider.DataProvider;
-
 import java.util.Collection;
 
 import com.vaadin.data.provider.ListDataProvider;
index eee7f8a321147b7e13cb7af4e16d808d9cd16a3d..5a3a0cd3b538d2ef80e671fb16c89365c5bd111b 100644 (file)
  */
 package com.vaadin.v7.data.util;
 
-import com.vaadin.data.provider.ListDataProvider;
-
 import java.util.Collection;
 
+import com.vaadin.data.provider.ListDataProvider;
+
 /**
  * An in-memory container for JavaBeans.
  *
@@ -190,7 +190,8 @@ public class BeanItemContainer<BEANTYPE>
      * @param newItemId
      *            the bean (of type BT) to add (not null)
      *
-     * @see Container.Ordered#addItemAfter(Object, Object)
+     * @see com.vaadin.v7.data.Container.Ordered#addItemAfter(Object, Object)
+     *            Ordered#addItemAfter(Object, Object)
      */
     @Override
     @SuppressWarnings("unchecked")
@@ -223,7 +224,7 @@ public class BeanItemContainer<BEANTYPE>
      *
      * The bean is used both as the item contents and as the item identifier.
      *
-     * @see Container#addItem(Object)
+     * @see com.vaadin.v7.data.Container#addItem(Object) Container#addItem(Object)
      */
     @Override
     @SuppressWarnings("unchecked")
@@ -236,7 +237,7 @@ public class BeanItemContainer<BEANTYPE>
      *
      * The bean is used both as the item contents and as the item identifier.
      *
-     * @see Container#addItem(Object)
+     * @see com.vaadin.v7.data.Container#addItem(Object) Container#addItem(Object)
      */
     @Override
     public BeanItem<BEANTYPE> addBean(BEANTYPE bean) {
index 880350a3b27e677b16a7d59a1546b6a823a1ba49..e373020bd83ef9411e33d32206aa813d6e3f9ea7 100644 (file)
@@ -17,13 +17,12 @@ package com.vaadin.v7.data.util;
 
 import java.util.Collection;
 
-import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.Container.Hierarchical;
 
 /**
  * A wrapper class for adding external ordering to containers not implementing
- * the {@link Container.Ordered} interface while retaining {@link Hierarchical}
- * features.
+ * the {@link com.vaadin.v7.data.Container.Ordered Container.Ordered}
+ * interface while retaining {@link Hierarchical} features.
  *
  * @see ContainerOrderedWrapper
  *
index 70572c8e651996f1371baae9490ba69c691e625f..d1e45c0d1baf2f7cb029cb16def4ff574a89e246 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.v7.data.util;
 
 import java.io.Serializable;
-import java.util.Map;
 
 import com.vaadin.data.Binder;
 import com.vaadin.data.provider.DataProvider;
index 16ff8052cf5f4693c2204e2ece3ca0325f3f2889..bbe51c09a05ff24716fb6196800d259e93e4cd5e 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.v7.data.util;
 
 import com.vaadin.v7.data.Property;
-import com.vaadin.v7.data.Property.ValueChangeEvent;
 import com.vaadin.v7.data.Property.ValueChangeNotifier;
 
 /**
index 044b42b10f3168213641ce6da5629e035fd4c68b..8a1e2a129ee3028280a9ead4767a6e331e563f14 100644 (file)
@@ -23,8 +23,8 @@ import com.vaadin.ui.Component;
 import com.vaadin.v7.data.sort.SortOrder;
 
 /**
- * Event describing a change in sorting of a {@link Container}. Fired by
- * {@link SortNotifier SortNotifiers}.
+ * Event describing a change in sorting of a {@link com.vaadin.v7.data.Container Container}.
+ * Fired by {@link SortNotifier SortNotifiers}.
  *
  * @see SortListener
  *
index 5d1b8ffee371deb915e4062e7763f390ee83bf56..e2d7a811043c6a1a34b90d59695873585a51d0a3 100644 (file)
@@ -32,7 +32,6 @@ import com.vaadin.server.KeyMapper;
 import com.vaadin.shared.Range;
 import com.vaadin.shared.data.DataProviderRpc;
 import com.vaadin.shared.data.DataRequestRpc;
-import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.Container.Indexed;
 import com.vaadin.v7.data.Container.Indexed.ItemAddEvent;
 import com.vaadin.v7.data.Container.Indexed.ItemRemoveEvent;
@@ -54,7 +53,7 @@ import elemental.json.JsonObject;
 
 /**
  * Provides Vaadin server-side container data source to a
- * {@link com.vaadin.v7.client.connectors.GridConnector}. This is currently
+ * {@link com.vaadin.v7.client.connectors.GridConnector GridConnector}. This is currently
  * implemented as an Extension hardcoded to support a specific connector type.
  * This will be changed once framework support for something more flexible has
  * been implemented.
@@ -154,9 +153,10 @@ public class RpcDataProviderExtension extends AbstractExtension {
 
     /**
      * A class to listen to changes in property values in the Container added
-     * with {@link Grid#setContainerDatasource(Container.Indexed)}, and notifies
-     * the data source to update the client-side representation of the modified
-     * item.
+     * with {@link Grid#setContainerDatasource(com.vaadin.v7.data.Container.Indexed)
+     * Grid#setContainerDatasource(Container.Indexed)},
+     * and notifies the data source to update the client-side representation
+     * of the modified item.
      * <p>
      * One instance of this class can (and should) be reused for all the
      * properties in an item, since this class will inform that the entire row
@@ -167,7 +167,8 @@ public class RpcDataProviderExtension extends AbstractExtension {
      * value changes, an instance of this class needs to be attached to each and
      * every Item's Property in the container.
      *
-     * @see Grid#addValueChangeListener(Container, Object, Object)
+     * @see Grid#addValueChangeListener(com.vaadin.v7.data.Container, Object, Object)
+     *      Grid#addValueChangeListener(Container, Object, Object)
      * @see Grid#valueChangeListeners
      */
     private class GridValueChangeListener implements ValueChangeListener {
index caef040d25c7148dc6e7027780de4f6676e019ce..9b64d1e6f82d71b6856d1a42060950bab220bab2 100644 (file)
@@ -1520,7 +1520,8 @@ public class Grid extends AbstractComponent
     }
 
     /**
-     * A default implementation of a {@link SelectionModel.Single}
+     * A default implementation of a
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.Single SelectionModel.Single}.
      */
     @Deprecated
     public static class SingleSelectionModel extends AbstractSelectionModel
@@ -1646,7 +1647,8 @@ public class Grid extends AbstractComponent
     }
 
     /**
-     * A default implementation for a {@link SelectionModel.None}
+     * A default implementation for a
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.None SelectionModel.None}.
      */
     @Deprecated
     public static class NoSelectionModel extends AbstractSelectionModel
@@ -1674,7 +1676,8 @@ public class Grid extends AbstractComponent
     }
 
     /**
-     * A default implementation of a {@link SelectionModel.Multi}
+     * A default implementation of a
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.Multi SelectionModel.Multi}.
      */
     @Deprecated
     public static class MultiSelectionModel extends AbstractSelectionModel
@@ -5883,7 +5886,7 @@ public class Grid extends AbstractComponent
      * <p>
      * This method is a shorthand that delegates to the
      * {@link #getSelectionModel() selection model}. Only
-     * {@link SelectionModel.Single} is supported.
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.Single SelectionModel.Single} is supported.
      *
      * @return the item id of the currently selected item, or <code>null</code>
      *         if nothing is selected
@@ -5920,8 +5923,9 @@ public class Grid extends AbstractComponent
      * <p>
      * This method is a shorthand that delegates to the
      * {@link #getSelectionModel() selection model}. Only
-     * {@link SelectionModel.Single} and {@link SelectionModel.Multi} are
-     * supported.
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.Single SelectionModel.Single}
+     * and {@link com.vaadin.v7.ui.Grid.SelectionModel.Multi SelectionModel.Multi}
+     * are supported.
      *
      * @param itemId
      *            the itemId to mark as selected
@@ -5966,8 +5970,9 @@ public class Grid extends AbstractComponent
      * <p>
      * This method is a shorthand that delegates to the
      * {@link #getSelectionModel() selection model}. Only
-     * {@link SelectionModel.Single} and {@link SelectionModel.Multi} are
-     * supported.
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.Single SelectionModel.Single}
+     * and {@link com.vaadin.v7.ui.Grid.SelectionModel.Multi SelectionModel.Multi}
+     * are supported.
      *
      * @param itemId
      *            the itemId to remove from being selected
@@ -6013,8 +6018,9 @@ public class Grid extends AbstractComponent
      * <p>
      * This method is a shorthand that delegates to the
      * {@link #getSelectionModel() selection model}. Only
-     * {@link SelectionModel.Single} and {@link SelectionModel.Multi} are
-     * supported.
+     * {@link com.vaadin.v7.ui.Grid.SelectionModel.Single SelectionModel.Single}
+     * and {@link com.vaadin.v7.ui.Grid.SelectionModel.Multi SelectionModel.Multi}
+     * are supported.
      *
      * @return <code>true</code> if the selection state changed,
      *         <code>false</code> if the itemId was already selected
index 3c608efc70ffc10300d132306c190868e149938f..4ea45422d3f4fcb244c7158f9ecdd87b1eb0b897 100644 (file)
@@ -39,7 +39,6 @@ import com.vaadin.ui.declarative.DesignException;
 import com.vaadin.v7.data.Collapsible;
 import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.Container.Hierarchical;
-import com.vaadin.v7.data.Container.ItemSetChangeEvent;
 import com.vaadin.v7.data.util.ContainerHierarchicalWrapper;
 import com.vaadin.v7.data.util.HierarchicalContainer;
 import com.vaadin.v7.data.util.HierarchicalContainerOrderedWrapper;
index 3b4a0bb27ab9b857fd88c0890a8b23f974f19926..2d288a66d9e26805b3729fbcfab53a44b0862112 100644 (file)
@@ -173,7 +173,7 @@ public class Reindeer extends BaseTheme {
 
     /**
      * Changes the background of a layout to white. Applies to
-     * {@link VerticalLayout}, {@link HorizontalLayout}, {@link GridLayout},
+     * {@link VerticalLayout}, {@link HorizontalLayout}, {@link com.vaadin.ui.GridLayout GridLayout},
      * {@link FormLayout}, {@link CssLayout}, {@link VerticalSplitPanel} and
      * {@link HorizontalSplitPanel}.
      * <p>
@@ -184,7 +184,7 @@ public class Reindeer extends BaseTheme {
 
     /**
      * Changes the background of a layout to a shade of blue. Applies to
-     * {@link VerticalLayout}, {@link HorizontalLayout}, {@link GridLayout},
+     * {@link VerticalLayout}, {@link HorizontalLayout}, {@link com.vaadin.ui.GridLayout GridLayout},
      * {@link FormLayout}, {@link CssLayout}, {@link VerticalSplitPanel} and
      * {@link HorizontalSplitPanel}.
      * <p>
@@ -202,7 +202,7 @@ public class Reindeer extends BaseTheme {
      * </p>
      * <p>
      * Applies to {@link VerticalLayout}, {@link HorizontalLayout},
-     * {@link GridLayout}, {@link FormLayout} and {@link CssLayout}.
+     * {@link com.vaadin.ui.GridLayout GridLayout}, {@link FormLayout} and {@link CssLayout}.
      * </p>
      *
      */
index ef4aac49f53d0d9bda31f29ab383badd8f2a25d0..74133fa0b64491738bb8db56c4377b102e2e8e45 100644 (file)
@@ -29,8 +29,8 @@ import com.vaadin.v7.data.Container.ItemSetChangeEvent;
 import com.vaadin.v7.data.Container.ItemSetChangeListener;
 import com.vaadin.v7.data.Container.PropertySetChangeEvent;
 import com.vaadin.v7.data.Container.PropertySetChangeListener;
-import com.vaadin.v7.data.sort.SortOrder;
 import com.vaadin.v7.data.Item;
+import com.vaadin.v7.data.sort.SortOrder;
 import com.vaadin.v7.data.util.GeneratedPropertyContainer.GeneratedPropertyItem;
 import com.vaadin.v7.data.util.filter.Compare;
 import com.vaadin.v7.data.util.filter.UnsupportedFilterException;
index b95f0b591ee170f67aab3c6518f72e8376241f6d..a932c84fbe76882c7f8ef78a6eb6f7d9ca023ff0 100644 (file)
@@ -15,8 +15,6 @@
  */
 package com.vaadin.osgi.liferay;
 
-import java.util.Optional;
-
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceObjects;
 import org.osgi.service.component.ComponentContext;
index 151a4b549b3103c36d6d607d0ca4380314222cbe..49a310263695575ebdc3ea0d12bf4bf4bdcfd806 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.data;
 
 import java.io.Serializable;
-import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
 import java.util.Objects;
index 3bfa9c863a4459f5f93e8a3af5af528ecd81e688..74c2c9595d5496afa4b1df9490d2d1c49db84013 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.data;
 
 import com.vaadin.event.SerializableEventListener;
-import com.vaadin.ui.AbstractComponent;
 
 /**
  * Handler for {@link BinderValidationStatus} changes.
@@ -26,7 +25,7 @@ import com.vaadin.ui.AbstractComponent;
  * handling.
  * <p>
  * The default handler will show
- * {@link AbstractComponent#setComponentError(com.vaadin.server.ErrorMessage) an
+ * {@link com.vaadin.ui.AbstractComponent#setComponentError(com.vaadin.server.ErrorMessage) an
  * error message} for failed field validations. For bean level validation errors
  * it will display the first error message in
  * {@link Binder#setStatusLabel(com.vaadin.ui.Label) status label}, if one has
index 6e509be0ac9571189d37a56d0445646cbdaa144e..0486135de3d0df6512db18d7f307ab8ddb761f28 100644 (file)
@@ -17,7 +17,6 @@ package com.vaadin.data;
 
 import com.vaadin.data.Binder.BindingBuilder;
 import com.vaadin.event.SerializableEventListener;
-import com.vaadin.ui.AbstractComponent;
 
 /**
  * Handler for {@link BindingValidationStatus} changes.
@@ -25,7 +24,7 @@ import com.vaadin.ui.AbstractComponent;
  * {@link BindingBuilder#withValidationStatusHandler(BindingValidationStatusHandler)}
  * Register} an instance of this class to be able to override the default
  * handling, which is to show
- * {@link AbstractComponent#setComponentError(com.vaadin.server.ErrorMessage) an
+ * {@link com.vaadin.ui.AbstractComponent#setComponentError(com.vaadin.server.ErrorMessage) an
  * error message} for failed field validations.
  *
  * @author Vaadin Ltd
index aad436a0891317af70c5630178b01a2d6336f9cd..be5629f952bf36e3f3c22a3c066bd32aad0ced98 100644 (file)
@@ -23,7 +23,6 @@ import java.util.Optional;
 
 import com.vaadin.event.HasUserOriginated;
 import com.vaadin.event.SerializableEventListener;
-import com.vaadin.server.Setter;
 import com.vaadin.shared.Registration;
 import com.vaadin.ui.Component;
 import com.vaadin.util.ReflectTools;
@@ -210,7 +209,8 @@ public interface HasValue<V> extends Serializable {
      * values. Specific implementations might not support this.
      *
      * @return empty value
-     * @see Binder#bind(HasValue, ValueProvider, Setter)
+     * @see Binder#bind(HasValue, ValueProvider, com.vaadin.server.Setter)
+     *      Binder#bind(HasValue, ValueProvider, Setter)
      */
     public default V getEmptyValue() {
         return null;
index 92043872e287ae7b19b0f45679b5ff4e734a8d45..fb06d123483d8a9559c07a8cb6d99e0be999eab2 100644 (file)
@@ -15,7 +15,6 @@
  */
 package com.vaadin.data;
 
-import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
 import java.util.stream.Collectors;
index f24be8ca17ecac000a4b783e7e7341566b0aacdb..936bcc453620c40218d6e6bde60c45f891f4dd69 100644 (file)
@@ -28,7 +28,6 @@ import com.vaadin.data.provider.CallbackDataProvider.CountCallback;
 import com.vaadin.data.provider.CallbackDataProvider.FetchCallback;
 import com.vaadin.server.SerializableBiFunction;
 import com.vaadin.server.SerializableFunction;
-import com.vaadin.server.SerializableToIntFunction;
 import com.vaadin.shared.Registration;
 
 /**
index cf53718caf96c5f9e4881c738c431d9b1c370a23..15ff389097bcad357e5af6f6098609975a492c31 100644 (file)
@@ -19,7 +19,7 @@ import com.vaadin.shared.data.sort.SortDirection;
 import com.vaadin.ui.Grid.Column;
 
 /**
- * Sorting information for {@link Grid}.
+ * Sorting information for {@link com.vaadin.ui.Grid Grid}.
  *
  * @param <T>
  *            the grid type
@@ -28,7 +28,7 @@ import com.vaadin.ui.Grid.Column;
 public class GridSortOrder<T> extends SortOrder<Column<T, ?>> {
 
     /**
-     * Construct sorting information for usage in a {@link Grid}.
+     * Construct sorting information for usage in a {@link com.vaadin.ui.Grid Grid}.
      *
      * @param column
      *            the column to be sorted
index 8f121015f564c59f06793e494952df99f275bc55..36cbf203621aebacba5257f471f8a7f91830c5c7 100644 (file)
@@ -15,8 +15,6 @@
  */
 package com.vaadin.event;
 
-import java.util.logging.Logger;
-
 import com.vaadin.event.Action.Container;
 import com.vaadin.server.ClientConnector;
 import com.vaadin.server.VariableOwner;
index 04c05d3af80cb4ea08b20d05ba91ba0403c3c3fa..f5c04b2de14e2ad31ed79fafe732d7e8e5b0eb5b 100644 (file)
@@ -24,7 +24,6 @@ import java.util.Iterator;
 import java.util.LinkedHashSet;
 import java.util.List;
 import java.util.Objects;
-import java.util.logging.Logger;
 
 import com.vaadin.server.ErrorEvent;
 import com.vaadin.server.ErrorHandler;
index 36feafdd43f46a9dcc133974ee842f2f5c90e250..4047c1c60ed86531c220a0d469e3b0d79f5d8414 100644 (file)
@@ -20,7 +20,6 @@ import java.util.Optional;
 import java.util.Set;
 
 import com.vaadin.data.HasValue.ValueChangeEvent;
-import com.vaadin.data.SelectionModel;
 import com.vaadin.ui.AbstractSingleSelect;
 import com.vaadin.ui.Component;
 import com.vaadin.ui.SingleSelect;
@@ -83,7 +82,8 @@ public class SingleSelectionEvent<T> extends ValueChangeEvent<T>
      *
      * @return the selected item or an empty optional if deselected
      *
-     * @see SelectionModel.Single#getSelectedItem()
+     * @see com.vaadin.data.SelectionModel.Single#getSelectedItem()
+     *      SelectionModel.Single#getSelectedItem()
      */
     public Optional<T> getSelectedItem() {
         return Optional.ofNullable(getValue());
index b5683affe6f3ba8bbdca7992937cea746eb25af0..611647fdc35630712ac956a87ad22cbb2a8dee34 100644 (file)
@@ -17,7 +17,6 @@ package com.vaadin.event.selection;
 
 import java.lang.reflect.Method;
 
-import com.vaadin.data.SelectionModel;
 import com.vaadin.event.SerializableEventListener;
 import com.vaadin.util.ReflectTools;
 
@@ -32,7 +31,7 @@ import com.vaadin.util.ReflectTools;
  * @param <T>
  *            the type of the selected item
  *
- * @see SelectionModel.Single
+ * @see com.vaadin.data.SelectionModel.Single SelectionModel.Single
  * @see SingleSelectionEvent
  */
 @FunctionalInterface
index 00cbb4f7b4dc736819c8772bd65a87a660c3325a..75f5d27b4f09afd7119cb5c00c4b10cdfe0f57ec 100644 (file)
@@ -31,7 +31,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.NoSuchElementException;
 import java.util.WeakHashMap;
-import java.util.logging.Logger;
 
 import com.vaadin.event.EventRouter;
 import com.vaadin.event.MethodEventSource;
index 056979b8f519fe5b332bb5eca29f1206860f3e39..300c7e1b6f7347c4c76b10025b6f058e8a9fd506 100644 (file)
@@ -19,13 +19,13 @@ import java.io.Serializable;
 import java.util.function.BiConsumer;
 
 import com.vaadin.data.Binder;
-import com.vaadin.data.HasValue;
 
 /**
  * The function to write the field value to the bean property
  *
  * @see BiConsumer
- * @see Binder#bind(HasValue, SerializableFunction, Setter)
+ * @see Binder#bind(com.vaadin.data.HasValue, SerializableFunction, Setter)
+ *            Binder#bind(HasValue, SerializableFunction, Setter)
  * @param <BEAN>
  *            the type of the target bean
  * @param <FIELDVALUE>
index d62481dabfb711415bf3d9f48d3dfa6eb90c70a1..5252a207fc36ffbad95db7bc12cd0cfa08d5dcb6 100644 (file)
@@ -18,10 +18,6 @@ package com.vaadin.server;
 import java.io.OutputStream;
 import java.io.Serializable;
 
-import com.vaadin.server.StreamVariable.StreamingEndEvent;
-import com.vaadin.server.StreamVariable.StreamingErrorEvent;
-import com.vaadin.server.StreamVariable.StreamingStartEvent;
-
 /**
  * StreamVariable is a special kind of variable whose value is streamed to an
  * {@link OutputStream} provided by the {@link #getOutputStream()} method. E.g.
@@ -57,7 +53,7 @@ public interface StreamVariable extends Serializable {
      * {@link #onProgress(long, long)} is called in a synchronized block when
      * the content is being received. This is potentially bit slow, so we are
      * calling that method only if requested. The value is requested after the
-     * {@link #uploadStarted(StreamingStartEvent)} event, but not after reading
+     * {@link #streamingStarted(StreamingStartEvent)} event, but not after reading
      * each buffer.
      *
      * @return true if this {@link StreamVariable} wants to by notified during
@@ -120,7 +116,7 @@ public interface StreamVariable extends Serializable {
     }
 
     /**
-     * Event passed to {@link #uploadStarted(StreamingStartEvent)} method before
+     * Event passed to {@link #streamingStarted(StreamingStartEvent)} method before
      * the streaming of the content to {@link StreamVariable} starts.
      */
     public interface StreamingStartEvent extends StreamingEvent {
@@ -140,14 +136,14 @@ public interface StreamVariable extends Serializable {
     }
 
     /**
-     * Event passed to {@link #uploadFinished(StreamingEndEvent)} method the
+     * Event passed to {@link #streamingFinished(StreamingEndEvent)} method the
      * contents have been streamed to StreamVariable successfully.
      */
     public interface StreamingEndEvent extends StreamingEvent {
     }
 
     /**
-     * Event passed to {@link #uploadFailed(StreamingErrorEvent)} method when
+     * Event passed to {@link #streamingFailed(StreamingErrorEvent)} method when
      * the streaming ended before the end of the input. The streaming may fail
      * due an interruption by {@link } or due an other unknown exception in
      * communication. In the latter case the exception is also passed to
index 26b9cfa7a1635fb0780a3f47f69345fe0f1193d6..a49c286f4a7b5ca99dcc6f02132318f4b3172259 100644 (file)
@@ -678,8 +678,8 @@ public class VaadinSession implements HttpSessionBindingListener, Serializable {
     /**
      * Gets the currently used session. The current session is automatically
      * defined when processing requests related to the session (see
-     * {@link ThreadLocal}) and in {@link VaadinSession#access(Command)} and
-     * {@link UI#access(Command)}. In other cases, (e.g. from background
+     * {@link ThreadLocal}) and in {@link VaadinSession#access(Runnable)} and
+     * {@link UI#access(Runnable)}. In other cases, (e.g. from background
      * threads, the current session is not automatically defined.
      * <p>
      * The session is stored using a weak reference to avoid leaking memory in
index 92aaa0cb36e18f2234a3bb280bb5de04b3200cc4..70e77e71f7380e7fa6f80d285d8851c09574e757 100644 (file)
@@ -29,7 +29,6 @@ import java.util.Map.Entry;
 import java.util.Objects;
 import java.util.Set;
 import java.util.StringTokenizer;
-import java.util.logging.Logger;
 
 import org.jsoup.nodes.Attribute;
 import org.jsoup.nodes.Attributes;
index 1e036f371ba498cdc1e2a090b02da5b47d03011e..0eca15246af75e9cf7e8c0a7680e96183a61ae6c 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.ui;
 
 import java.time.Instant;
-import java.time.LocalDate;
 import java.time.LocalDateTime;
 import java.time.ZoneOffset;
 import java.time.format.DateTimeFormatter;
index 0d7e7fc619c2156db4188bfba672c5001af76248..00d735f83964c85d760e1e00dec097e955c2951b 100644 (file)
@@ -813,7 +813,7 @@ public class ComboBox<T> extends AbstractSingleSelect<T>
      * size callback.
      * <p>
      * This method is a shorthand for making a {@link CallbackDataProvider} that
-     * handles a partial {@link Query} object.
+     * handles a partial {@link com.vaadin.data.provider.Query Query} object.
      *
      * @param fetchItems
      *            a callback for fetching items
@@ -835,8 +835,8 @@ public class ComboBox<T> extends AbstractSingleSelect<T>
      * Predicate to check {@link ComboBox} item captions against user typed
      * strings.
      *
-     * @see #setItems(CaptionFilter, Collection)
-     * @see #setItems(CaptionFilter, Object[])
+     * @see ComboBox#setItems(CaptionFilter, Collection)
+     * @see ComboBox#setItems(CaptionFilter, Object[])
      * @since 8.0
      */
     @FunctionalInterface
index dda734899daa9b10a7a5f6c7a681745ca84060ff..7cb20a82b960ebf49608e9c591d2d81a5c31af3a 100644 (file)
@@ -19,7 +19,6 @@ import java.net.MalformedURLException;
 import java.net.URL;
 
 import com.vaadin.server.LegacyApplication;
-import com.vaadin.server.Page.BrowserWindowResizeEvent;
 import com.vaadin.server.Page.BrowserWindowResizeListener;
 import com.vaadin.server.Resource;
 import com.vaadin.server.VaadinRequest;
@@ -321,7 +320,8 @@ public class LegacyWindow extends UI {
      * @param resizeListener
      *            the listener to add
      *
-     * @see BrowserWindowResizeListener#browserWindowResized(BrowserWindowResizeEvent)
+     * @see BrowserWindowResizeListener#browserWindowResized(com.vaadin.server.Page.BrowserWindowResizeEvent)
+     *      BrowserWindowResizeListener#browserWindowResized(BrowserWindowResizeEvent)
      * @see #setResizeLazy(boolean)
      *
      * @deprecated As of 7.0, use the similarly named api in Page instead
index e17c7fec381b5d5ae1173e4f8136555489e1b9a1..ac4815f92db839c9b46d310b077df82785ee6b0a 100644 (file)
@@ -23,7 +23,6 @@ import java.net.URI;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
-import java.util.HashMap;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.LinkedHashSet;
index 4812c8ffd53e2545ed254487ea8acdf68f7e55de..4cd9ea7b82990aa1e8aacf40996b752e7bc78536 100644 (file)
@@ -19,7 +19,6 @@ import java.io.OutputStream;
 import java.io.Serializable;
 import java.lang.reflect.Method;
 import java.util.Collections;
-import java.util.Iterator;
 import java.util.LinkedHashSet;
 import java.util.Map;
 import java.util.Objects;
index d123700be975fd91113f00ee0952d9800c56a8ae..5debdffbd03b8d97c0a7ffceb02a522bbdf0fe86 100644 (file)
@@ -23,7 +23,6 @@ import java.util.Objects;
 import com.vaadin.server.AbstractExtension;
 import com.vaadin.server.Resource;
 import com.vaadin.shared.Registration;
-import com.vaadin.shared.ui.dnd.criteria.ComparisonOperator;
 import com.vaadin.shared.ui.dnd.DragSourceRpc;
 import com.vaadin.shared.ui.dnd.DragSourceState;
 import com.vaadin.shared.ui.dnd.DropEffect;
@@ -329,8 +328,9 @@ public class DragSourceExtension<T extends AbstractComponent>
      *         key of the payload to be transferred
      * @param value
      *         value of the payload to be transferred
-     * @see DropTargetExtension#setDropCriterion(String, ComparisonOperator,
+     * @see DropTargetExtension#setDropCriterion(String, com.vaadin.shared.ui.dnd.criteria.ComparisonOperator,
      * int)
+     *      DropTargetExtension#setDropCriterion(String, ComparisonOperator, int)
      */
     public void setPayload(String key, int value) {
         setPayload(key, String.valueOf(value), Payload.ValueType.INTEGER);
@@ -350,8 +350,9 @@ public class DragSourceExtension<T extends AbstractComponent>
      *         key of the payload to be transferred
      * @param value
      *         value of the payload to be transferred
-     * @see DropTargetExtension#setDropCriterion(String, ComparisonOperator,
+     * @see DropTargetExtension#setDropCriterion(String, com.vaadin.shared.ui.dnd.criteria.ComparisonOperator,
      * double)
+     *      DropTargetExtension#setDropCriterion(String, ComparisonOperator, double)
      */
     public void setPayload(String key, double value) {
         setPayload(key, String.valueOf(value), Payload.ValueType.DOUBLE);
index df71ed0a0826908a9347c39a55e835ab67dd2059..11c019f74ed9e569420723a0cdacfde74c162099 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.ui.dnd.event;
 
 import com.vaadin.shared.ui.dnd.DropEffect;
-import com.vaadin.shared.ui.dnd.EffectAllowed;
 import com.vaadin.ui.AbstractComponent;
 import com.vaadin.ui.Component;
 import com.vaadin.ui.dnd.DragSourceExtension;
@@ -62,7 +61,8 @@ public class DragEndEvent<T extends AbstractComponent> extends Component.Event {
      *
      * @return The {@code DataTransfer.dropEffect} parameter of the client side
      * dragend event.
-     * @see DragSourceExtension#setEffectAllowed(EffectAllowed)
+     * @see DragSourceExtension#setEffectAllowed(com.vaadin.shared.ui.dnd.EffectAllowed)
+     *      DragSourceExtension#setEffectAllowed(EffectAllowed)
      * @see DropTargetExtension#setDropEffect(DropEffect)
      * @see DropTargetExtension#setDropCriteriaScript(String)
      */
index 331b83c7845397cbebfd8c80e3d335f169a284aa..ed53dbc678fd2e0331fb1b7d5085e2b019991ad9 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.ui.dnd.event;
 
 import java.util.Collection;
-import java.util.List;
 
 import com.vaadin.ui.AbstractComponent;
 import com.vaadin.ui.Component;
index 593479f24ae423bb5de2948fdb792846a6225c7b..c577db60679ec873e3f4227bd4762d630f34c914 100644 (file)
@@ -23,7 +23,6 @@ import java.lang.reflect.Field;
 import java.util.Arrays;
 import java.util.HashSet;
 import java.util.Map;
-import java.util.Optional;
 import java.util.Set;
 import java.util.stream.Collectors;
 
index cdf71a21f1574f0644d38b1cb07fcae71fb86ba8..9c1c47215c0e9c03038b1d5ade99266e92a9b2ef 100644 (file)
@@ -9,7 +9,6 @@ import com.vaadin.server.MockVaadinSession;
 import com.vaadin.server.VaadinService;
 import com.vaadin.server.VaadinSession;
 import com.vaadin.ui.UI;
-import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mockito;
index 57709ff5e286db724ff0b949cd8097aadb46d7bd..706aa6536b6f2db8f12fd41da97fbcc711f62f8f 100644 (file)
@@ -27,9 +27,6 @@ import com.vaadin.data.ValueContext;
  * Simple validator to check against {@code null} value and empty {@link String}
  * value.
  * <p>
- * This validator works similar to {@link NotNullValidator} but in addition it
- * also check whether the value is not an empty String.
- * <p>
  * This validator can be suitable for fields that have been marked as required
  * with {@link HasValue#setRequiredIndicatorVisible(boolean)}.
  * <p>
index b43de2f4562ab07186f78f8c5262ce14421f68c2..4a6a2f56475093aa9903189cbd274a1dcc6d65c9 100644 (file)
@@ -19,7 +19,6 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
-import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
 import java.lang.ref.WeakReference;
index 545871f9cee29eaccaa3fa03d2b1deece9f3f8b6..b87d459517e2d4125fc1506171288e5dd063f1d5 100644 (file)
  */
 package com.vaadin.ui;
 
-import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.concurrent.atomic.AtomicInteger;
 
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 
-import com.vaadin.data.SelectionModel.Multi;
 import com.vaadin.data.provider.DataProvider;
 import com.vaadin.server.ServerRpcManager;
 import com.vaadin.shared.data.selection.SelectionServerRpc;
index 9a8fb531056926dd26c498a96a5dd343421df680..98508ad70536f835dba75ed92a820a46d442925d 100644 (file)
@@ -23,8 +23,6 @@ import com.vaadin.shared.annotations.DelegateToWidget;
 import com.vaadin.shared.data.sort.SortDirection;
 import com.vaadin.shared.ui.AbstractSingleSelectState;
 
-import elemental.json.JsonArray;
-
 /**
  * The shared state for the {@link com.vaadin.ui.Grid} component.
  *
@@ -43,42 +41,42 @@ public class GridState extends AbstractSingleSelectState {
     /**
      * The key in which a row's data can be found.
      *
-     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, JsonArray)
+     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, elemental.json.JsonArray)
      */
     public static final String JSONKEY_DATA = "d";
 
     /**
      * The key in which a row's own key can be found.
      *
-     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, JsonArray)
+     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, elemental.json.JsonArray)
      */
     public static final String JSONKEY_ROWKEY = "k";
 
     /**
      * The key in which a row's generated style can be found.
      *
-     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, JsonArray)
+     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, elemental.json.JsonArray)
      */
     public static final String JSONKEY_ROWSTYLE = "rs";
 
     /**
      * The key in which a generated styles for a row's cells can be found.
      *
-     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, JsonArray)
+     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, elemental.json.JsonArray)
      */
     public static final String JSONKEY_CELLSTYLES = "cs";
 
     /**
      * The key in which a row's description can be found.
      *
-     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, JsonArray)
+     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, elemental.json.JsonArray)
      */
     public static final String JSONKEY_ROWDESCRIPTION = "rd";
 
     /**
      * The key in which a cell's description can be found.
      *
-     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, JsonArray)
+     * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, elemental.json.JsonArray)
      */
     public static final String JSONKEY_CELLDESCRIPTION = "cd";
 
index f38119f3047797026e48e2cc7c39bf3a81ba1d4e..e360f21bdca56bcbe49c4a5a4c59f56370f6d4e6 100644 (file)
@@ -15,9 +15,7 @@
  */
 package com.vaadin.tests.integration;
 
-import com.vaadin.annotations.VaadinServletConfiguration;
 import com.vaadin.server.VaadinRequest;
-import com.vaadin.server.VaadinServlet;
 import com.vaadin.ui.Label;
 import com.vaadin.ui.UI;
 
index 7a34f343f6009c41acdacc68e82d3f7981d968b9..36f6a45744055776b5bfda12882bca0ad5bb8e21 100644 (file)
@@ -1,8 +1,6 @@
 package com.vaadin.test.osgi.myapplication1;
 
-import com.vaadin.osgi.resources.OsgiVaadinTheme;
 import com.vaadin.osgi.resources.OsgiVaadinWidgetset;
-import com.vaadin.ui.themes.ValoTheme;
 import org.osgi.service.component.annotations.Component;
 
 @Component
index eb52336eb572e3396b211bde013f394c829aa064..14529ecea1a703de33b27c1930d3623a02df0026 100644 (file)
@@ -2,7 +2,6 @@ package com.vaadin.test.osgi.myapplication;
 
 import javax.servlet.annotation.WebServlet;
 
-import com.vaadin.annotations.Theme;
 import org.osgi.service.component.annotations.Component;
 
 import com.vaadin.annotations.VaadinServletConfiguration;
index 6baa1b364b248546e72479519faff719b9693ee7..a4719be6ec94e9cd67d602058f3bc3fcd5a64d8c 100644 (file)
@@ -1,7 +1,6 @@
 package com.vaadin.tests;
 
 import java.util.HashMap;
-import java.util.Iterator;
 
 import com.vaadin.ui.Button;
 import com.vaadin.ui.Button.ClickEvent;
index 647c6575f14393a9e935dd64ee795ea090a85c91..c483b4e6b36eacf370df25a971077f260c82df3a 100644 (file)
@@ -18,7 +18,6 @@ package com.vaadin.tests;
 
 import java.io.IOException;
 import java.net.URL;
-import java.util.Iterator;
 import java.util.Map;
 
 import com.vaadin.server.ExternalResource;
index b4b933ecde2e6f9b9a1aca283f2c9b355880e6f0..c2d910ec26c99bd51fbb2e3e0d3e05136239d6c6 100644 (file)
@@ -18,7 +18,6 @@ package com.vaadin.tests;
 
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.Iterator;
 
 import com.vaadin.ui.CustomComponent;
 import com.vaadin.ui.Label;
index 4af8820d27453de91618233f92fd821529924555..3757079c420801e99713112d83c52aac75bbfaae 100644 (file)
@@ -20,7 +20,6 @@ import com.vaadin.tests.components.AbstractReindeerTestUI;
 import com.vaadin.ui.Alignment;
 import com.vaadin.ui.Component;
 import com.vaadin.ui.MenuBar;
-import com.vaadin.ui.MenuBar.Command;
 import com.vaadin.ui.MenuBar.MenuItem;
 import com.vaadin.ui.VerticalLayout;
 
index 59e5cf77341168da52f2b6c1f990fa145e1c5d82..54ef51e7575d200d35d60053c203b47987ab15a4 100644 (file)
@@ -19,7 +19,6 @@ import com.vaadin.server.VaadinRequest;
 import com.vaadin.tests.components.AbstractReindeerTestUI;
 import com.vaadin.ui.Component;
 import com.vaadin.ui.MenuBar;
-import com.vaadin.ui.MenuBar.Command;
 import com.vaadin.ui.MenuBar.MenuItem;
 
 /**
index c6e4749a9864650ecc9dbc1d96d39825ff429091..f9dba43fc6e5bb5fa3d2b6317177bad555d44071 100644 (file)
@@ -1,7 +1,6 @@
 package com.vaadin.tests.components.treetable;
 
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
 
index ed30eb47d6ec58f3865aff5ea651280da053102f..4af1fdf8b004ccf83abaf7cf54efcb62d5f2c774 100644 (file)
@@ -16,7 +16,6 @@
 package com.vaadin.tests.contextclick;
 
 import com.vaadin.data.TreeData;
-import com.vaadin.shared.Registration;
 import com.vaadin.ui.Button;
 import com.vaadin.ui.Button.ClickEvent;
 import com.vaadin.ui.HorizontalLayout;
index 4476073b6d5b9a68f65d3eef09b4ce540bdc0a8e..5e7fd6672e6a4a70baa9df4823d34437e3af3026 100644 (file)
@@ -3,8 +3,6 @@ package com.vaadin.tests.data;
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
-import java.util.Objects;
-import java.util.Random;
 import java.util.stream.Stream;
 
 import com.vaadin.data.provider.AbstractDataProvider;
index 0709e5d8880552ba0a86976ce7aa515ad2330134..3c4e56e9332d751bf145537087939426f033fefd 100644 (file)
@@ -3,7 +3,6 @@ package com.vaadin.tests.dd;
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.HashMap;
-import java.util.Iterator;
 
 import com.vaadin.event.dd.DragAndDropEvent;
 import com.vaadin.event.dd.DropHandler;
index b06fb68ef8bbe63a69623ae2f4a359a61ed99a90..88eaa89219dc5df5e0dd0fec6f518c5af9ed19f0 100644 (file)
@@ -2,7 +2,6 @@ package com.vaadin.tests.integration;
 
 import java.io.ByteArrayOutputStream;
 import java.io.OutputStream;
-import java.util.Iterator;
 import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
index c4a50bf0d162b58b56c3a1708e54e7df6101b4d7..c45b99df3771c41669bc96b6cb49d07af0916bed 100644 (file)
@@ -15,7 +15,6 @@
  */
 package com.vaadin.tests.themes.valo;
 
-import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.Map.Entry;
 
index 1606a4027251b4ee3b1530ebc100d812501a2056..b38e4d9bf34efd375fd795881857c83fbabe2c08 100644 (file)
@@ -1,7 +1,5 @@
 package com.vaadin.v7.tests.components.tree;
 
-import java.util.Iterator;
-
 import com.vaadin.server.ThemeResource;
 import com.vaadin.tests.components.TestBase;
 import com.vaadin.ui.Panel;
index 17e63bea4ab8b37db00009b8c5d33a5d4ec1c079..c6c523fd409ba37f741f6298751185613a7b9042 100644 (file)
@@ -1,7 +1,6 @@
 package com.vaadin.v7.tests.components.tree;
 
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
 
index 602d70926187423c771d61de815d9d41245fc683..848759c76d64b08655f1c52ba6f51483dae41b68 100644 (file)
@@ -2,10 +2,8 @@ package com.vaadin.tests.components.datefield;
 
 import com.vaadin.testbench.elements.ButtonElement;
 import com.vaadin.testbench.elements.DateFieldElement;
-import com.vaadin.testbench.elements.LabelElement;
 import com.vaadin.testbench.elements.NotificationElement;
 import com.vaadin.tests.tb3.SingleBrowserTest;
-import org.junit.Assert;
 import org.junit.Test;
 import org.openqa.selenium.Keys;
 import org.openqa.selenium.WebElement;
index 6bb7a67e1c0842f92c5f240fc76438aadf23438a..bfebb5322621c780cfbff0c3a79935b3597d8527 100644 (file)
@@ -22,8 +22,6 @@ import org.junit.Test;
 import org.openqa.selenium.By;
 import org.openqa.selenium.Keys;
 
-import com.vaadin.testbench.annotations.RunLocally;
-import com.vaadin.testbench.parallel.Browser;
 import com.vaadin.tests.tb3.MultiBrowserTest;
 
 public class PopupTimeClosingWithEscTest extends MultiBrowserTest {
index 8bdb246d81df957f7bc5485518c4555097c02d99..a3c3002e91f8ac971296f762873a465a23ab9c75 100644 (file)
@@ -12,7 +12,6 @@ import com.vaadin.testbench.elements.GridElement;
 import com.vaadin.testbench.elements.TextFieldElement;
 import com.vaadin.testbench.parallel.TestCategory;
 import com.vaadin.tests.tb3.SingleBrowserTest;
-import com.vaadin.ui.Button;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
index 051cf7a56e78665714e1760825c104e9e2245919..6326402f3b04d31917eb3ea1b4c81ea641536d33 100644 (file)
  */
 package com.vaadin.tests.components.upload;
 
-import com.vaadin.testbench.elements.UploadElement;
-import com.vaadin.tests.tb3.MultiBrowserTest;
-import org.junit.Test;
-import org.openqa.selenium.By;
-import org.openqa.selenium.WebElement;
-import org.openqa.selenium.internal.WrapsElement;
-import org.openqa.selenium.remote.DesiredCapabilities;
-import org.openqa.selenium.remote.LocalFileDetector;
-import org.openqa.selenium.remote.RemoteWebElement;
-
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.util.List;
-
 /**
  * Verifies that there's no client side errors when changing a tab containing
  * Upload right after uploading is succeeded (#8728)
index 3272cce33410f11e3a0b1a0bfc8083c133288298..a4663fc5394a1a8245d111407aac06b3df4e4d90 100644 (file)
@@ -15,7 +15,6 @@
  */
 package com.vaadin.tests.contextclick;
 
-import com.vaadin.testbench.elements.ButtonElement;
 import com.vaadin.testbench.elements.TreeElement;
 import org.junit.Test;
 import org.openqa.selenium.WebElement;