diff options
author | Artur Signell <artur@vaadin.com> | 2016-08-31 15:56:58 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-08-31 16:40:54 +0300 |
commit | 82806ef9b7f12c66e620a813c7987c0fbea723dc (patch) | |
tree | d9ed9165d7065e63613c306895bd8b3739c3f004 /compatibility-client | |
parent | 277b1a5c2884291ea9312d555dc45545430c1d9c (diff) | |
download | vaadin-framework-82806ef9b7f12c66e620a813c7987c0fbea723dc.tar.gz vaadin-framework-82806ef9b7f12c66e620a813c7987c0fbea723dc.zip |
Format the project using Neon, remove trailing whitespace
Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
Diffstat (limited to 'compatibility-client')
9 files changed, 17 insertions, 22 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java index df12c5aacb..6a94416ad9 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java @@ -275,4 +275,3 @@ public class JavaScriptRendererConnector return helper; } } - diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/TextRendererConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/TextRendererConnector.java index df79ca2497..0ca3b16941 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/TextRendererConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/TextRendererConnector.java @@ -25,7 +25,8 @@ import com.vaadin.v7.client.renderers.TextRenderer; * @author Vaadin Ltd */ @Connect(com.vaadin.v7.ui.renderers.TextRenderer.class) -public class TextRendererConnector extends AbstractGridRendererConnector<String> { +public class TextRendererConnector + extends AbstractGridRendererConnector<String> { @Override public TextRenderer getRenderer() { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/JsniMousewheelHandler.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/JsniMousewheelHandler.java index 72d10edb36..8d573a0f38 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/JsniMousewheelHandler.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/JsniMousewheelHandler.java @@ -72,4 +72,3 @@ abstract class JsniMousewheelHandler { }-*/; } - 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 074e8d23da..75824e6f07 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 @@ -6493,8 +6493,7 @@ public class VScrollTable extends FlowPanel if (!(widget instanceof VLabel) && !(widget instanceof VEmbedded) && !(widget instanceof VTextField - && ((VTextField) widget) - .isReadOnly())) { + && ((VTextField) widget).isReadOnly())) { return null; } } @@ -8419,4 +8418,3 @@ public class VScrollTable extends FlowPanel } } - diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java index 80b83c9504..8e22672641 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java @@ -2271,4 +2271,3 @@ public class VTree extends FocusElementPanel Util.notifyParentOfSizeChange(this, false); } } - diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/colorpicker/ColorPickerGridConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/colorpicker/ColorPickerGridConnector.java index 889e25df33..b834d253dd 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/colorpicker/ColorPickerGridConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/colorpicker/ColorPickerGridConnector.java @@ -31,8 +31,8 @@ import com.vaadin.v7.ui.components.colorpicker.ColorPickerGrid; /** * A class that defines the default implementation for a color picker grid * connector. Connects the server side - * {@link com.vaadin.v7.ui.components.colorpicker.ColorPickerGrid} with the client - * side counterpart {@link VColorPickerGrid} + * {@link com.vaadin.v7.ui.components.colorpicker.ColorPickerGrid} with the + * client side counterpart {@link VColorPickerGrid} * * @since 7.0.0 */ diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/tree/TreeConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/tree/TreeConnector.java index fd1927e895..b4198f52da 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/tree/TreeConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/tree/TreeConnector.java @@ -389,4 +389,3 @@ public class TreeConnector extends AbstractComponentConnector WidgetUtil.clearTextSelection(); } } - diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java index 745ffa24cf..f8f4848508 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java @@ -673,13 +673,13 @@ public class Escalator extends Widget /*-{ var vScroll = esc.@com.vaadin.v7.client.widgets.Escalator::verticalScrollbar; var vScrollElem = vScroll.@com.vaadin.v7.client.widget.escalator.ScrollbarBundle::getElement()(); - + var hScroll = esc.@com.vaadin.v7.client.widgets.Escalator::horizontalScrollbar; var hScrollElem = hScroll.@com.vaadin.v7.client.widget.escalator.ScrollbarBundle::getElement()(); - + return $entry(function(e) { var target = e.target; - + // in case the scroll event was native (i.e. scrollbars were dragged, or // the scrollTop/Left was manually modified), the bundles have old cache // values. We need to make sure that the caches are kept up to date. @@ -700,29 +700,29 @@ public class Escalator extends Widget return $entry(function(e) { var deltaX = e.deltaX ? e.deltaX : -0.5*e.wheelDeltaX; var deltaY = e.deltaY ? e.deltaY : -0.5*e.wheelDeltaY; - + // Delta mode 0 is in pixels; we don't need to do anything... - + // A delta mode of 1 means we're scrolling by lines instead of pixels // We need to scale the number of lines by the default line height if(e.deltaMode === 1) { var brc = esc.@com.vaadin.v7.client.widgets.Escalator::body; deltaY *= brc.@com.vaadin.v7.client.widgets.Escalator.AbstractRowContainer::getDefaultRowHeight()(); } - + // Other delta modes aren't supported if((e.deltaMode !== undefined) && (e.deltaMode >= 2 || e.deltaMode < 0)) { var msg = "Unsupported wheel delta mode \"" + e.deltaMode + "\""; - + // Print warning message esc.@com.vaadin.v7.client.widgets.Escalator::logWarning(*)(msg); } - + // IE8 has only delta y if (isNaN(deltaY)) { deltaY = -0.5*e.wheelDelta; } - + @com.vaadin.v7.client.widgets.Escalator.JsniUtil::moveScrollFromEvent(*)(esc, deltaX, deltaY, e); }); }-*/; diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java index 35874b5d4b..9069c95e41 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java @@ -201,9 +201,9 @@ import com.vaadin.v7.shared.ui.grid.ScrollDestination; * might have a {@link com.vaadin.v7.client.renderers.TextRenderer TextRenderer} * that simply takes in a {@code String} and displays it as the cell's content. * A more complex renderer might be - * {@link com.vaadin.v7.client.renderers.ProgressBarRenderer ProgressBarRenderer} - * that takes in a floating point number, and displays a progress bar instead, - * based on the given number. + * {@link com.vaadin.v7.client.renderers.ProgressBarRenderer + * ProgressBarRenderer} that takes in a floating point number, and displays a + * progress bar instead, based on the given number. * <p> * <em>See:</em> {@link #addColumn(Column)}, {@link #addColumn(Column, int)} and * {@link #addColumns(Column...)}. <em>Also</em> |