summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event/EventRouter.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-07-23 15:23:43 +0300
committerLeif Åstrand <leif@vaadin.com>2012-07-23 15:23:43 +0300
commit3604bf01ded16d21041cbb655632429e00c94639 (patch)
tree9bf7ae9d3a33e6b672c164e696a24aef08ebc13e /src/com/vaadin/event/EventRouter.java
parentb7982bac6d8bca02fc76c9974ffd1c24d9a06f04 (diff)
downloadvaadin-framework-3604bf01ded16d21041cbb655632429e00c94639.tar.gz
vaadin-framework-3604bf01ded16d21041cbb655632429e00c94639.zip
Add Java 6 @Override annotations to all methods from interfaces
Diffstat (limited to 'src/com/vaadin/event/EventRouter.java')
-rw-r--r--src/com/vaadin/event/EventRouter.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/vaadin/event/EventRouter.java b/src/com/vaadin/event/EventRouter.java
index 49b29de9bb..90c080b860 100644
--- a/src/com/vaadin/event/EventRouter.java
+++ b/src/com/vaadin/event/EventRouter.java
@@ -35,6 +35,7 @@ public class EventRouter implements MethodEventSource {
* events generated by this component. Don't add a JavaDoc comment here, we
* use the default documentation from implemented interface.
*/
+ @Override
public void addListener(Class<?> eventType, Object object, Method method) {
if (listenerList == null) {
listenerList = new LinkedHashSet<ListenerMethod>();
@@ -47,6 +48,7 @@ public class EventRouter implements MethodEventSource {
* listen events generated by this component. Don't add a JavaDoc comment
* here, we use the default documentation from implemented interface.
*/
+ @Override
public void addListener(Class<?> eventType, Object object, String methodName) {
if (listenerList == null) {
listenerList = new LinkedHashSet<ListenerMethod>();
@@ -59,6 +61,7 @@ public class EventRouter implements MethodEventSource {
* a JavaDoc comment here, we use the default documentation from implemented
* interface.
*/
+ @Override
public void removeListener(Class<?> eventType, Object target) {
if (listenerList != null) {
final Iterator<ListenerMethod> i = listenerList.iterator();
@@ -77,6 +80,7 @@ public class EventRouter implements MethodEventSource {
* Don't add a JavaDoc comment here, we use the default documentation from
* implemented interface.
*/
+ @Override
public void removeListener(Class<?> eventType, Object target, Method method) {
if (listenerList != null) {
final Iterator<ListenerMethod> i = listenerList.iterator();
@@ -95,6 +99,7 @@ public class EventRouter implements MethodEventSource {
* Don't add a JavaDoc comment here, we use the default documentation from
* implemented interface.
*/
+ @Override
public void removeListener(Class<?> eventType, Object target,
String methodName) {