JAL-2805 made needed color set methods public
[jalview.git] / forester / java / src / org / forester / application / pfamacc2go.java
index 1d6ab2f..9f69cdd 100644 (file)
@@ -6,7 +6,7 @@
 // Copyright (C) 2010 Christian M Zmasek
 // Copyright (C) 2010 Sanford-Burnham Medical Research Institute
 // All rights reserved
-// 
+//
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 // Lesser General Public License for more details.
-// 
+//
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 //
 // Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
 
 package org.forester.application;
 
@@ -82,7 +82,7 @@ public class pfamacc2go {
                         total_pfam_ids++;
                         boolean mapped = false;
                         for( final PfamToGoMapping pfam_to_go_mapping : pfam2go ) {
-                            if ( pfam_to_go_mapping.getKey().getId().equals( pfam_id ) ) {
+                            if ( pfam_to_go_mapping.getKey().equals( pfam_id ) ) {
                                 mapped = true;
                                 System.out.println( pfam_to_go_mapping.getValue().toString() );
                             }
@@ -105,7 +105,7 @@ public class pfamacc2go {
     private static void printHelp() {
         System.out.println();
         System.out.println( PRG_NAME
-                + " <pfam2go mapping file> <file with pfam accessors, newline and/or comma separated>" );
+                            + " <pfam2go mapping file> <file with pfam accessors, newline and/or comma separated>" );
         System.out.println();
     }
 }