Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 67463 invoked from network); 1 Nov 2010 13:09:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 13:09:17 -0000 Received: (qmail 79878 invoked by uid 500); 1 Nov 2010 13:09:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79683 invoked by uid 500); 1 Nov 2010 13:09:46 -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 79675 invoked by uid 99); 1 Nov 2010 13:09:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 13:09:45 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 13:09:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA1D9ObP007441 for ; Mon, 1 Nov 2010 13:09:24 GMT Message-ID: <4551384.173041288616964932.JavaMail.jira@thor> Date: Mon, 1 Nov 2010 09:09:24 -0400 (EDT) From: "Nicklas Holm (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (LANG-655) Add StringUtils.defaultIfBlank() In-Reply-To: <32516985.122031288278021637.JavaMail.jira@thor> 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-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926977#action_12926977 ] Nicklas Holm commented on LANG-655: ----------------------------------- I have attached a patch for this. > Add StringUtils.defaultIfBlank() > -------------------------------- > > Key: LANG-655 > URL: https://issues.apache.org/jira/browse/LANG-655 > Project: Commons Lang > Issue Type: Wish > Components: lang.* > Affects Versions: 2.5 > Reporter: Adam Dyga > Priority: Minor > Attachments: StringUtils.java.diff > > > Add StringUtils.defaultIfBlank(String str) and StringUtils.defaultIfBlank(String str, String defaultStr) methods, similar to defaultIfEmpty() . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.