{
if (srcs.containsKey(dbrefs[i].getSource()))
{
- res.add(dbrefs[i]);
+ res.addElement(dbrefs[i]);
}
}
* 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)
{