Mercurial > dive4elements > framework
comparison artifacts-common/src/main/java/de/intevation/artifacts/common/utils/FileTools.java @ 394:c40729bfe06d
Removed trailing whitespace.
artifacts/trunk@4764 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 23 Jun 2012 08:20:02 +0000 |
parents | b076c9e9fdfd |
children | e39e23320a23 |
comparison
equal
deleted
inserted
replaced
393:b7831cefbb62 | 394:c40729bfe06d |
---|---|
123 } | 123 } |
124 | 124 |
125 return curr; | 125 return curr; |
126 } | 126 } |
127 | 127 |
128 public static class HashedFile | 128 public static class HashedFile |
129 implements Comparable<HashedFile> | 129 implements Comparable<HashedFile> |
130 { | 130 { |
131 protected File file; | 131 protected File file; |
132 protected long length; | 132 protected long length; |
133 protected byte [] hash; | 133 protected byte [] hash; |
200 return 0; | 200 return 0; |
201 } | 201 } |
202 | 202 |
203 @Override | 203 @Override |
204 public boolean equals(Object other) { | 204 public boolean equals(Object other) { |
205 return other instanceof HashedFile | 205 return other instanceof HashedFile |
206 && ((HashedFile)other).compareTo(this) == 0; | 206 && ((HashedFile)other).compareTo(this) == 0; |
207 } | 207 } |
208 | 208 |
209 @Override | 209 @Override |
210 public int hashCode() { | 210 public int hashCode() { |