}
txt_search.getComponent().setToolTipText(
JvSwingUtils.wrapTooltip(true, tooltipText));
- if (btn_autosearch.isSelected())
- searchAction(true);
+ // if (btn_autosearch.isSelected())
+ searchAction(true);
setCmbSearchTargetTooltip();
}
{
super();
this.clearCursors();
- uniprotSearchEndpoint = Cache.getDefault("UNIPROT_DOMAIN",
+ uniprotSearchEndpoint = Cache.getDefault("UNIPROT_2022_DOMAIN",
DEFAULT_UNIPROT_DOMAIN) + "/uniprotkb/search";
}
uniprotRestRequest, xTotalResults);
} catch (Exception e)
{
- Console.debug("Exception caught from response", e);
+ Console.warn("Problem with the query: " + e.getMessage());
+ Console.debug("Exception stacktrace:", e);
String exceptionMsg = e.getMessage();
if (exceptionMsg.contains("SocketException"))
{
}
} catch (MalformedURLException e)
{
- // TODO Auto-generated catch block
- e.printStackTrace();
+ Console.warn("Could not obtain next page 'cursor' value from 'u");
}
return null;
}
private static Map<String, Integer> tempUserPrefs = new HashMap<>();
- private static final String UNIPROT_FTS_CACHE_KEY = "CACHE.UNIPROT_FTS";
+ private static final String UNIPROT_FTS_CACHE_KEY = "CACHE.UNIPROT_2022_FTS";
private static final String UNIPROT_AUTOSEARCH = "FTS.UNIPROT.AUTOSEARCH";