Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34DD010871 for ; Wed, 16 Oct 2013 08:29:17 +0000 (UTC) Received: (qmail 53340 invoked by uid 500); 16 Oct 2013 08:29:11 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 53281 invoked by uid 500); 16 Oct 2013 08:29:08 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 53225 invoked by uid 99); 16 Oct 2013 08:29:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 08:29:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 08:29:02 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DC40923889FD; Wed, 16 Oct 2013 08:28:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1532684 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java Date: Wed, 16 Oct 2013 08:28:42 -0000 To: commits@commons.apache.org From: bayard@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131016082842.DC40923889FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bayard Date: Wed Oct 16 08:28:42 2013 New Revision: 1532684 URL: http://svn.apache.org/r1532684 Log: Fixing the documentation so that a random string of numbers and letters is not guaranteeing that a number or a letter will appear as reported by Andrzej Winnicki in LANG-902 Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java?rev=1532684&r1=1532683&r2=1532684&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java Wed Oct 16 08:28:42 2013 @@ -133,9 +133,9 @@ public class RandomStringUtils { * characters as indicated by the arguments.

* * @param count the length of random string to create - * @param letters if {@code true}, generated string will include + * @param letters if {@code true}, generated string may include * alphabetic characters - * @param numbers if {@code true}, generated string will include + * @param numbers if {@code true}, generated string may include * numeric characters * @return the random string */ @@ -153,9 +153,9 @@ public class RandomStringUtils { * @param count the length of random string to create * @param start the position in set of chars to start at * @param end the position in set of chars to end before - * @param letters if {@code true}, generated string will include + * @param letters if {@code true}, generated string may include * alphabetic characters - * @param numbers if {@code true}, generated string will include + * @param numbers if {@code true}, generated string may include * numeric characters * @return the random string */