From 4cd7965fda54a124ea01066b5e9f6d9ee124ab1b Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Wed, 16 Aug 2017 13:36:44 +0300 Subject: Use correct version in since for Grid row height methods (#9824) Related to #9425. --- server/src/main/java/com/vaadin/ui/Grid.java | 12 ++++++------ .../src/main/java/com/vaadin/shared/ui/grid/GridState.java | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 1aca35d3ec..2828742ee6 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -3040,7 +3040,7 @@ public class Grid extends AbstractListing implements HasComponents, * * @param rowHeight * The height of a row in pixels or -1 for automatic calculation - * @since 8.1.2 + * @since 8.2 */ public void setBodyRowHeight(double rowHeight) { getState().bodyRowHeight = rowHeight; @@ -3053,7 +3053,7 @@ public class Grid extends AbstractListing implements HasComponents, * * @param rowHeight * The height of a row in pixels or -1 for automatic calculation - * @since 8.1.2 + * @since 8.2 */ public void setHeaderRowHeight(double rowHeight) { getState().headerRowHeight = rowHeight; @@ -3066,7 +3066,7 @@ public class Grid extends AbstractListing implements HasComponents, * * @param rowHeight * The height of a row in pixels or -1 for automatic calculation - * @since 8.1.2 + * @since 8.2 */ public void setFooterRowHeight(double rowHeight) { getState().footerRowHeight = rowHeight; @@ -3093,7 +3093,7 @@ public class Grid extends AbstractListing implements HasComponents, * calculation mode. * * @return body row height - * @since 8.1.2 + * @since 8.2 */ public double getBodyRowHeight() { return getState(false).bodyRowHeight; @@ -3104,7 +3104,7 @@ public class Grid extends AbstractListing implements HasComponents, * calculation mode. * * @return header row height - * @since 8.1.2 + * @since 8.2 */ public double getHeaderRowHeight() { return getState(false).headerRowHeight; @@ -3115,7 +3115,7 @@ public class Grid extends AbstractListing implements HasComponents, * calculation mode. * * @return footer row height - * @since 8.1.2 + * @since 8.2 */ public double getFooterRowHeight() { return getState(false).footerRowHeight; diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java index f2ebd903b2..9a8fb53105 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java @@ -150,7 +150,7 @@ public class GridState extends AbstractSingleSelectState { * Explicit body row height in pixels for grid rows, or -1 to calculate * automatically based on the theme. * - * @since 8.1.2 + * @since 8.2 */ public double bodyRowHeight = -1; @@ -158,7 +158,7 @@ public class GridState extends AbstractSingleSelectState { * Explicit body row height in pixels for grid rows, or -1 to calculate * automatically based on the theme. * - * @since 8.1.2 + * @since 8.2 */ public double headerRowHeight = -1; @@ -166,7 +166,7 @@ public class GridState extends AbstractSingleSelectState { * Explicit body row height in pixels for grid rows, or -1 to calculate * automatically based on the theme. * - * @since 8.1.2 + * @since 8.2 */ public double footerRowHeight = -1; } -- cgit v1.2.3