commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r348888 - in /jakarta/commons/proper/math/branches/MATH_1_1/src: experimental/R/ experimental/org/apache/commons/math/function/ experimental/org/apache/commons/math/function/simple/ experimental/org/apache/commons/math/stat/univariate/ expe...
Date Fri, 25 Nov 2005 06:21:34 GMT
Author: psteitz
Date: Thu Nov 24 22:21:25 2005
New Revision: 348888

URL: http://svn.apache.org/viewcvs?rev=348888&view=rev
Log:
Eliminated tabs from source.

Modified:
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/TTestCases
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/normalTestCases
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/Variable.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Add.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Equals.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Multiply.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Power.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Subtract.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImpl.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImplTest.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformer.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformerTest.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/util/ContinuedFraction.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/PoissonDistributionTest.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/StatUtilsTest.java
    jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/TTestCases
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/TTestCases?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/TTestCases (original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/TTestCases Thu Nov 24
22:21:25 2005
@@ -26,13 +26,13 @@
 # Arguments
 #   x  a numeric vector of data values.
 #   y  an optional numeric vector data values.
-#   alternative 	a character string specifying the alternative hypothesis, 
+#   alternative     a character string specifying the alternative hypothesis, 
 #     must be one of "two.sided" (default), "greater" or "less". You can specify
 #     just the initial letter.
 #   mu  a number indicating the true value of the mean (or difference in means
 #      if you are performing a two sample test).
-#   paired 	a logical indicating whether you want a paired t-test.
-#   var.equal 	a logical variable indicating whether to treat the two
+#   paired  a logical indicating whether you want a paired t-test.
+#   var.equal   a logical variable indicating whether to treat the two
 #     variances as being equal. 
 #     If TRUE then the pooled variance is used to estimate the variance,
 #     otherwise the Welch (or Satterthwaite) approximation to the degrees

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/normalTestCases
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/normalTestCases?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/normalTestCases (original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/R/normalTestCases Thu Nov
24 22:21:25 2005
@@ -62,7 +62,7 @@
 distributionValues <- c(0.02275013, 0.1586553, 0.5, 0.8413447, 
                 0.9772499, 0.9986501, 0.9999683,  0.9999997)
 distributionPoints <- c(mu - 2 *sigma, mu - sigma, mu, mu + sigma,
-		mu + 2 * sigma,  mu + 3 * sigma, mu + 4 * sigma,
+        mu + 2 * sigma,  mu + 3 * sigma, mu + 4 * sigma,
                     mu + 5 * sigma)
 
 verifyDistribution(distributionPoints, distributionValues, mu, sigma, tol)
@@ -70,14 +70,14 @@
 mu <- 0
 sigma <- 1
 distributionPoints <- c(mu - 2 *sigma, mu - sigma, mu, mu + sigma,
-		mu + 2 * sigma,  mu + 3 * sigma, mu + 4 * sigma,
+        mu + 2 * sigma,  mu + 3 * sigma, mu + 4 * sigma,
                     mu + 5 * sigma)
 verifyDistribution(distributionPoints, distributionValues, mu, sigma, tol)
 
 mu <- 0
 sigma <- 0.1
 distributionPoints <- c(mu - 2 *sigma, mu - sigma, mu, mu + sigma,
-		mu + 2 * sigma,  mu + 3 * sigma, mu + 4 * sigma,
+        mu + 2 * sigma,  mu + 3 * sigma, mu + 4 * sigma,
                     mu + 5 * sigma)
 verifyDistribution(distributionPoints, distributionValues, mu, sigma, tol)
 

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/Variable.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/Variable.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/Variable.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/Variable.java
Thu Nov 24 22:21:25 2005
@@ -27,12 +27,12 @@
 
     public Evaluation evaluate(EvaluationContext context)
         throws EvaluationException {
-		return null;
+        return null;
         
         //context.evaluate(value.doubleValue());
-	}
+    }
     
     public String toString() {
-    	return "Variable";
-	}	
+        return "Variable";
+    }   
 }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Add.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Add.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Add.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Add.java
Thu Nov 24 22:21:25 2005
@@ -30,17 +30,17 @@
  */
 public class Add implements Evaluation, Serializable {
 
-	private Evaluation left;
+    private Evaluation left;
 
-	private Evaluation right;
+    private Evaluation right;
 
-	public void setLeftOperand(Evaluation left) {
-		this.left = left;
-	}
+    public void setLeftOperand(Evaluation left) {
+        this.left = left;
+    }
 
-	public void setRightOperand(Evaluation right) {
-		this.right = right;
-	}
+    public void setRightOperand(Evaluation right) {
+        this.right = right;
+    }
 
     public Evaluation evaluate(EvaluationContext context) throws EvaluationException {
         return context.evaluate(

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Equals.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Equals.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Equals.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Equals.java
Thu Nov 24 22:21:25 2005
@@ -29,22 +29,22 @@
  */
 public class Equals implements Evaluation, Serializable {
 
-	private Evaluation left;
+    private Evaluation left;
 
-	private Evaluation right;
+    private Evaluation right;
 
-	public void setLeftOperand(Evaluation left) {
-		this.left = left;
-	}
+    public void setLeftOperand(Evaluation left) {
+        this.left = left;
+    }
 
-	public void setRightOperand(Evaluation right) {
-		this.right = right;
-	}
+    public void setRightOperand(Evaluation right) {
+        this.right = right;
+    }
     
-	public Evaluation evaluate(EvaluationContext context) {
+    public Evaluation evaluate(EvaluationContext context) {
 
-		return null;
-	}
+        return null;
+    }
     
     public String toString() {
         return "Equals";

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Multiply.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Multiply.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Multiply.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Multiply.java
Thu Nov 24 22:21:25 2005
@@ -29,17 +29,17 @@
  */
 public class Multiply implements Evaluation, Serializable {
 
-	private Evaluation left;
+    private Evaluation left;
 
-	private Evaluation right;
+    private Evaluation right;
 
-	public void setLeftOperand(Evaluation left) {
-		this.left = left;
-	}
+    public void setLeftOperand(Evaluation left) {
+        this.left = left;
+    }
 
-	public void setRightOperand(Evaluation right) {
-		this.right = right;
-	}
+    public void setRightOperand(Evaluation right) {
+        this.right = right;
+    }
 
     public Evaluation evaluate(EvaluationContext context) throws EvaluationException {
         return context.evaluate(

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Power.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Power.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Power.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Power.java
Thu Nov 24 22:21:25 2005
@@ -30,26 +30,26 @@
  */
 public class Power implements Evaluation, Serializable {
 
-	private Evaluation argument;
+    private Evaluation argument;
 
-	private Evaluation power;
-	
-	public void setOperand(Evaluation argument) {
-		this.argument = argument;
-	}
+    private Evaluation power;
+    
+    public void setOperand(Evaluation argument) {
+        this.argument = argument;
+    }
 
-	public void setPower(Evaluation power) {
-		this.power = power;
-	}
-		
-	public Evaluation evaluate(EvaluationContext context) throws EvaluationException {
+    public void setPower(Evaluation power) {
+        this.power = power;
+    }
+        
+    public Evaluation evaluate(EvaluationContext context) throws EvaluationException {
         return context.evaluate(
             Math.pow(
                 context.doubleValue(argument),
                 context.doubleValue(power)
             )
         );
-	}
+    }
     
     public String toString() {
         return "Power";

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Subtract.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Subtract.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Subtract.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/function/simple/Subtract.java
Thu Nov 24 22:21:25 2005
@@ -29,17 +29,17 @@
  */
 public class Subtract implements Evaluation, Serializable {
 
-	private Evaluation left;
+    private Evaluation left;
 
-	private Evaluation right;
+    private Evaluation right;
 
-	public void setLeftOperand(Evaluation left) {
-		this.left = left;
-	}
+    public void setLeftOperand(Evaluation left) {
+        this.left = left;
+    }
 
-	public void setRightOperand(Evaluation right) {
-		this.right = right;
-	}
+    public void setRightOperand(Evaluation right) {
+        this.right = right;
+    }
 
     public Evaluation evaluate(EvaluationContext context) throws EvaluationException {
         return context.evaluate(

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImpl.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImpl.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImpl.java
Thu Nov 24 22:21:25 2005
@@ -39,110 +39,110 @@
     /** Serializable version identifier */
     private static final long serialVersionUID = -6428201899045406285L;
     
-	/**
-	 * propertyName of the property to get from the bean
-	 */
-	private String propertyName;
-
-	/**
-	 * No argument Constructor
-	 */
-	public BeanListUnivariateImpl(){
-	    this(new ArrayList());
-	}
-	
-	/**
-	 * Construct a BeanListUnivariate with specified
-	 * backing list
-	 * @param list Backing List
-	 */
-	public BeanListUnivariateImpl(List list) {
-		this(list, null);
-	}
-
-	/**
-	 * Construct a BeanListUnivariate with specified
-	 * backing list and propertyName
-	 * @param list Backing List
-	 * @param propertyName Bean propertyName
-	 */
-	public BeanListUnivariateImpl(List list, String propertyName) {
-		super(list);
-		setPropertyName(propertyName);
-	}
-
-	/**
-	 * @return propertyName
-	 */
-	public String getPropertyName() {
-		return propertyName;
-	}
-
-	/**
-	 * @param propertyName Name of Property
-	 */
-	public void setPropertyName(String propertyName) {
-		this.propertyName = propertyName;
-		this.transformer = new NumberTransformer() {
-
-			/**
-			 * @see org.apache.commons.math.util.NumberTransformer#transform(java.lang.Object)
-			 */
-			public double transform(final Object o) throws MathException {
-				try {
-					return (
-						(Number) PropertyUtils.getProperty(
-							o,
-							getPropertyName()))
-						.doubleValue();
-				} catch (IllegalAccessException e) {
-					throw new MathException(
-						"IllegalAccessException in Transformation: "
-							+ e.getMessage(),
-						e);
-				} catch (InvocationTargetException e) {
-					throw new MathException(
-						"InvocationTargetException in Transformation: "
-							+ e.getMessage(),
-						e);
-				} catch (NoSuchMethodException e) {
-					throw new MathException(
-						"oSuchMethodException in Transformation: "
-							+ e.getMessage(),
-						e);
-				}
-			}
-		};
-	}
-
-	/**
-	  *  Creates a {@link org.apache.commons.beanutils.DynaBean} with a 
-	  *  {@link org.apache.commons.beanutils.DynaProperty} named 
-	  *  <code>propertyName,</code> sets the value of the property to <code>v</code>
-	  *  and adds the DynaBean to the underlying list.
-	  *
-	  */
-	public void addValue(double v)  {
-	    DynaProperty[] props = new DynaProperty[] {
-	            new DynaProperty(propertyName, Double.class)
-	    };
-	    BasicDynaClass dynaClass = new BasicDynaClass(null, null, props);
-	    DynaBean dynaBean = null;
-	    try {
-	        dynaBean = dynaClass.newInstance();
-	    } catch (Exception ex) {              // InstantiationException, IllegalAccessException
-	        throw new RuntimeException(ex);   // should never happen
-	    }
-		dynaBean.set(propertyName, new Double(v));
-		addObject(dynaBean);
-	}
-
-	/**
-	 * Adds a bean to this list. 
-	 *
-	 * @param bean Bean to add to the list
-	 */
-	public void addObject(Object bean) {
-		list.add(bean);
-	}
+    /**
+     * propertyName of the property to get from the bean
+     */
+    private String propertyName;
+
+    /**
+     * No argument Constructor
+     */
+    public BeanListUnivariateImpl(){
+        this(new ArrayList());
+    }
+    
+    /**
+     * Construct a BeanListUnivariate with specified
+     * backing list
+     * @param list Backing List
+     */
+    public BeanListUnivariateImpl(List list) {
+        this(list, null);
+    }
+
+    /**
+     * Construct a BeanListUnivariate with specified
+     * backing list and propertyName
+     * @param list Backing List
+     * @param propertyName Bean propertyName
+     */
+    public BeanListUnivariateImpl(List list, String propertyName) {
+        super(list);
+        setPropertyName(propertyName);
+    }
+
+    /**
+     * @return propertyName
+     */
+    public String getPropertyName() {
+        return propertyName;
+    }
+
+    /**
+     * @param propertyName Name of Property
+     */
+    public void setPropertyName(String propertyName) {
+        this.propertyName = propertyName;
+        this.transformer = new NumberTransformer() {
+
+            /**
+             * @see org.apache.commons.math.util.NumberTransformer#transform(java.lang.Object)
+             */
+            public double transform(final Object o) throws MathException {
+                try {
+                    return (
+                        (Number) PropertyUtils.getProperty(
+                            o,
+                            getPropertyName()))
+                        .doubleValue();
+                } catch (IllegalAccessException e) {
+                    throw new MathException(
+                        "IllegalAccessException in Transformation: "
+                            + e.getMessage(),
+                        e);
+                } catch (InvocationTargetException e) {
+                    throw new MathException(
+                        "InvocationTargetException in Transformation: "
+                            + e.getMessage(),
+                        e);
+                } catch (NoSuchMethodException e) {
+                    throw new MathException(
+                        "oSuchMethodException in Transformation: "
+                            + e.getMessage(),
+                        e);
+                }
+            }
+        };
+    }
+
+    /**
+      *  Creates a {@link org.apache.commons.beanutils.DynaBean} with a 
+      *  {@link org.apache.commons.beanutils.DynaProperty} named 
+      *  <code>propertyName,</code> sets the value of the property to <code>v</code>
+      *  and adds the DynaBean to the underlying list.
+      *
+      */
+    public void addValue(double v)  {
+        DynaProperty[] props = new DynaProperty[] {
+                new DynaProperty(propertyName, Double.class)
+        };
+        BasicDynaClass dynaClass = new BasicDynaClass(null, null, props);
+        DynaBean dynaBean = null;
+        try {
+            dynaBean = dynaClass.newInstance();
+        } catch (Exception ex) {              // InstantiationException, IllegalAccessException
+            throw new RuntimeException(ex);   // should never happen
+        }
+        dynaBean.set(propertyName, new Double(v));
+        addObject(dynaBean);
+    }
+
+    /**
+     * Adds a bean to this list. 
+     *
+     * @param bean Bean to add to the list
+     */
+    public void addObject(Object bean) {
+        list.add(bean);
+    }
 }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImplTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImplTest.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImplTest.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/stat/univariate/BeanListUnivariateImplTest.java
Thu Nov 24 22:21:25 2005
@@ -84,7 +84,7 @@
     }
     
     /** test stats */
-    public void testStats() {	
+    public void testStats() {   
         DescriptiveStatistics u = new BeanListUnivariateImpl( patientList, "age" ); 
         double[] values = {35d, 23d, 42d};
         assertEquals("total count",3,u.getN(),tolerance);

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformer.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformer.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformer.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformer.java
Thu Nov 24 22:21:25 2005
@@ -76,11 +76,11 @@
             expr.execute();
             result = expr.getValue();
         } catch (IllegalAccessException e) {
-			throw new MathException("IllegalAccessException in Transformation: " + e.getMessage(),
e);
+            throw new MathException("IllegalAccessException in Transformation: " + e.getMessage(),
e);
         } catch (InvocationTargetException e) {
-			throw new MathException("InvocationTargetException in Transformation: " + e.getMessage(),
e);
+            throw new MathException("InvocationTargetException in Transformation: " + e.getMessage(),
e);
         } catch (NoSuchMethodException e) {
-			throw new MathException("NoSuchMethodException in Transformation: " + e.getMessage(),
e);
+            throw new MathException("NoSuchMethodException in Transformation: " + e.getMessage(),
e);
         } catch (ClassCastException e) {
             throw new MathException("ClassCastException in Transformation: " + e.getMessage(),
e);
         } catch (Exception e) {

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformerTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformerTest.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformerTest.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/experimental/org/apache/commons/math/util/BeanTransformerTest.java
Thu Nov 24 22:21:25 2005
@@ -59,12 +59,12 @@
     public void testTransformNoSuchMethod(){
         BeanTransformer b = new BeanTransformer("z");
         TestBean target = new TestBean();
-		try {
-		    b.transform(target);
-			fail("Expecting MathException");
-		} catch (MathException e) {
-			// expected
-		}
+        try {
+            b.transform(target);
+            fail("Expecting MathException");
+        } catch (MathException e) {
+            // expected
+        }
     }
     
     /**
@@ -73,9 +73,9 @@
     public void testTransform() throws Exception {
         BeanTransformer b = new BeanTransformer("x");
         TestBean target = new TestBean();
-		double value = Double.NaN;
-		value = b.transform(target);
-		TestUtils.assertEquals(1.0, value, 1.0e-2);
+        double value = Double.NaN;
+        value = b.transform(target);
+        TestUtils.assertEquals(1.0, value, 1.0e-2);
     }
     
     /**
@@ -84,7 +84,7 @@
         BeanTransformer b = new BeanTransformer("y");
         TestBean target = new TestBean();
         try {
-			b.transform(target);
+            b.transform(target);
             fail("Expecting ClassCastException");
         } catch(ClassCastException ex){
             // success

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
Thu Nov 24 22:21:25 2005
@@ -265,9 +265,9 @@
      */
     protected boolean isBracketing(double lower, double upper, 
             UnivariateRealFunction f) throws FunctionEvaluationException {
-    	double f1 = f.value(lower);
-    	double f2 = f.value(upper);
-    	return ((f1 > 0 && f2 < 0) || (f1 < 0 && f2 > 0));
+        double f1 = f.value(lower);
+        double f2 = f.value(upper);
+        return ((f1 > 0 && f2 < 0) || (f1 < 0 && f2 > 0));
     }
     
     /**

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
Thu Nov 24 22:21:25 2005
@@ -53,8 +53,8 @@
         super();
         if (numberOfSuccesses > populationSize) {
             throw new IllegalArgumentException(
-            	"number of successes must be less than or equal to " +
-            	"population size");
+                "number of successes must be less than or equal to " +
+                "population size");
         }
         if (sampleSize > populationSize) {
             throw new IllegalArgumentException(
@@ -81,7 +81,7 @@
         if (x < domain[0]) {
             ret = 0.0;
         } else if(x >= domain[1]) {
-        	ret = 1.0;
+            ret = 1.0;
         } else {
             ret = innerCumulativeProbability(domain[0], x, 1, n, m, k);
         }
@@ -241,7 +241,7 @@
         populationSize = size;
     }
     
-	/**
+    /**
      * Modify the sample size.
      * @param size the new sample size.
      * @throws IllegalArgumentException if <code>size</code> is negative.
@@ -260,9 +260,9 @@
      * @return upper tail CDF for this distribution.
      * @since 1.1
      */
-	public double upperCumulativeProbability(int x) {
-    	double ret;
-    	
+    public double upperCumulativeProbability(int x) {
+        double ret;
+        
         int n = getPopulationSize();
         int m = getNumberOfSuccesses();
         int k = getSampleSize();
@@ -273,12 +273,12 @@
         } else if(x > domain[1]) {
             ret = 0.0;
         } else {
-        	ret = innerCumulativeProbability(domain[1], x, -1, n, m, k);
+            ret = innerCumulativeProbability(domain[1], x, -1, n, m, k);
         }
         
         return ret;
     }
-	
+    
     /**
      * For this disbution, X, this method returns P(x0 &le; X &le; x1).  This
      * probability is computed by summing the point probabilities for the values
@@ -293,13 +293,13 @@
      * @return P(x0 &le; X &le; x1). 
      */
     private double innerCumulativeProbability(
-    	int x0, int x1, int dx, int n, int m, int k)
+        int x0, int x1, int dx, int n, int m, int k)
     {
-    	double ret = probability(n, m, k, x0);
-    	while (x0 != x1) {
-    		x0 += dx;
-    		ret += probability(n, m, k, x0);
-    	}
-		return ret;
-	}
+        double ret = probability(n, m, k, x0);
+        while (x0 != x1) {
+            x0 += dx;
+            ret += probability(n, m, k, x0);
+        }
+        return ret;
+    }
 }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/util/ContinuedFraction.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/util/ContinuedFraction.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/util/ContinuedFraction.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/util/ContinuedFraction.java
Thu Nov 24 22:21:25 2005
@@ -128,46 +128,46 @@
     public double evaluate(double x, double epsilon, int maxIterations)
         throws MathException
     {
-    	double p0 = 1.0;
-    	double p1 = getA(0, x);
-    	double q0 = 0.0;
-    	double q1 = 1.0;
-    	double c = p1 / q1;
-    	int n = 0;
-    	double relativeError = Double.MAX_VALUE;
-    	while (n < maxIterations && relativeError > epsilon) {
-    		++n;
-    		double a = getA(n, x);
-    		double b = getB(n, x);
-  			double p2 = a * p1 + b * p0;
-   			double q2 = a * q1 + b * q0;
-   			if (Double.isInfinite(p2) || Double.isInfinite(q2)) {
-   				// need to scale
-   				if (a != 0.0) {
-   					p2 = p1 + (b / a * p0);
-   					q2 = q1 + (b / a * q0);
-   				} else if (b != 0) {
-   					p2 = (a / b * p1) + p0;
-   					q2 = (a / b * q1) + q0;
-   				} else {
-   					// can not scale an convergent is unbounded.
-   		            throw new ConvergenceException(
-   	                	"Continued fraction convergents diverged to +/- " +
-   	                	"infinity.");
-   				}
-   			}
-   			double r = p2 / q2;
-   			relativeError = Math.abs(r / c - 1.0);
-    			
-   			// prepare for next iteration
-   			c = p2 / q2;
-   			p0 = p1;
-   			p1 = p2;
-   			q0 = q1;
-   			q1 = q2;
-    	}
+        double p0 = 1.0;
+        double p1 = getA(0, x);
+        double q0 = 0.0;
+        double q1 = 1.0;
+        double c = p1 / q1;
+        int n = 0;
+        double relativeError = Double.MAX_VALUE;
+        while (n < maxIterations && relativeError > epsilon) {
+            ++n;
+            double a = getA(n, x);
+            double b = getB(n, x);
+            double p2 = a * p1 + b * p0;
+            double q2 = a * q1 + b * q0;
+            if (Double.isInfinite(p2) || Double.isInfinite(q2)) {
+                // need to scale
+                if (a != 0.0) {
+                    p2 = p1 + (b / a * p0);
+                    q2 = q1 + (b / a * q0);
+                } else if (b != 0) {
+                    p2 = (a / b * p1) + p0;
+                    q2 = (a / b * q1) + q0;
+                } else {
+                    // can not scale an convergent is unbounded.
+                    throw new ConvergenceException(
+                        "Continued fraction convergents diverged to +/- " +
+                        "infinity.");
+                }
+            }
+            double r = p2 / q2;
+            relativeError = Math.abs(r / c - 1.0);
+                
+            // prepare for next iteration
+            c = p2 / q2;
+            p0 = p1;
+            p1 = p2;
+            q0 = q1;
+            q1 = q2;
+        }
 
-    	if (n >= maxIterations) {
+        if (n >= maxIterations) {
             throw new ConvergenceException(
                 "Continued fraction convergents failed to converge.");
         }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java
Thu Nov 24 22:21:25 2005
@@ -114,26 +114,26 @@
             ObjectInputStream si = new ObjectInputStream(fi);  
             result = si.readObject();
         } catch (Exception ex) {
-        	
+            
         } finally {
-        	if (fo != null) {
-        		try {
-        			fo.close();
-        		} catch (IOException ex) {
-        		}
-        	}
+            if (fo != null) {
+                try {
+                    fo.close();
+                } catch (IOException ex) {
+                }
+            }
 
-        	if (fi != null) {
-        		try {
-            		fi.close();
-        		} catch (IOException ex) {
-        		}
-        	}
+            if (fi != null) {
+                try {
+                    fi.close();
+                } catch (IOException ex) {
+                }
+            }
         }
         
         
         if (tmp != null) {
-        	tmp.delete();
+            tmp.delete();
         }
         
         return result;
@@ -150,15 +150,15 @@
         Assert.assertEquals("HashCode check", object.hashCode(), object2.hashCode());
     }
 
-	public static void assertRelativelyEquals(double expected, double actual, double relativeError)
{
-		assertRelativelyEquals(null, expected, actual, relativeError);
-	}
-	
-	public static void assertRelativelyEquals(String msg, double expected, double actual, double
relativeError) {
+    public static void assertRelativelyEquals(double expected, double actual, double relativeError)
{
+        assertRelativelyEquals(null, expected, actual, relativeError);
+    }
+    
+    public static void assertRelativelyEquals(String msg, double expected, double actual,
double relativeError) {
         if (Double.isNaN(expected)) {
             Assert.assertTrue(msg, Double.isNaN(actual));
         } else if (Double.isNaN(actual)) {
-        	Assert.assertTrue(msg, Double.isNaN(expected));
+            Assert.assertTrue(msg, Double.isNaN(expected));
         } else if (Double.isInfinite(actual) || Double.isInfinite(expected)) {
             Assert.assertEquals(expected, actual, relativeError);
         } else if (expected == 0.0) {
@@ -167,5 +167,5 @@
             double x = Math.abs((expected - actual) / expected);
             Assert.assertEquals(msg, 0.0, x, relativeError);
         }
-	}
+    }
 }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java
Thu Nov 24 22:21:25 2005
@@ -132,17 +132,17 @@
     }
     
     public void testLargeValues() {
-    	int populationSize = 3456;
-    	int sampleSize = 789;
-    	int numberOfSucceses = 101;
-    	double[][] data = {
-    	    {0.0, 2.75646034603961e-12, 2.75646034603961e-12, 1.0},
-    	    {1.0, 8.55705370142386e-11, 8.83269973602783e-11, 0.999999999997244},
-    	    {2.0, 1.31288129219665e-9, 1.40120828955693e-9, 0.999999999911673},
-    	    {3.0, 1.32724172984193e-8, 1.46736255879763e-8, 0.999999998598792},
-    	    {4.0, 9.94501711734089e-8, 1.14123796761385e-7, 0.999999985326375},
-    	    {5.0, 5.89080768883643e-7, 7.03204565645028e-7, 0.999999885876203},
-        	{20.0, 0.0760051397707708, 0.27349758476299, 0.802507555007781}, 
+        int populationSize = 3456;
+        int sampleSize = 789;
+        int numberOfSucceses = 101;
+        double[][] data = {
+            {0.0, 2.75646034603961e-12, 2.75646034603961e-12, 1.0},
+            {1.0, 8.55705370142386e-11, 8.83269973602783e-11, 0.999999999997244},
+            {2.0, 1.31288129219665e-9, 1.40120828955693e-9, 0.999999999911673},
+            {3.0, 1.32724172984193e-8, 1.46736255879763e-8, 0.999999998598792},
+            {4.0, 9.94501711734089e-8, 1.14123796761385e-7, 0.999999985326375},
+            {5.0, 5.89080768883643e-7, 7.03204565645028e-7, 0.999999885876203},
+            {20.0, 0.0760051397707708, 0.27349758476299, 0.802507555007781}, 
             {21.0, 0.087144222047629, 0.360641806810619, 0.72650241523701}, 
             {22.0, 0.0940378846881819, 0.454679691498801, 0.639358193189381}, 
             {23.0, 0.0956897500614809, 0.550369441560282, 0.545320308501199}, 
@@ -154,40 +154,40 @@
             {99.0, 6.63604297068222e-63, 1.0, 6.670480942963e-63}, 
             {100.0, 3.43501099007557e-65, 1.0, 3.4437972280786e-65},
             {101.0, 8.78623800302957e-68, 1.0, 8.78623800302957e-68},
-    	};
+        };
         
-    	testHypergeometricDistributionProbabilities(populationSize, sampleSize, numberOfSucceses,
data);
+        testHypergeometricDistributionProbabilities(populationSize, sampleSize, numberOfSucceses,
data);
     }
 
-	private void testHypergeometricDistributionProbabilities(int populationSize, int sampleSize,
int numberOfSucceses, double[][] data) {
-		HypergeometricDistributionImpl dist = new HypergeometricDistributionImpl(populationSize,
numberOfSucceses, sampleSize);
-    	for (int i = 0; i < data.length; ++i) {
-    		int x = (int)data[i][0];
-    		double pdf = data[i][1];
-    		double actualPdf = dist.probability(x);
-    		TestUtils.assertRelativelyEquals(pdf, actualPdf, 1.0e-9);
+    private void testHypergeometricDistributionProbabilities(int populationSize, int sampleSize,
int numberOfSucceses, double[][] data) {
+        HypergeometricDistributionImpl dist = new HypergeometricDistributionImpl(populationSize,
numberOfSucceses, sampleSize);
+        for (int i = 0; i < data.length; ++i) {
+            int x = (int)data[i][0];
+            double pdf = data[i][1];
+            double actualPdf = dist.probability(x);
+            TestUtils.assertRelativelyEquals(pdf, actualPdf, 1.0e-9);
 
-    		double cdf = data[i][2];
-    		double actualCdf = dist.cumulativeProbability(x);
-			TestUtils.assertRelativelyEquals(cdf, actualCdf, 1.0e-9);
+            double cdf = data[i][2];
+            double actualCdf = dist.cumulativeProbability(x);
+            TestUtils.assertRelativelyEquals(cdf, actualCdf, 1.0e-9);
 
-			double cdf1 = data[i][3];
-    		double actualCdf1 = dist.upperCumulativeProbability(x);
-			TestUtils.assertRelativelyEquals(cdf1, actualCdf1, 1.0e-9);
-    	}
-	}
+            double cdf1 = data[i][3];
+            double actualCdf1 = dist.upperCumulativeProbability(x);
+            TestUtils.assertRelativelyEquals(cdf1, actualCdf1, 1.0e-9);
+        }
+    }
     
     public void testMoreLargeValues() {
-    	int populationSize = 26896;
-    	int sampleSize = 895;
-    	int numberOfSucceses = 55;
-    	double[][] data = {
-    	    {0.0, 0.155168304750504, 0.155168304750504, 1.0}, 
+        int populationSize = 26896;
+        int sampleSize = 895;
+        int numberOfSucceses = 55;
+        double[][] data = {
+            {0.0, 0.155168304750504, 0.155168304750504, 1.0}, 
             {1.0, 0.29437545000746, 0.449543754757964, 0.844831695249496}, 
-    	    {2.0, 0.273841321577003, 0.723385076334967, 0.550456245242036}, 
-    	    {3.0, 0.166488572570786, 0.889873648905753, 0.276614923665033}, 
-    	    {4.0, 0.0743969744713231, 0.964270623377076, 0.110126351094247}, 
-    	    {5.0, 0.0260542785784855, 0.990324901955562, 0.0357293766229237}, 
+            {2.0, 0.273841321577003, 0.723385076334967, 0.550456245242036}, 
+            {3.0, 0.166488572570786, 0.889873648905753, 0.276614923665033}, 
+            {4.0, 0.0743969744713231, 0.964270623377076, 0.110126351094247}, 
+            {5.0, 0.0260542785784855, 0.990324901955562, 0.0357293766229237}, 
             {20.0, 3.57101101678792e-16, 1.0, 3.78252101622096e-16}, 
             {21.0, 2.00551638598312e-17, 1.0, 2.11509999433041e-17}, 
             {22.0, 1.04317070180562e-18, 1.0, 1.09583608347287e-18}, 
@@ -200,7 +200,7 @@
             {53.0, 1.43662126065532e-76, 1.0, 1.43834540093295e-76}, 
             {54.0, 1.72312692517348e-79, 1.0, 1.7241402776278e-79}, 
             {55.0, 1.01335245432581e-82, 1.0, 1.01335245432581e-82},        
-    	};
-    	testHypergeometricDistributionProbabilities(populationSize, sampleSize, numberOfSucceses,
data);
+        };
+        testHypergeometricDistributionProbabilities(populationSize, sampleSize, numberOfSucceses,
data);
     }
 }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/PoissonDistributionTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/PoissonDistributionTest.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/PoissonDistributionTest.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/PoissonDistributionTest.java
Thu Nov 24 22:21:25 2005
@@ -137,44 +137,44 @@
     }
     
     public void testLargeMeanCumulativeProbability() {
-    	PoissonDistribution dist = DistributionFactory.newInstance().createPoissonDistribution(1.0);
-    	double mean = 1.0;
-    	while (mean <= 10000000.0) {
-    		dist.setMean(mean);
-    		
-    		double x = mean * 2.0;
-    		double dx = x / 10.0;
-    		while (x >= 0) {
-    			try {
-    				dist.cumulativeProbability(x);
-    			} catch (MathException ex) {
-    				fail("mean of " + mean + " and x of " + x + " caused " + ex.getMessage());
-    			}
-				x -= dx;
-    		}
-    		
-    		mean *= 10.0;
-    	}
+        PoissonDistribution dist = DistributionFactory.newInstance().createPoissonDistribution(1.0);
+        double mean = 1.0;
+        while (mean <= 10000000.0) {
+            dist.setMean(mean);
+            
+            double x = mean * 2.0;
+            double dx = x / 10.0;
+            while (x >= 0) {
+                try {
+                    dist.cumulativeProbability(x);
+                } catch (MathException ex) {
+                    fail("mean of " + mean + " and x of " + x + " caused " + ex.getMessage());
+                }
+                x -= dx;
+            }
+            
+            mean *= 10.0;
+        }
     }
     
     public void testLargeMeanInverseCumulativeProbability() {
-    	PoissonDistribution dist = DistributionFactory.newInstance().createPoissonDistribution(1.0);
-    	double mean = 1.0;
-    	while (mean <= 10000000.0) {
-    		dist.setMean(mean);
-    		
-    		double p = 0.1;
-    		double dp = p;
-    		while (p < 1.0) {
-    			try {
-    				dist.inverseCumulativeProbability(p);
-    			} catch (MathException ex) {
-    				fail("mean of " + mean + " and p of " + p + " caused " + ex.getMessage());
-    			}
-				p += dp;
-    		}
-    		
-    		mean *= 10.0;
-    	}
+        PoissonDistribution dist = DistributionFactory.newInstance().createPoissonDistribution(1.0);
+        double mean = 1.0;
+        while (mean <= 10000000.0) {
+            dist.setMean(mean);
+            
+            double p = 0.1;
+            double dp = p;
+            while (p < 1.0) {
+                try {
+                    dist.inverseCumulativeProbability(p);
+                } catch (MathException ex) {
+                    fail("mean of " + mean + " and p of " + p + " caused " + ex.getMessage());
+                }
+                p += dp;
+            }
+            
+            mean *= 10.0;
+        }
     }
 }

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/StatUtilsTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/StatUtilsTest.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/StatUtilsTest.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/StatUtilsTest.java
Thu Nov 24 22:21:25 2005
@@ -411,7 +411,7 @@
             // expected
         }
         try {
-        	double[] single = {1.0};
+            double[] single = {1.0};
             StatUtils.varianceDifference(single, single, meanDifference);
             fail("Expecting IllegalArgumentException");
         } catch (IllegalArgumentException ex) {

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java?rev=348888&r1=348887&r2=348888&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java
(original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/descriptive/rank/PercentileTest.java
Thu Nov 24 22:21:25 2005
@@ -75,16 +75,16 @@
         
         // invalid percentiles
         try {
-        	p.evaluate(d, 0, d.length, -1.0);
-        	fail();
+            p.evaluate(d, 0, d.length, -1.0);
+            fail();
         } catch (IllegalArgumentException ex) {
-        	// success
+            // success
         }
         try {
-        	p.evaluate(d, 0, d.length, 101.0);
-        	fail();
+            p.evaluate(d, 0, d.length, 101.0);
+            fail();
         } catch (IllegalArgumentException ex) {
-        	// success
+            // success
         }
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message