aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/CssLayout.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/CssLayout.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/CssLayout.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/CssLayout.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/src/main/java/com/vaadin/ui/CssLayout.java b/server/src/main/java/com/vaadin/ui/CssLayout.java
index dbedfa53ff..38ce0ba458 100644
--- a/server/src/main/java/com/vaadin/ui/CssLayout.java
+++ b/server/src/main/java/com/vaadin/ui/CssLayout.java
@@ -78,8 +78,8 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier {
@Override
public void layoutClick(MouseEventDetails mouseDetails,
Connector clickedConnector) {
- fireEvent(LayoutClickEvent.createEvent(CssLayout.this,
- mouseDetails, clickedConnector));
+ fireEvent(LayoutClickEvent.createEvent(CssLayout.this, mouseDetails,
+ clickedConnector));
}
};
/**
@@ -259,13 +259,15 @@ public class CssLayout extends AbstractLayout implements LayoutClickNotifier {
/* 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) {