JAL-1731 fix JPred4 citation in legacy client code
authorJim Procter <jprocter@issues.jalview.org>
Thu, 7 May 2015 14:17:00 +0000 (15:17 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 7 May 2015 14:25:04 +0000 (15:25 +0100)
src/jalview/ws/jws1/Discoverer.java

index 4ee1f87..d544bea 100644 (file)
@@ -22,11 +22,17 @@ package jalview.ws.jws1;
 
 import jalview.util.MessageManager;
 
-import java.util.*;
+import java.util.Hashtable;
+import java.util.StringTokenizer;
+import java.util.Vector;
 
-import javax.swing.*;
+import javax.swing.JOptionPane;
 
-import ext.vamsas.*;
+import ext.vamsas.IRegistry;
+import ext.vamsas.IRegistryServiceLocator;
+import ext.vamsas.RegistryServiceSoapBindingStub;
+import ext.vamsas.ServiceHandle;
+import ext.vamsas.ServiceHandles;
 
 public class Discoverer implements Runnable
 {
@@ -211,9 +217,9 @@ public class Discoverer implements Runnable
                     MessageManager.getString("label.clustalw_multiple_sequence_alignment")),
             new ServiceHandle(
                     "SecStrPred",
-                    "Cole C., Barber J. D., Barton G.J (2008) "
-                            + "The Jpred 3 secondary structure prediction server "
-                            + "Nucleic Acids Research, 36 W197-W201",
+                    "Drozdetskiy A, Cole C, Procter J & Barton GJ. (2015)\nJPred4: a protein secondary structure prediction server"
+                            + "\nNucleic Acids Research, Web Server issue (first published 15th April 2015)"
+                            + "\ndoi://10.1093/nar/gkv332",
                     "http://www.compbio.dundee.ac.uk/JalviewWS/services/jpred",
                     "JNet Secondary Structure Prediction") };
         services = new Hashtable();
@@ -356,7 +362,7 @@ public class Discoverer implements Runnable
       {
         jalview.bin.Cache.log
                 .warn("No services at "
-                        + ((java.net.URL) ServiceURLList.get(s_url))
+                        + (ServiceURLList.get(s_url))
                         + " - check DISCOVERY_URLS property in .jalview_properties");
       }
       s_url++;