summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-07-25 17:00:47 +0300
committerLeif Åstrand <leif@vaadin.com>2012-07-25 17:00:47 +0300
commit39c516f3b96a0a9bfe987d0f6710bdc1376c1d67 (patch)
tree17793689e5a6a73027ed24c23d0a9c1ba4e3bc67
parent9ffa1495be501919b6a8b6cd4c8fa6a0689333e5 (diff)
downloadvaadin-framework-39c516f3b96a0a9bfe987d0f6710bdc1376c1d67.tar.gz
vaadin-framework-39c516f3b96a0a9bfe987d0f6710bdc1376c1d67.zip
Add missing Java 6 @Override annotations
-rw-r--r--tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java1
-rw-r--r--tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java5
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java b/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java
index 7009d03f77..47c97bbc21 100644
--- a/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java
+++ b/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java
@@ -48,6 +48,7 @@ public class PopupViewClickShortcut extends TestBase {
Button b = new Button("Submit " + caption, new Button.ClickListener() {
private int i = 5;
+ @Override
public void buttonClick(ClickEvent event) {
log.log("Submitted from "
+ event.getButton().getParent().getCaption());
diff --git a/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java b/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java
index 7ba6f2c0c0..f0ed0f79cb 100644
--- a/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java
+++ b/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java
@@ -73,6 +73,7 @@ public class JSR286PortletApplication extends Application.LegacyApplication {
Upload upload = new Upload("Upload a file", new Receiver() {
+ @Override
public OutputStream receiveUpload(String filename, String mimeType) {
return new ByteArrayOutputStream();
}
@@ -91,11 +92,13 @@ public class JSR286PortletApplication extends Application.LegacyApplication {
private class DemoPortletListener implements PortletListener {
+ @Override
public void handleActionRequest(ActionRequest request,
ActionResponse response, Root window) {
main.addComponent(new Label("Action received"));
}
+ @Override
public void handleRenderRequest(RenderRequest request,
RenderResponse response, Root window) {
// Portlet up-and-running, enable stuff
@@ -169,11 +172,13 @@ public class JSR286PortletApplication extends Application.LegacyApplication {
}
}
+ @Override
public void handleEventRequest(EventRequest request,
EventResponse response, Root window) {
// events not used by this test
}
+ @Override
public void handleResourceRequest(ResourceRequest request,
ResourceResponse response, Root window) {
// nothing special to do here