diff options
author | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2019-05-02 15:13:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 15:13:17 +0300 |
commit | 13f1c168d2bffcb66410276dda039d4cf79d5f9c (patch) | |
tree | b5e02ff60d3f1033d00abcdccbb3f49dd0e55825 /server | |
parent | 5fa144193c0d5ed2022e576431a20beead2bfeb8 (diff) | |
download | vaadin-framework-13f1c168d2bffcb66410276dda039d4cf79d5f9c.tar.gz vaadin-framework-13f1c168d2bffcb66410276dda039d4cf79d5f9c.zip |
code format (#11555)
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/server/communication/JSR356WebsocketInitializer.java | 2 | ||||
-rw-r--r-- | server/src/main/java/com/vaadin/ui/ComboBox.java | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/server/communication/JSR356WebsocketInitializer.java b/server/src/main/java/com/vaadin/server/communication/JSR356WebsocketInitializer.java index 39f0b3df97..0aec4bb6e1 100644 --- a/server/src/main/java/com/vaadin/server/communication/JSR356WebsocketInitializer.java +++ b/server/src/main/java/com/vaadin/server/communication/JSR356WebsocketInitializer.java @@ -261,5 +261,5 @@ public class JSR356WebsocketInitializer implements ServletContextListener { */ public static boolean isAtmosphereAvailable() { return atmosphereAvailable; - } + } } diff --git a/server/src/main/java/com/vaadin/ui/ComboBox.java b/server/src/main/java/com/vaadin/ui/ComboBox.java index b4d9a97c78..c9622e1fd8 100644 --- a/server/src/main/java/com/vaadin/ui/ComboBox.java +++ b/server/src/main/java/com/vaadin/ui/ComboBox.java @@ -191,7 +191,8 @@ public class ComboBox<T> extends AbstractSingleSelect<T> if (getNewItemProvider() != null) { Optional<T> item = getNewItemProvider().apply(itemValue); added = item.isPresent(); - // Fixes issue https://github.com/vaadin/framework/issues/11343 + // Fixes issue + // https://github.com/vaadin/framework/issues/11343 // Update the internal selection state immediately to avoid // client side hanging. This is needed for cases that user // interaction fires multi events (like adding and deleting) @@ -455,7 +456,7 @@ public class ComboBox<T> extends AbstractSingleSelect<T> * @since 8.0 */ public void setDataProvider(CaptionFilter captionFilter, - ListDataProvider<T> listDataProvider) { + ListDataProvider<T> listDataProvider) { Objects.requireNonNull(listDataProvider, "List data provider cannot be null"); |