X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws1%2FSeqSearchWSThread.java;h=0f28230f60f4b0cad3edb6b45dd0065c71def625;hb=cb8e52fbbc5f725e3f7f48c672cdddb0690bd978;hp=c0dcf671dfcba10d99e0e3330989f8938d191ac0;hpb=a1984b1c8c273ed33c7ce9283039f4027dcae2de;p=jalview.git diff --git a/src/jalview/ws/jws1/SeqSearchWSThread.java b/src/jalview/ws/jws1/SeqSearchWSThread.java index c0dcf67..0f28230 100644 --- a/src/jalview/ws/jws1/SeqSearchWSThread.java +++ b/src/jalview/ws/jws1/SeqSearchWSThread.java @@ -22,7 +22,7 @@ package jalview.ws.jws1; import jalview.analysis.AlignSeq; import jalview.api.FeatureColourI; -import jalview.bin.Cache; +import jalview.bin.Console; import jalview.datamodel.Alignment; import jalview.datamodel.AlignmentI; import jalview.datamodel.AlignmentView; @@ -425,7 +425,7 @@ class SeqSearchWSThread extends JWS1Thread implements WSClientI { cancelledMessage += ("\nProblems cancelling the job : Exception received...\n" + exc + "\n"); - Cache.warn( + Console.warn( "Exception whilst cancelling " + jobs[job].getJobId(), exc); } @@ -469,9 +469,9 @@ class SeqSearchWSThread extends JWS1Thread implements WSClientI SeqSearchWSJob j = (SeqSearchWSJob) job; if (j.isSubmitted()) { - if (Cache.isDebugEnabled()) + if (Console.isDebugEnabled()) { - Cache.debug( + Console.debug( "Tried to submit an already submitted job " + j.getJobId()); } return; @@ -579,7 +579,7 @@ class SeqSearchWSThread extends JWS1Thread implements WSClientI } catch (Exception ex) { - Cache.error( + Console.error( "Unexpected exception when processing results for " + alTitle, ex); wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR);