fixed change test.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 20 Oct 2005 10:16:16 +0000 (10:16 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 20 Oct 2005 10:16:16 +0000 (10:16 +0000)
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

index 807473f..84a5e0a 100644 (file)
@@ -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;
   }