diff options
author | jfrijters <jfrijters> | 2008-06-11 13:04:56 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2008-06-11 13:04:56 +0400 |
commit | 9baab31e8c2ec69b4e098a164fb6ea6d0b8bb56c (patch) | |
tree | cb6ea0550c8653b7614e2d221e848180249e27b7 /openjdk/sun/nio/ch/FileKey.java | |
parent | db4720da166361f480586decec8581648c0b7ab0 (diff) |
Converted tabs to spaces.
Diffstat (limited to 'openjdk/sun/nio/ch/FileKey.java')
-rw-r--r-- | openjdk/sun/nio/ch/FileKey.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/openjdk/sun/nio/ch/FileKey.java b/openjdk/sun/nio/ch/FileKey.java index af98346a..4feec5d3 100644 --- a/openjdk/sun/nio/ch/FileKey.java +++ b/openjdk/sun/nio/ch/FileKey.java @@ -33,25 +33,25 @@ public class FileKey public static FileKey create(FileDescriptor fd) { - FileKey fk = new FileKey(); - fk.path = ((cli.System.IO.FileStream)fd.getStream()).get_Name(); - try - { - fk.path = new File(fk.path).getCanonicalPath(); - } - catch (IOException x) - { - } - return fk; + FileKey fk = new FileKey(); + fk.path = ((cli.System.IO.FileStream)fd.getStream()).get_Name(); + try + { + fk.path = new File(fk.path).getCanonicalPath(); + } + catch (IOException x) + { + } + return fk; } public int hashCode() { - return path.hashCode(); + return path.hashCode(); } public boolean equals(Object obj) { - return obj == this || (obj instanceof FileKey && ((FileKey)obj).path.equals(path)); + return obj == this || (obj instanceof FileKey && ((FileKey)obj).path.equals(path)); } } |