aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-10-09 15:50:45 +0300
committerGitHub <noreply@github.com>2018-10-09 15:50:45 +0300
commit2c59809dd2ab8a607b032a5278ca63330988ef0d (patch)
treecb1a6970f37e9a91e558889fae82b3fdefabd3f7 /server/src
parent68fef02ce461427b9796bd16f7205eaf91fa4537 (diff)
downloadvaadin-framework-2c59809dd2ab8a607b032a5278ca63330988ef0d.tar.gz
vaadin-framework-2c59809dd2ab8a607b032a5278ca63330988ef0d.zip
Run formatter to the code (#11227)
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main/java/com/vaadin/server/ErrorHandlingRunnable.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/UI.java14
3 files changed, 10 insertions, 10 deletions
diff --git a/server/src/main/java/com/vaadin/server/ErrorHandlingRunnable.java b/server/src/main/java/com/vaadin/server/ErrorHandlingRunnable.java
index a74c31c389..f35e5eca5b 100644
--- a/server/src/main/java/com/vaadin/server/ErrorHandlingRunnable.java
+++ b/server/src/main/java/com/vaadin/server/ErrorHandlingRunnable.java
@@ -46,7 +46,7 @@ public interface ErrorHandlingRunnable extends Runnable, Serializable {
* returned. If the runnable does not extend {@link ErrorHandlingRunnable},
* then the original exception is returned.
*
- * @since
+ * @since
* @param runnable
* the runnable for which the exception should be processed, not
* <code>null</code>
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index 1b824cf53f..579256d091 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -3010,8 +3010,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
/**
* Gets a {@link Column} of this grid by its identifying string.
*
- * When you use the Grid constructor with bean class, the columns are
- * initialised with columnId being the property name.
+ * When you use the Grid constructor with bean class, the columns are
+ * initialised with columnId being the property name.
*
* @see Column#setId(String)
*
diff --git a/server/src/main/java/com/vaadin/ui/UI.java b/server/src/main/java/com/vaadin/ui/UI.java
index 181382603d..cf9aee4e1a 100644
--- a/server/src/main/java/com/vaadin/ui/UI.java
+++ b/server/src/main/java/com/vaadin/ui/UI.java
@@ -230,8 +230,8 @@ public abstract class UI extends AbstractSingleComponentContainer
}
json.append("]}");
getRpcProxy(DebugWindowClientRpc.class)
- .reportLayoutProblems(json.toString());
-}
+ .reportLayoutProblems(json.toString());
+ }
@Override
public void showServerDesign(Connector connector) {
@@ -1581,10 +1581,10 @@ public abstract class UI extends AbstractSingleComponentContainer
"access() task ignored because UI got detached after the task was enqueued."
+ " To suppress this message, change the task to implement {} and make it handle {}."
+ " Affected task: {}",
- new Object[] {
- ErrorHandlingRunnable.class.getName(),
- UIDetachedException.class.getName(),
- runnable });
+ new Object[] {
+ ErrorHandlingRunnable.class.getName(),
+ UIDetachedException.class.getName(),
+ runnable });
} else if (exception != null) {
/*
* If no ErrorHandlingRunnable, or if it threw an
@@ -1727,7 +1727,7 @@ public abstract class UI extends AbstractSingleComponentContainer
// If pushMode is disabled then there should never be a pushConnection;
// if enabled there should always be
assert (pushConnection == null)
- ^ getPushConfiguration().getPushMode().isEnabled();
+ ^ getPushConfiguration().getPushMode().isEnabled();
if (pushConnection == this.pushConnection) {
return;