JAL-2356 use cached Sifts file if not expired
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 7 Dec 2016 16:58:46 +0000 (16:58 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 7 Dec 2016 16:58:46 +0000 (16:58 +0000)
src/jalview/ws/sifts/SiftsClient.java

index 27db604..c11302c 100644 (file)
@@ -212,6 +212,10 @@ public class SiftsClient implements SiftsClientI
           return new File(siftsFileName);
         }
       }
+      else
+      {
+        return siftsFile;
+      }
     }
     try
     {