From e7ae6b0d98fe72adbd42ca7a23975b87b75d0cbf Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 20 Oct 2005 10:16:16 +0000 Subject: [PATCH] fixed change test. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@70 be28352e-c001-0410-b1a7-c7978e42abec --- src/org/vamsas/client/simpleclient/FileWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/vamsas/client/simpleclient/FileWatcher.java b/src/org/vamsas/client/simpleclient/FileWatcher.java index 807473f..84a5e0a 100644 --- a/src/org/vamsas/client/simpleclient/FileWatcher.java +++ b/src/org/vamsas/client/simpleclient/FileWatcher.java @@ -43,7 +43,7 @@ public class FileWatcher { return new long[] { subject.lastModified(), subject.length() }; } private boolean compStat(long[] stat, long[] newstat) { - if (stat.hashCode()!=newstat.hashCode()) + if (stat[0]!=newstat[0] || stat[1]!=newstat[1]) return false; return true; } -- 1.7.10.2