Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03FBE8784 for ; Fri, 26 Aug 2011 08:00:13 +0000 (UTC) Received: (qmail 16599 invoked by uid 500); 26 Aug 2011 08:00:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 16343 invoked by uid 500); 26 Aug 2011 07:59:56 -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 16279 invoked by uid 99); 26 Aug 2011 07:59:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 07:59:51 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 07:59:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 380B7D0C44 for ; Fri, 26 Aug 2011 07:59:29 +0000 (UTC) Date: Fri, 26 Aug 2011 07:59:29 +0000 (UTC) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Message-ID: <85787883.17069.1314345569226.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2081536002.33622.1305996407898.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LANG-701) VarArgs Join 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-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell updated LANG-701: ------------------------------- Component/s: (was: lang.text.*) lang.* > VarArgs Join > ------------ > > Key: LANG-701 > URL: https://issues.apache.org/jira/browse/LANG-701 > Project: Commons Lang > Issue Type: New Feature > Components: lang.* > Reporter: Gabriele Kahlout > Priority: Minor > Fix For: 3.x > > Attachments: VarArgJoinTest.java > > > > final String apple = "apple"; > final String banana = "banana"; > final String orange = "orange"; > final String expected = apple + SPACE + banana + SPACE + orange; > final String actual = join(SPACE, apple, banana, orange); > final int expLength = expected.length(); > final int actLength = actual.length(); > assertEquals(expLength, actLength); > assertEquals(expected, actual); > > I missed the functionality of joining strings with the space separator in one line. BTW, why space ' ' not a constant field anywhere? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira