psteitz 2004/06/26 14:20:21
Modified: math/src/java/org/apache/commons/math/stat/inference
ChiSquareTestImpl.java
Log:
Removed dead code.
Revision Changes Path
1.9 +1 -35
jakarta-commons/math/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
Index: ChiSquareTestImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChiSquareTestImpl.java 23 Jun 2004 16:26:14 -0000 1.8
+++ ChiSquareTestImpl.java 26 Jun 2004 21:20:21 -0000 1.9
@@ -248,40 +248,6 @@
* @return true if all entries of the array are non-negative
* @throws NullPointerException if input array is null
*/
- private boolean isNonNegative(double[] in) {
- for (int i = 0; i < in.length; i ++) {
- if (in[i] < 0) {
- return false;
- }
- }
- return true;
- }
-
- /**
- * Returns true iff all entries of the input array are > 0.
- * Returns true if the array is non-null, but empty
- *
- * @param in array to be tested
- * @return true if all entries of the array are positive
- * @throws NullPointerException if input array is null
- */
- private boolean isPositive(long[] in) {
- for (int i = 0; i < in.length; i ++) {
- if (in[i] <= 0) {
- return false;
- }
- }
- return true;
- }
-
- /**
- * Returns true iff all entries of the input array are >= 0.
- * Returns true if the array is non-null, but empty
- *
- * @param in array to be tested
- * @return true if all entries of the array are non-negative
- * @throws NullPointerException if input array is null
- */
private boolean isNonNegative(long[] in) {
for (int i = 0; i < in.length; i ++) {
if (in[i] < 0) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]