summaryrefslogtreecommitdiffstats
path: root/uitest/src/main
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-20 08:18:37 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-20 10:06:43 +0300
commitd1520204ea3e55acdab5a0d6fb03154ffe50d538 (patch)
tree218b80c94e0d3e7b1d0a969cc7d56c890f6ab604 /uitest/src/main
parent89693cf4484a44d9bcd960a0fd87c581fb66a269 (diff)
downloadvaadin-framework-d1520204ea3e55acdab5a0d6fb03154ffe50d538.tar.gz
vaadin-framework-d1520204ea3e55acdab5a0d6fb03154ffe50d538.zip
Use simple class names
Diffstat (limited to 'uitest/src/main')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java2
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/colorpicker/ColorPickerTestUI.java2
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/table/MissingScrollbar.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java b/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java
index dbef899fd5..61886ecc5d 100644
--- a/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java
+++ b/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java
@@ -89,7 +89,7 @@ public class RandomLayoutStress extends com.vaadin.server.LegacyApplication {
panelBLayout.addComponent(layoutB);
// Create grid layout
- final int gridSize = (int) java.lang.Math.sqrt(componentCountC);
+ final int gridSize = (int) Math.sqrt(componentCountC);
VerticalLayout panelGLayout = new VerticalLayout();
panelGLayout.setMargin(true);
final Panel panelG = new Panel("Panel containing grid layout ("
diff --git a/uitest/src/main/java/com/vaadin/tests/components/colorpicker/ColorPickerTestUI.java b/uitest/src/main/java/com/vaadin/tests/components/colorpicker/ColorPickerTestUI.java
index 1fc5884d34..5ea3bb8c98 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/colorpicker/ColorPickerTestUI.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/colorpicker/ColorPickerTestUI.java
@@ -93,7 +93,7 @@ public class ColorPickerTestUI extends AbstractReindeerTestUI {
public class MyImageSource implements StreamResource.StreamSource {
/** The imagebuffer. */
- private java.io.ByteArrayOutputStream imagebuffer = null;
+ private ByteArrayOutputStream imagebuffer;
/** The bg color. */
private final java.awt.Color bgColor;
diff --git a/uitest/src/main/java/com/vaadin/tests/components/table/MissingScrollbar.java b/uitest/src/main/java/com/vaadin/tests/components/table/MissingScrollbar.java
index efeeb76751..98e121e73d 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/table/MissingScrollbar.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/table/MissingScrollbar.java
@@ -1,5 +1,6 @@
package com.vaadin.tests.components.table;
+import java.io.ObjectOutputStream;
import java.io.Serializable;
import com.vaadin.tests.components.TestBase;
@@ -82,8 +83,7 @@ public class MissingScrollbar extends TestBase {
return ic;
}
- private void writeObject(java.io.ObjectOutputStream out) throws Exception {
-
+ private void writeObject(ObjectOutputStream out) throws Exception {
out.defaultWriteObject();
System.out.println("Serialize " + getClass().getName() + "("
+ (this instanceof Serializable) + ")");