From e6788a74b6bd309a3ffaf5485184267a914c2318 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 30 Mar 2022 16:56:21 +0100 Subject: [PATCH] JAL-3851 comment out some debugging --- src/jalview/rest/RestHandler.java | 4 ++-- src/jalview/structure/StructureSelectionManager.java | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/jalview/rest/RestHandler.java b/src/jalview/rest/RestHandler.java index c967d3e..26aada9 100644 --- a/src/jalview/rest/RestHandler.java +++ b/src/jalview/rest/RestHandler.java @@ -270,8 +270,8 @@ public class RestHandler extends AbstractRequestHandler { response.setStatus(statusCode); String endpointName = getRequestedEndpointName(request); - Console.error(getName() + " error: endpoint " + endpointName - + " failed: '" + message + "'"); + // Console.error(getName() + " error: endpoint " + endpointName + " failed: + // '" + message + "'"); try { PrintWriter writer = response.getWriter(); diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 94de133..d0d1e54 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -50,7 +50,6 @@ import jalview.datamodel.SearchResultsI; import jalview.datamodel.SequenceI; import jalview.ext.jmol.JmolParser; import jalview.gui.IProgressIndicator; -import jalview.gui.SeqPanel; import jalview.io.AppletFormatAdapter; import jalview.io.DataSourceType; import jalview.io.StructureFile; @@ -1011,8 +1010,8 @@ public class StructureSelectionManager } - Console.debug("MOUSEOVER SEARCH RESULTS: " - + (results.isEmpty() ? "EMPTY" : results.getCount())); + // Console.debug("MOUSEOVER SEARCH RESULTS: " + (results.isEmpty() ? "EMPTY" + // : results.getCount())); for (int i = 0; i < listeners.size(); i++) { @@ -1039,13 +1038,15 @@ public class StructureSelectionManager if (listener instanceof SequenceListener) { final SequenceListener seqListener = (SequenceListener) listener; - if (setStatusMessage && seqListener instanceof SeqPanel) + /* + if (false && setStatusMessage && seqListener instanceof SeqPanel) { SeqPanel sp = (SeqPanel) seqListener; // THIS IS HIGHLY SUSPECT, ONLY IN FOR DEMO OF // jalview.rest.HighlightSequenceEndpoint sp.setStatusMessage(seq, seqPos - 1, -1); } + */ if (hasSequenceListeners && seqListener.getVamsasSource() != source) { -- 1.7.10.2