aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-18 09:27:03 +0300
committerArtur Signell <artur@vaadin.com>2016-08-18 09:27:03 +0300
commit6d54d78944f6c3278eed3bb5e7ee19687ee5714e (patch)
tree8142f622e644e98bb3f8d19a7021fd125f9fed40 /server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java
parent7b899665d07be33f86015f71695868c70bc5a589 (diff)
downloadvaadin-framework-6d54d78944f6c3278eed3bb5e7ee19687ee5714e.tar.gz
vaadin-framework-6d54d78944f6c3278eed3bb5e7ee19687ee5714e.zip
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java16
1 files changed, 9 insertions, 7 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java b/server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java
index d6df3f372a..c239990292 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractOrderedLayout.java
@@ -39,9 +39,9 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
import com.vaadin.ui.declarative.DesignContext;
@SuppressWarnings("serial")
-public abstract class AbstractOrderedLayout extends AbstractLayout implements
- Layout.AlignmentHandler, Layout.SpacingHandler, LayoutClickNotifier,
- Layout.MarginHandler {
+public abstract class AbstractOrderedLayout extends AbstractLayout
+ implements Layout.AlignmentHandler, Layout.SpacingHandler,
+ LayoutClickNotifier, Layout.MarginHandler {
private AbstractOrderedLayoutServerRpc rpc = new AbstractOrderedLayoutServerRpc() {
@@ -203,13 +203,15 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
/* Documented in superclass */
@Override
- public void replaceComponent(Component oldComponent, Component newComponent) {
+ public void replaceComponent(Component oldComponent,
+ Component newComponent) {
// Gets the locations
int oldLocation = -1;
int newLocation = -1;
int location = 0;
- for (final Iterator<Component> i = components.iterator(); i.hasNext();) {
+ for (final Iterator<Component> i = components.iterator(); i
+ .hasNext();) {
final Component component = i.next();
if (component == oldComponent) {
@@ -503,8 +505,8 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
float ratio = Float.valueOf(value);
setExpandRatio(newChild, ratio);
} catch (NumberFormatException nfe) {
- getLogger().info(
- "Failed to parse expand ratio " + value);
+ getLogger()
+ .info("Failed to parse expand ratio " + value);
}
} else {
setExpandRatio(newChild, 1.0f);