From 8a4d9184c61a9799bd77a3f77a63c319c65ebae6 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 7 Dec 2016 16:58:46 +0000 Subject: [PATCH] JAL-2356 use cached Sifts file if not expired --- src/jalview/ws/sifts/SiftsClient.java | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 1.7.10.2