From: cmzmasek Date: Thu, 14 May 2015 17:08:39 +0000 (-0700) Subject: Corrected misspelled method names (issue: "Typos in method names in X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fd84f52718cdf9d27c504a0dace55d2a2270c08d;p=jalview.git Corrected misspelled method names (issue: "Typos in method names in PhylogenyMethods") --- diff --git a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java index 14bcc07..9f42b30 100644 --- a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java +++ b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java @@ -631,7 +631,7 @@ public final class AptxUtil { System.out.println( t.toString() ); } desc.append( "\n" ); - final DescriptiveStatistics bs = PhylogenyMethods.calculatBranchLengthStatistics( phy ); + final DescriptiveStatistics bs = PhylogenyMethods.calculateBranchLengthStatistics( phy ); if ( bs.getN() > 3 ) { desc.append( "\n" ); desc.append( "Branch-length statistics: " ); @@ -653,7 +653,7 @@ public final class AptxUtil { desc.append( histo.toStringBuffer( 12, '#', 40, 7, " " ) ); } } - final DescriptiveStatistics ds = PhylogenyMethods.calculatNumberOfDescendantsPerNodeStatistics( phy ); + final DescriptiveStatistics ds = PhylogenyMethods.calculateNumberOfDescendantsPerNodeStatistics( phy ); if ( ds.getN() > 2 ) { desc.append( "\n" ); desc.append( "Descendants per node statistics: " ); @@ -670,7 +670,7 @@ public final class AptxUtil { } List css = null; try { - css = PhylogenyMethods.calculatConfidenceStatistics( phy ); + css = PhylogenyMethods.calculateConfidenceStatistics( phy ); } catch ( final IllegalArgumentException e ) { ForesterUtil.printWarningMessage( Constants.PRG_NAME, e.getMessage() ); diff --git a/forester/java/src/org/forester/phylogeny/PhylogenyMethods.java b/forester/java/src/org/forester/phylogeny/PhylogenyMethods.java index 3616a89..c3fbc95 100644 --- a/forester/java/src/org/forester/phylogeny/PhylogenyMethods.java +++ b/forester/java/src/org/forester/phylogeny/PhylogenyMethods.java @@ -107,7 +107,7 @@ public class PhylogenyMethods { return could_extract; } - public static DescriptiveStatistics calculatBranchLengthStatistics( final Phylogeny phy ) { + public static DescriptiveStatistics calculateBranchLengthStatistics( final Phylogeny phy ) { final DescriptiveStatistics stats = new BasicDescriptiveStatistics(); for( final PhylogenyNodeIterator iter = phy.iteratorPreorder(); iter.hasNext(); ) { final PhylogenyNode n = iter.next(); @@ -118,7 +118,7 @@ public class PhylogenyMethods { return stats; } - public static List calculatConfidenceStatistics( final Phylogeny phy ) { + public static List calculateConfidenceStatistics( final Phylogeny phy ) { final List stats = new ArrayList(); for( final PhylogenyNodeIterator iter = phy.iteratorPreorder(); iter.hasNext(); ) { final PhylogenyNode n = iter.next(); @@ -305,7 +305,7 @@ public class PhylogenyMethods { return x; } - public static DescriptiveStatistics calculatNumberOfDescendantsPerNodeStatistics( final Phylogeny phy ) { + public static DescriptiveStatistics calculateNumberOfDescendantsPerNodeStatistics( final Phylogeny phy ) { final DescriptiveStatistics stats = new BasicDescriptiveStatistics(); for( final PhylogenyNodeIterator iter = phy.iteratorPreorder(); iter.hasNext(); ) { final PhylogenyNode n = iter.next();