summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/data/util/FilesystemContainer.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-01-02 14:40:19 +0000
committerArtur Signell <artur.signell@itmill.com>2009-01-02 14:40:19 +0000
commitd9a13c237889ba32830edb27ad34c4d9ea2f180b (patch)
treed1bda61bf6de5b5b3724eb99f2618861fb45abcb /src/com/itmill/toolkit/data/util/FilesystemContainer.java
parent19636fc0509e45d3bcedf4d7ba92670fdea4630d (diff)
downloadvaadin-framework-d9a13c237889ba32830edb27ad34c4d9ea2f180b.tar.gz
vaadin-framework-d9a13c237889ba32830edb27ad34c4d9ea2f180b.zip
Cleaned up the whole project
svn changeset:6398/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/data/util/FilesystemContainer.java')
-rw-r--r--src/com/itmill/toolkit/data/util/FilesystemContainer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/data/util/FilesystemContainer.java b/src/com/itmill/toolkit/data/util/FilesystemContainer.java
index 5ede26cc4f..f1d5273003 100644
--- a/src/com/itmill/toolkit/data/util/FilesystemContainer.java
+++ b/src/com/itmill/toolkit/data/util/FilesystemContainer.java
@@ -628,6 +628,7 @@ public class FilesystemContainer implements Container.Hierarchical {
*
* @return A locally unique hash-code as integer
*/
+ @Override
public int hashCode() {
return file.hashCode() ^ FilesystemContainer.this.hashCode();
}
@@ -641,6 +642,7 @@ public class FilesystemContainer implements Container.Hierarchical {
* @return <code>true</code> if the given object is the same as this
* object, <code>false</code> if not
*/
+ @Override
public boolean equals(Object obj) {
if (obj == null || !(obj instanceof FileItem)) {
return false;
@@ -698,6 +700,7 @@ public class FilesystemContainer implements Container.Hierarchical {
/**
* @see java.lang.Object#toString()
*/
+ @Override
public String toString() {
if ("".equals(file.getName())) {
return file.getAbsolutePath();