1.1 methods
[jalview.git] / src / jalview / util / DBRefUtils.java
index 3587b83..3ea47f2 100755 (executable)
@@ -54,7 +54,7 @@ public class DBRefUtils
     {
       if (srcs.containsKey(dbrefs[i].getSource()))
       {
-        res.add(dbrefs[i]);
+        res.addElement(dbrefs[i]);
       }
     }
 
@@ -110,7 +110,7 @@ public class DBRefUtils
    * and return the canonical jalview name for the source, or the original
    * string if it has no canonical form.
    * @param source
-   * @return canonical jalview source (one of jalview.datamodel.DBRefSource.*)
+   * @return canonical jalview source (one of jalview.datamodel.DBRefSource.*) or original source
    */
   public static String getCanonicalName(String source)
   {