[precis] Updated PRECIS Java library to RFC 8264, 8265 and 8266

Christian Schudt <christian.schudt@gmx.de> Mon, 11 December 2017 11:42 UTC

Return-Path: <christian.schudt@gmx.de>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 263E8126B6D for <precis@ietfa.amsl.com>; Mon, 11 Dec 2017 03:42:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level:
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zo1xVWgrMKIp for <precis@ietfa.amsl.com>; Mon, 11 Dec 2017 03:42:38 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1BA2F1201FA for <precis@ietf.org>; Mon, 11 Dec 2017 03:42:37 -0800 (PST)
Received: from christihudtsmbp.fritz.box ([94.221.106.221]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M97Nh-1eCUMw3nlV-00CUDR for <precis@ietf.org>; Mon, 11 Dec 2017 12:42:36 +0100
From: Christian Schudt <christian.schudt@gmx.de>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <18C096A5-3EAC-4F93-86BE-725758E22E3D@gmx.de>
Date: Mon, 11 Dec 2017 12:42:34 +0100
To: precis@ietf.org
X-Mailer: Apple Mail (2.3273)
X-Provags-ID: V03:K0:efF5D+Ys65o+K2tsQzcOLlgG0/1ifhGKaURtHnVGEF8ZkoNsrb5 4UXbqhyr+ZjZR1ydFBsHvh9jPrEcY9syaLJ3ak2YT5hSgVL6ltWFOzntlYIwkgkhxFX3x4i ZQAyuYjXNx4wArMtFOtB0vc5A4DagUsEz7/BNlde/N2RqWfNnIu3aLcoN8NRjWPK2LWgOKE SskqD+qlJZYmyedsoAUJQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:D/xJ8+EurA0=:OQL9NHF51rSU0rhHN9/HRz 0xAOFlFvCbC+jluKC/JeHKYoI8CMWZ9y/4+8DIvRVClRvSt75lEkgn6xLjF0QKHm5gKlYWW1D 73CvLCAB98DTYKwrenLL61eaP9kc7xo4e3F7SIDqWjEa18gZLvEHXLIIXI9qaIc99zviNPfoV VxGyHA5Ls22TAZ09GNxAhk9+UGsmJq+XStNOKGQRO7kdMR6qiMe8i1gI7qDhVq4ALWwk3ms/i 3dF/KrnFrMWxrQJVITE2un7/pw4O5xKacAUqaOxxSGnfX5C/NWisyz2tykm7foHenUWo6XdZv SbhBPOTZswe9S2hrfSF+flHd2xP1YkFV1nyyXX3JR8P+SHW/ZKsQsmKYKeSUKs8nJaNo4gXwd kWK9wJr89w4DIB3koF+Ljb1mwOlP6B8Ec5FbGKKFniBuyqzkKQFb2a8DAKHy+pFABDWf3kXzM W/sOv5CoyB31ZNz0QOb7Sri2TZWLVSbDI2SJrXquch9nzlbtXhc3gJnLfr+1Hcele61Z5UVER Ae2BQWHrPKKvXHpnPOYrgCGBDspEcRm71PyuuUc+MAB+1snkcNcZONDL5rw0wohSa+CK8W98T zNPAc270BBettxpp4cMrTh/mtaH+UPNRZR8S1Lk4dmib7ho2eE7JARwkyPEl6amFWlCla4VaL 33jjm85iDphrTOCfBl1ARozK6WffimkOCmUpDcV7M9k0bkoN3Yvr244RwjC+oCj3CbrOP7TMP nonEBioQd+gF+OcuhXy4rXRKd6vLFI/YlqbLqP1MUoGFa+eeji5QNSA8SPK/tCYNl91Sip4ej Ci/VItx0eg8AMR6SiUJnL+u60lpIwGEOMw5Vjx9Ep02wUTVazw=
Archived-At: <https://mailarchive.ietf.org/arch/msg/precis/Udw63HycpKpIE08gFQW_eVu_gio>
Subject: [precis] Updated PRECIS Java library to RFC 8264, 8265 and 8266
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Dec 2017 11:42:40 -0000

Hi,

I’ve updated my PRECIS Java library to the new RFCs 8264, 8265 and 8266.

You can find it on Maven Central:

<dependency>
<groupId>rocks.xmpp</groupId>
<artifactId>precis</artifactId>
<version>1.0.0</version>
</dependency>

https://bitbucket.org/sco0ter/precis

Changes:
- use toLowerCase() for case mapping
- ensure that methods are idempotent
- added toComparableString() method, in order be able to put comparable nicknames into a HashMap.
- prepare build for Java 9 (but it’s still targeted and built for Java 8)
- updated Maven plugins
- added more unit tests
- ensure/increase code quality with Google ErrorProne


Kind regards,
— Christian