Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 73448 invoked from network); 26 Jun 2004 21:20:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Jun 2004 21:20:43 -0000 Received: (qmail 75251 invoked by uid 500); 26 Jun 2004 21:20:42 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 75015 invoked by uid 500); 26 Jun 2004 21:20:37 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 74824 invoked by uid 500); 26 Jun 2004 21:20:32 -0000 Received: (qmail 74693 invoked by uid 99); 26 Jun 2004 21:20:27 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 26 Jun 2004 14:20:27 -0700 Received: (qmail 73380 invoked by uid 1718); 26 Jun 2004 21:20:21 -0000 Date: 26 Jun 2004 21:20:21 -0000 Message-ID: <20040626212021.73379.qmail@minotaur.apache.org> From: psteitz@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/stat/inference ChiSquareTestImpl.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org