in progress
[jalview.git] / forester / java / src / org / forester / ws / seqdb / UniProtTaxonomy.java
index 692f8dd..09f869f 100644 (file)
@@ -26,9 +26,7 @@
 package org.forester.ws.seqdb;
 
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
 
 import org.forester.util.ForesterUtil;
 
@@ -47,9 +45,7 @@ public final class UniProtTaxonomy {
     public final static String CELLULAR_ORGANISMS = "cellular organisms";
     public final static String VIRUSES            = "Viruses";
     public static final String X                  = "x";
-    
-  
-    
+
     public UniProtTaxonomy( final String line ) {
         final String[] items = line.split( "\t" );
         if ( items.length < 5 ) {
@@ -121,17 +117,17 @@ public final class UniProtTaxonomy {
 
     /**
      * Creates deep copy for all fields, except lineage.
-     * 
+     *
      * @return
      */
     public UniProtTaxonomy copy() {
         return new UniProtTaxonomy( getLineage(),
                                     getCode() != null ? new String( getCode() ) : null,
-                                    getCommonName() != null ? new String( getCommonName() ) : null,
-                                    getScientificName() != null ? new String( getScientificName() ) : null,
-                                    getSynonym() != null ? new String( getSynonym() ) : null,
-                                    getRank() != null ? new String( getRank() ) : null,
-                                    getId() != null ? new String( getId() ) : null );
+                                            getCommonName() != null ? new String( getCommonName() ) : null,
+                                                    getScientificName() != null ? new String( getScientificName() ) : null,
+                                                            getSynonym() != null ? new String( getSynonym() ) : null,
+                                                                    getRank() != null ? new String( getRank() ) : null,
+                                                                            getId() != null ? new String( getId() ) : null );
     }
 
     public String getCode() {
@@ -162,11 +158,6 @@ public final class UniProtTaxonomy {
         return _synonym;
     }
 
-    
-   
-    
-    
-    
     public final static UniProtTaxonomy createSpecialFromScientificName( final String sn ) {
         final List<String> lineage = new ArrayList<String>();
         final String code = "";