aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/event
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-21 14:25:46 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-21 15:25:46 +0300
commit11ddb11cbc72b0ee233e503058d4e104030e4aa3 (patch)
treea3cef3be53ee41bba3d8ab8b64b0e10b2483a5fa /server/src/main/java/com/vaadin/event
parente118f4d860adeaca1690ef095906ae6be84f3cb5 (diff)
downloadvaadin-framework-11ddb11cbc72b0ee233e503058d4e104030e4aa3.tar.gz
vaadin-framework-11ddb11cbc72b0ee233e503058d4e104030e4aa3.zip
Update modifier order to follow Java Specification suggestions (#10050)
Also includes some other minor cleanup.
Diffstat (limited to 'server/src/main/java/com/vaadin/event')
-rw-r--r--server/src/main/java/com/vaadin/event/FieldEvents.java2
-rw-r--r--server/src/main/java/com/vaadin/event/ShortcutListener.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dd/acceptcriteria/Or.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/event/FieldEvents.java b/server/src/main/java/com/vaadin/event/FieldEvents.java
index 2b0a0f6286..c12d683f20 100644
--- a/server/src/main/java/com/vaadin/event/FieldEvents.java
+++ b/server/src/main/java/com/vaadin/event/FieldEvents.java
@@ -165,7 +165,7 @@ public interface FieldEvents {
public void blur(BlurEvent event);
}
- public static abstract class FocusAndBlurServerRpcImpl
+ public abstract static class FocusAndBlurServerRpcImpl
implements FocusAndBlurServerRpc {
private final Component component;
diff --git a/server/src/main/java/com/vaadin/event/ShortcutListener.java b/server/src/main/java/com/vaadin/event/ShortcutListener.java
index 66e0110a4c..c8b70b649e 100644
--- a/server/src/main/java/com/vaadin/event/ShortcutListener.java
+++ b/server/src/main/java/com/vaadin/event/ShortcutListener.java
@@ -41,5 +41,5 @@ public abstract class ShortcutListener extends ShortcutAction
}
@Override
- abstract public void handleAction(Object sender, Object target);
+ public abstract void handleAction(Object sender, Object target);
}
diff --git a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/Or.java b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/Or.java
index b0dab24fe0..b0e13963bd 100644
--- a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/Or.java
+++ b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/Or.java
@@ -30,7 +30,7 @@ import com.vaadin.server.PaintTarget;
*/
public class Or extends ClientSideCriterion {
private static final long serialVersionUID = 1L;
- private final AcceptCriterion criteria[];
+ private final AcceptCriterion[] criteria;
/**
* @param criteria