From: gmungoc Date: Wed, 7 Dec 2016 16:58:46 +0000 (+0000) Subject: JAL-2356 use cached Sifts file if not expired X-Git-Tag: Release_2_10_3b1~390 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8a4d9184c61a9799bd77a3f77a63c319c65ebae6;p=jalview.git JAL-2356 use cached Sifts file if not expired --- diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index 27db604..c11302c 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -212,6 +212,10 @@ public class SiftsClient implements SiftsClientI return new File(siftsFileName); } } + else + { + return siftsFile; + } } try {