Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C6E22200BFA for ; Thu, 12 Jan 2017 15:18:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C5A37160B4F; Thu, 12 Jan 2017 14:18:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48A9B160B40 for ; Thu, 12 Jan 2017 15:18:53 +0100 (CET) Received: (qmail 40886 invoked by uid 500); 12 Jan 2017 14:18:52 -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 40829 invoked by uid 99); 12 Jan 2017 14:18:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2017 14:18:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 362412C03DC for ; Thu, 12 Jan 2017 14:18:52 +0000 (UTC) Date: Thu, 12 Jan 2017 14:18:52 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEXT-58) All uppercase methods? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 12 Jan 2017 14:18:54 -0000 [ https://issues.apache.org/jira/browse/TEXT-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821092#comment-15821092 ] Gilles commented on TEXT-58: ---------------------------- Sorry, I was referring to [EntityArrays.java|https://github.com/apache/commons-text/blob/master/src/main/java/org/apache/commons/text/translate/EntityArrays.java]. bq. there's virtually no point in ever declaring a static final array. It protects against assignment (but not change of elements). > All uppercase methods? > ---------------------- > > Key: TEXT-58 > URL: https://issues.apache.org/jira/browse/TEXT-58 > Project: Commons Text > Issue Type: Improvement > Reporter: Gilles > Priority: Trivial > Labels: api, convention, standard > Fix For: 1.0 > > > Class {{o.a.c.text.translate.EntityArrays}} contains methods names with all uppercase letters (and underscores). > I understand that they create copies of _static_ constants (although even that is not true since they return arrays!), but are you sure you want to release a new component that does not follow the usual convention? > I understand these comes from LANG but isn't it the right time to fix the API? -- This message was sent by Atlassian JIRA (v6.3.4#6332)