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 5C7E9200CB5 for ; Wed, 12 Jul 2017 21:19:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53A8916A654; Wed, 12 Jul 2017 19:19:45 +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 9D19716A64F for ; Wed, 12 Jul 2017 21:19:44 +0200 (CEST) Received: (qmail 43051 invoked by uid 500); 12 Jul 2017 19:19:38 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 43038 invoked by uid 99); 12 Jul 2017 19:19:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 19:19:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 03EE019623D for ; Wed, 12 Jul 2017 19:19:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HO3j_b5LOgzg for ; Wed, 12 Jul 2017 19:19:36 +0000 (UTC) Received: from mail-ua0-f179.google.com (mail-ua0-f179.google.com [209.85.217.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 07CAF618AC for ; Wed, 12 Jul 2017 19:19:31 +0000 (UTC) Received: by mail-ua0-f179.google.com with SMTP id g13so1767897uaj.0 for ; Wed, 12 Jul 2017 12:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=b5kucqSJemwXBT0nPU9DIlyS/fcCxrKPN5b8BrRZt4o=; b=oeJAmvDCrAjisdaySUFsxQh8M75lrGeGL46qeYGn5VL3lhYgd2my12OKwokOiUTRcy z5MmQOZnPFuyfcs+vYLJ+bQz6aSZX+JcAJQYI9A7hMCvF6TcMkHoBj9c8nxbaGlXt3+P rBeoVpOMagRPGbFrREresl7/3xqCmimdC6901MoEvAm6WtfGwb2I3zx+PKd2FVUceqRV KZYCHjVsPMCPfJ6ysG0z2EC5ANqs0UuN8qxYQxg0j5t+EQVxuEHgBnT7beWBGyo+2aRW 9bo07yl/n3DFZLXnL2K99aooWAJhzoud0rya1etc3SUhzeXYiN3Mr/tmDmUi54AOVkNu VZYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=b5kucqSJemwXBT0nPU9DIlyS/fcCxrKPN5b8BrRZt4o=; b=sH2N76HN5OqUSNRvZsMQlv9Xrbi2XLg9+I+Ir0AHoTgT/WuX5xbMp2sbneZkS+UBa+ OLNnhpgD5do8k7O3ylaf9EkhM0GAgkZEVCCuioQGv/nhOIFUW0f7yqumWl7WStnQvdSA hpY1DmPgy55uIDythUPsOl9UH/C8Hqchq/f9b6YDVEUPDrYyESM6RtjD/VhBdEAj39ul VCDSl1RFn+sPv4iNIWmY1gTLiyXpGqSnfSVWQ8sNP96SEPm4gLpyNRxO86/pmUgittgm zx2U2+NJJxzv5g4hsfKozGODYkskjs6NIJYmsCrjhjpMUlmZRXOq9vTmsmmHZyR5KUC0 rv2w== X-Gm-Message-State: AIVw113Myqgt/cuGez0BCxLWtSEFJPIEIGyHNpIfA8TbpnyszON3UO0Z +6cd7VDYsZ4nFHaVKxBCuCTQ/2wKHGDZ X-Received: by 10.159.50.137 with SMTP id l9mr52564uab.89.1499887169749; Wed, 12 Jul 2017 12:19:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.79.236 with HTTP; Wed, 12 Jul 2017 12:19:29 -0700 (PDT) In-Reply-To: References: From: Gary Gregory Date: Wed, 12 Jul 2017 12:19:29 -0700 Message-ID: Subject: Re: [compress] HasCharset is a bad name To: Commons Developers List Content-Type: multipart/alternative; boundary="f403045dcb58f4c7fc055423b1d8" archived-at: Wed, 12 Jul 2017 19:19:45 -0000 --f403045dcb58f4c7fc055423b1d8 Content-Type: text/plain; charset="UTF-8" On Wed, Jul 12, 2017 at 6:32 AM, Benedikt Ritter wrote: > Hello, > > > Am 11.07.2017 um 06:55 schrieb Simon Spero : > > > > Since it's an interface, I could change it to IHasACharset? > > > > Or If you prefer I could rename it to YouGiveLove? (Lucky Millenials- > you > > aren't headsonged) > > I recommend to leave this kind of irony out of mailing list communication. > This is probably your personal style of communicating, but it is hard to > understand in remote communication with people from other cultural > backgrounds. It makes communication more boring to remove this kind of > sugar, but it helps to avoid misunderstandings. > I suppose Slack would work... G > > Cheers, > Benedikt > > > > > The name follows a pattern for interfaces of this sort, which are > basically > > retrofit markers for the presence of property, (with associated getters). > > I've seen it used in other projects, but it might be bleed through from > > some OWL / RDF patterns. > > > > I'm not in love with the pattern but it required the least thought :) > > > > (java 8 makes this sort of interface moot, as the accessor can be added > as > > a default method. It is even be a candidate for the proper use of > Optional. > > ) > > > > On Jul 5, 2017 1:14 PM, "Gary Gregory" wrote: > > > > Hi All, > > > > The new interface name HasCharset is pretty bad IMO. > > > > CharsetProvider is the obvious (to me) better name even though there > > already is a class called java.nio.charset.spi.CharsetProvider. > > > > Alternatives could be CharsetContainer, CharsetAccessor, CharsetGetter, ? > > > > Gary > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --f403045dcb58f4c7fc055423b1d8--