in progress
[jalview.git] / forester / java / src / org / forester / io / parsers / phyloxml / PhyloXmlHandler.java
index 6c013f6..a044239 100644 (file)
@@ -5,7 +5,7 @@
 // Copyright (C) 2008-2009 Christian M. Zmasek
 // Copyright (C) 2008-2009 Burnham Institute for Medical Research
 // 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
@@ -15,7 +15,7 @@
 // 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
@@ -60,8 +60,8 @@ import org.forester.phylogeny.data.Property;
 import org.forester.phylogeny.data.Reference;
 import org.forester.phylogeny.data.Sequence;
 import org.forester.phylogeny.data.SequenceRelation;
-import org.forester.phylogeny.data.Taxonomy;
 import org.forester.phylogeny.data.SequenceRelation.SEQUENCE_RELATION_TYPE;
+import org.forester.phylogeny.data.Taxonomy;
 import org.forester.util.FailedConditionCheckException;
 import org.forester.util.ForesterConstants;
 import org.forester.util.ForesterUtil;
@@ -312,8 +312,8 @@ public final class PhyloXmlHandler extends DefaultHandler {
                 if ( !node.getNodeData().isHasProperties() ) {
                     node.getNodeData().setProperties( new PropertiesMap() );
                 }
-                node.getNodeData().getProperties().addProperty( ( Property ) PropertyParser.getInstance()
-                        .parse( element ) );
+                node.getNodeData().getProperties()
+                        .addProperty( ( Property ) PropertyParser.getInstance().parse( element ) );
             }
         }
     }
@@ -385,8 +385,8 @@ public final class PhyloXmlHandler extends DefaultHandler {
                             .getAttribute( PhyloXmlMapping.PHYLOGENY_IS_REROOTABLE_ATTR ) ) );
                 }
                 if ( element.isHasAttribute( PhyloXmlMapping.PHYLOGENY_BRANCHLENGTH_UNIT_ATTR ) ) {
-                    getCurrentPhylogeny().setDistanceUnit( element
-                            .getAttribute( PhyloXmlMapping.PHYLOGENY_BRANCHLENGTH_UNIT_ATTR ) );
+                    getCurrentPhylogeny()
+                            .setDistanceUnit( element.getAttribute( PhyloXmlMapping.PHYLOGENY_BRANCHLENGTH_UNIT_ATTR ) );
                 }
                 if ( element.isHasAttribute( PhyloXmlMapping.PHYLOGENY_IS_ROOTED_ATTR ) ) {
                     getCurrentPhylogeny().setRooted( Boolean.parseBoolean( element