Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 19400 invoked from network); 20 Oct 2009 16:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 16:32:22 -0000 Received: (qmail 55153 invoked by uid 500); 20 Oct 2009 16:32:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 55059 invoked by uid 500); 20 Oct 2009 16:32:22 -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 55049 invoked by uid 99); 20 Oct 2009 16:32:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 16:32:22 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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, 20 Oct 2009 16:32:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9F1E9234C4B6 for ; Tue, 20 Oct 2009 09:31:59 -0700 (PDT) Message-ID: <123049509.1256056319650.JavaMail.jira@brutus> Date: Tue, 20 Oct 2009 16:31:59 +0000 (UTC) From: "Robert Scholte (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (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-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte closed LANG-425. ------------------------------- Resolution: Won't Fix Ok, I'll close it myself. With java5 this has become less interesting, maybe even useless. There are two reasons: - autoboxing (although I don't know if I really like this feature) - the atomic toolkit ( http://www.j2ee.me/j2se/1.5.0/docs/api/java/util/concurrent/atomic/package-summary.html ) > 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 > Fix For: 3.0 > > > 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.