summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/ClassResource.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/ClassResource.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/ClassResource.java')
-rw-r--r--src/com/vaadin/terminal/ClassResource.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/ClassResource.java b/src/com/vaadin/terminal/ClassResource.java
index e7419576f1..b74c8e7bb7 100644
--- a/src/com/vaadin/terminal/ClassResource.java
+++ b/src/com/vaadin/terminal/ClassResource.java
@@ -89,6 +89,7 @@ public class ClassResource implements ApplicationResource, Serializable {
*
* @see com.vaadin.terminal.Resource#getMIMEType()
*/
+ @Override
public String getMIMEType() {
return FileTypeResolver.getMIMEType(resourceName);
}
@@ -98,6 +99,7 @@ public class ClassResource implements ApplicationResource, Serializable {
*
* @see com.vaadin.terminal.ApplicationResource#getApplication()
*/
+ @Override
public Application getApplication() {
return application;
}
@@ -108,6 +110,7 @@ public class ClassResource implements ApplicationResource, Serializable {
* @return the file name associated to this resource.
* @see com.vaadin.terminal.ApplicationResource#getFilename()
*/
+ @Override
public String getFilename() {
int index = 0;
int next = 0;
@@ -123,6 +126,7 @@ public class ClassResource implements ApplicationResource, Serializable {
*
* @see com.vaadin.terminal.ApplicationResource#getStream()
*/
+ @Override
public DownloadStream getStream() {
final DownloadStream ds = new DownloadStream(
associatedClass.getResourceAsStream(resourceName),
@@ -133,6 +137,7 @@ public class ClassResource implements ApplicationResource, Serializable {
}
/* documented in superclass */
+ @Override
public int getBufferSize() {
return bufferSize;
}
@@ -148,6 +153,7 @@ public class ClassResource implements ApplicationResource, Serializable {
}
/* documented in superclass */
+ @Override
public long getCacheTime() {
return cacheTime;
}