From 229792f64251dd7ca9510e52743128228958bb85 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Wed, 13 Sep 2017 13:33:11 +0200 Subject: Javadoc fixes --- client/src/main/java/com/vaadin/client/WidgetUtil.java | 2 +- .../com/vaadin/client/widget/grid/EventCellReference.java | 6 +++--- .../src/main/java/com/vaadin/v7/client/ui/VScrollTable.java | 4 ++-- .../com/vaadin/v7/client/widget/grid/EventCellReference.java | 6 +++--- .../main/java/com/vaadin/v7/data/util/IndexedContainer.java | 2 +- .../v7/data/util/converter/DefaultConverterFactory.java | 1 - .../src/main/java/com/vaadin/v7/ui/Calendar.java | 2 +- .../v7/ui/components/calendar/event/CalendarEvent.java | 12 ++++++------ server/src/main/java/com/vaadin/ui/Window.java | 1 - 9 files changed, 17 insertions(+), 19 deletions(-) diff --git a/client/src/main/java/com/vaadin/client/WidgetUtil.java b/client/src/main/java/com/vaadin/client/WidgetUtil.java index 817de00f66..f6ffe4cecd 100644 --- a/client/src/main/java/com/vaadin/client/WidgetUtil.java +++ b/client/src/main/java/com/vaadin/client/WidgetUtil.java @@ -1336,7 +1336,7 @@ public class WidgetUtil { * @param e * element for enabling or disabling text selection * @param enable - * true if selection is enabled; false + * true if selection is enabled; false * if not */ public native static void setTextSelectionEnabled(Element e, boolean enable) diff --git a/client/src/main/java/com/vaadin/client/widget/grid/EventCellReference.java b/client/src/main/java/com/vaadin/client/widget/grid/EventCellReference.java index 9f98e3e500..8ed2bb9dd2 100644 --- a/client/src/main/java/com/vaadin/client/widget/grid/EventCellReference.java +++ b/client/src/main/java/com/vaadin/client/widget/grid/EventCellReference.java @@ -87,7 +87,7 @@ public class EventCellReference extends CellReference { * Is the cell reference for a cell in the header of the Grid. * * @since 7.5 - * @return true if referenced cell is in the header, + * @return true if referenced cell is in the header, * false if not */ public boolean isHeader() { @@ -98,7 +98,7 @@ public class EventCellReference extends CellReference { * Is the cell reference for a cell in the body of the Grid. * * @since 7.5 - * @return true if referenced cell is in the body, + * @return true if referenced cell is in the body, * false if not */ public boolean isBody() { @@ -109,7 +109,7 @@ public class EventCellReference extends CellReference { * Is the cell reference for a cell in the footer of the Grid. * * @since 7.5 - * @return true if referenced cell is in the footer, + * @return true if referenced cell is in the footer, * false if not */ public boolean isFooter() { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java index 3328d926e6..8b01052dda 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java @@ -5388,8 +5388,8 @@ public class VScrollTable extends FlowPanel /** * This method exists for the needs of {@link VTreeTable} only. May be - * removed or replaced in the future.
- *
+ * removed or replaced in the future.
+ *
* Calculates the maximum indent of the hierarcyColumn, if applicable. */ protected void calculateMaxIndent() { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java index e12714d4e3..c16968fe25 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java @@ -87,7 +87,7 @@ public class EventCellReference extends CellReference { * Is the cell reference for a cell in the header of the Grid. * * @since 7.5 - * @return true if referenced cell is in the header, + * @return true if referenced cell is in the header, * false if not */ public boolean isHeader() { @@ -98,7 +98,7 @@ public class EventCellReference extends CellReference { * Is the cell reference for a cell in the body of the Grid. * * @since 7.5 - * @return true if referenced cell is in the body, + * @return true if referenced cell is in the body, * false if not */ public boolean isBody() { @@ -109,7 +109,7 @@ public class EventCellReference extends CellReference { * Is the cell reference for a cell in the footer of the Grid. * * @since 7.5 - * @return true if referenced cell is in the footer, + * @return true if referenced cell is in the footer, * false if not */ public boolean isFooter() { diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java index cf34938dac..fce2c1753d 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java @@ -39,7 +39,7 @@ import com.vaadin.v7.data.util.filter.UnsupportedFilterException; /** * An implementation of the {@link Container.Indexed} interface * with all important features. - *

+ *

* * Features: *

    diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/DefaultConverterFactory.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/DefaultConverterFactory.java index 73c5de9d05..acfba8abfd 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/DefaultConverterFactory.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/DefaultConverterFactory.java @@ -26,7 +26,6 @@ import com.vaadin.server.VaadinSession; /** * Default implementation of {@link ConverterFactory}. Provides converters for * standard types like {@link String}, {@link Double} and {@link Date}. - *

    *

    * Custom converters can be provided by extending this class and using * {@link VaadinSession#setConverterFactory(ConverterFactory)}. diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java index 259de0d0ad..0fea65ebce 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java @@ -783,7 +783,7 @@ public class Calendar extends AbstractLegacyComponent } /** - * Example: setTimeFormat(TimeFormat.Format12H);
    + * Example: setTimeFormat(TimeFormat.Format12H);
    * Set to null, if you want the format being defined by the locale. * * @param format diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/event/CalendarEvent.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/event/CalendarEvent.java index cfc3d44c1f..8f3f47060d 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/event/CalendarEvent.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/calendar/event/CalendarEvent.java @@ -69,13 +69,13 @@ public interface CalendarEvent extends Serializable { * Gets style name of event. In the client, style name will be set to the * event's element class name and can be styled by CSS *

    - * Styling example:
    - * Java code:
    + * Styling example:
    + * Java code:
    * event.setStyleName("color1"); - *

    - * CSS:
    - * .v-calendar-event-color1 {
    - *    background-color: #9effae;
    }
    + *

    + * CSS:
    + * .v-calendar-event-color1 {
    + *    background-color: #9effae;
    }
    * * @return Style name. */ diff --git a/server/src/main/java/com/vaadin/ui/Window.java b/server/src/main/java/com/vaadin/ui/Window.java index 211f4f4e20..a6b2652e49 100644 --- a/server/src/main/java/com/vaadin/ui/Window.java +++ b/server/src/main/java/com/vaadin/ui/Window.java @@ -59,7 +59,6 @@ import com.vaadin.util.ReflectTools; * A component that represents a floating popup window that can be added to a * {@link UI}. A window is added to a {@code UI} using * {@link UI#addWindow(Window)}. - *

    *

    * The contents of a window is set using {@link #setContent(Component)} or by * using the {@link #Window(String, Component)} constructor. -- cgit v1.2.3