From 9b64dc0dc8e072d3dd8269518687364424e30202 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 28 Nov 2014 14:20:23 +0000 Subject: [PATCH] JAL-1583 javadoc and fix constructor signature --- src/jalview/gui/WebserviceInfo.java | 3 +++ src/jalview/ws/rest/RestClient.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/WebserviceInfo.java b/src/jalview/gui/WebserviceInfo.java index aaaca20..cd93277 100644 --- a/src/jalview/gui/WebserviceInfo.java +++ b/src/jalview/gui/WebserviceInfo.java @@ -236,6 +236,9 @@ public class WebserviceInfo extends GWebserviceInfo implements * short name and job type * @param info * reference or other human readable description + * @param makeVisible + * true to display the webservices window immediatly (otherwise need + * to call setVisible(true)) */ public WebserviceInfo(String title, String info, boolean makeVisible) { diff --git a/src/jalview/ws/rest/RestClient.java b/src/jalview/ws/rest/RestClient.java index 1acecb4..5ce1d5d 100644 --- a/src/jalview/ws/rest/RestClient.java +++ b/src/jalview/ws/rest/RestClient.java @@ -107,7 +107,7 @@ public class RestClient extends WSClient implements WSClientI, if (!headless) { wsInfo = new WebserviceInfo(WebServiceJobTitle, WebServiceName + "\n" - + WebServiceReference); + + WebServiceReference, true); wsInfo.setRenderAsHtml(true); } -- 1.7.10.2