Simplified hashCode() of NativeFtpFile (FTPSERVER-375)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@1137353 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/src/main/java/org/apache/ftpserver/filesystem/nativefs/impl/NativeFtpFile.java b/core/src/main/java/org/apache/ftpserver/filesystem/nativefs/impl/NativeFtpFile.java
index c53f7c0..6e833dc 100644
--- a/core/src/main/java/org/apache/ftpserver/filesystem/nativefs/impl/NativeFtpFile.java
+++ b/core/src/main/java/org/apache/ftpserver/filesystem/nativefs/impl/NativeFtpFile.java
@@ -415,11 +415,10 @@
     
 	@Override
 	public int hashCode() {
-		final int prime = 31;
 		try {
-			return prime  + ((file == null) ? 0 : file.getCanonicalFile().hashCode());
+			return file.getCanonicalFile().hashCode();
 		} catch (IOException e) {
-			return prime;
+			return 0;
 		}
 	}
 }