aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/StreamResource.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/terminal/StreamResource.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/terminal/StreamResource.java')
-rw-r--r--src/com/vaadin/terminal/StreamResource.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/StreamResource.java b/src/com/vaadin/terminal/StreamResource.java
index 1e13169292..1afd91dc08 100644
--- a/src/com/vaadin/terminal/StreamResource.java
+++ b/src/com/vaadin/terminal/StreamResource.java
@@ -79,6 +79,7 @@ public class StreamResource implements ApplicationResource {
/**
* @see com.vaadin.terminal.Resource#getMIMEType()
*/
+ @Override
public String getMIMEType() {
if (MIMEType != null) {
return MIMEType;
@@ -123,6 +124,7 @@ public class StreamResource implements ApplicationResource {
*
* @return the filename.
*/
+ @Override
public String getFilename() {
return filename;
}
@@ -140,6 +142,7 @@ public class StreamResource implements ApplicationResource {
/**
* @see com.vaadin.terminal.ApplicationResource#getApplication()
*/
+ @Override
public Application getApplication() {
return application;
}
@@ -147,6 +150,7 @@ public class StreamResource implements ApplicationResource {
/**
* @see com.vaadin.terminal.ApplicationResource#getStream()
*/
+ @Override
public DownloadStream getStream() {
final StreamSource ss = getStreamSource();
if (ss == null) {
@@ -176,6 +180,7 @@ public class StreamResource implements ApplicationResource {
}
/* documented in superclass */
+ @Override
public int getBufferSize() {
return bufferSize;
}
@@ -191,6 +196,7 @@ public class StreamResource implements ApplicationResource {
}
/* documented in superclass */
+ @Override
public long getCacheTime() {
return cacheTime;
}