summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Component.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/Component.java')
-rw-r--r--server/src/com/vaadin/ui/Component.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java
index 01033ff560..5bd1d53b86 100644
--- a/server/src/com/vaadin/ui/Component.java
+++ b/server/src/com/vaadin/ui/Component.java
@@ -670,7 +670,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* @see Component.Listener
*/
@SuppressWarnings("serial")
- public class Event extends EventObject {
+ public static class Event extends EventObject {
/**
* Constructs a new event with the specified source component.
@@ -860,7 +860,7 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
* </p>
*/
@SuppressWarnings("serial")
- public class ErrorEvent extends Event {
+ public static class ErrorEvent extends Event {
private final ErrorMessage message;