Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 33826 invoked from network); 17 Jun 2008 18:12:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2008 18:12:40 -0000 Received: (qmail 94907 invoked by uid 500); 17 Jun 2008 18:12:40 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 94836 invoked by uid 500); 17 Jun 2008 18:12:40 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 94805 invoked by uid 99); 17 Jun 2008 18:12:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 11:12:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 18:11:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 410F3234C14A for ; Tue, 17 Jun 2008 11:11:47 -0700 (PDT) Message-ID: <1623303153.1213726307265.JavaMail.jira@brutus> Date: Tue, 17 Jun 2008 11:11:47 -0700 (PDT) From: "James Carman (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (LANG-425) Sequence(String)Utils In-Reply-To: <63951637.1208205784947.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LANG-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605683#action_12605683 ] James Carman commented on LANG-425: ----------------------------------- I thought we just voted to make commons lang JDK5-dependent (for 3.x releases)? > Sequence(String)Utils > --------------------- > > Key: LANG-425 > URL: https://issues.apache.org/jira/browse/LANG-425 > Project: Commons Lang > Issue Type: Wish > Affects Versions: 2.4 > Reporter: Robert Scholte > Priority: Trivial > > Don't you think it's kind of strange to have RandomUtils and RandomStringUtils, but not just the ordinairy SequenceUtils? > I've seen commons-id in the sandbox, but maybe some basics should become part of commons lang. > Most classes of within this package are stateless/static, or they have a state within a method (such as StrBuilder). SequenceUtils can only be static, if it has the startValue. > For example > {code} > SequenceUtils.nextInt(10) > SequenceUtils.nextString("MORE") > SequenceUtils.nextBoolean(true) //ok, this one is stupid but quite clear > SequenceUtils.nextString("C0DE", "0123456789ABCDEF") //next hexadecimal > {code} > any more ideas? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.