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 65A711770C for ; Wed, 8 Oct 2014 07:30:34 +0000 (UTC) Received: (qmail 5174 invoked by uid 500); 8 Oct 2014 07:30:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 5090 invoked by uid 500); 8 Oct 2014 07:30:34 -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 5078 invoked by uid 99); 8 Oct 2014 07:30:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 07:30:33 +0000 Date: Wed, 8 Oct 2014 07:30:33 +0000 (UTC) From: =?utf-8?Q?Fr=C3=A9d=C3=A9ric_JECKER_=28JIRA=29?= To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LANG-1043) isAllUpperCase should only check Alpha characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Fr=C3=A9d=C3=A9ric JECKER created LANG-1043: ------------------------------------- Summary: isAllUpperCase should only check Alpha characters Key: LANG-1043 URL: https://issues.apache.org/jira/browse/LANG-1043 Project: Commons Lang Issue Type: Bug Components: lang.* Affects Versions: 3.3.2 Reporter: Fr=C3=A9d=C3=A9ric JECKER Currently, isAllUpperCase checks character by character if the current char= acter is UpperCase or not using Character.isUpperCase(). The problem is that characters like spaces aren't considered as uppercase c= haracters. IMHO, isAllUpperCase should only check the state of alpha characters so tha= t : - StringUtils.isAllUpperCase("ABC DEF GHI") =3D true (false currently) - StringUtils.isAllUpperCase("ABC / DEF") =3D true (false currently) -- This message was sent by Atlassian JIRA (v6.3.4#6332)