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 84868200CC2 for ; Wed, 5 Jul 2017 17:42:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5E602163AD9; Wed, 5 Jul 2017 15:42:15 +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 A141E163AD8 for ; Wed, 5 Jul 2017 17:42:14 +0200 (CEST) Received: (qmail 57860 invoked by uid 500); 5 Jul 2017 15:42:13 -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 57848 invoked by uid 99); 5 Jul 2017 15:42:13 -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, 05 Jul 2017 15:42:13 +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 E7389180157 for ; Wed, 5 Jul 2017 15:42:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 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, RCVD_IN_SORBS_SPAM=0.5, 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 HF8rqOPU-JOA for ; Wed, 5 Jul 2017 15:42:11 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4CFCB5FCB0 for ; Wed, 5 Jul 2017 15:42:11 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id z78so95467146lff.0 for ; Wed, 05 Jul 2017 08:42:11 -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=5L47pU0X7HcEWPgvBCKDa41yI5D61xLZ3MdxjZ9rwiY=; b=CGDCYn+L4Jz9mkCqsJHgPpf1Iyz006JMXiTaDPHmvTBl7htBft4Fka8T+Vh7ZdkQec 6jdvgFOFHw2gVvQ0+oMUDn+dW3Q8/1kuHchCZRvr5oeu3VT4JsWX5yKIzp9J561KNtAg 18HIwu3sSIo0FIGByqQXLcxCDy5jEntTO20jgNayx9dEVU3p58CvSA7K6JT3I7O3oZww AqwI4L7ObROYdZLvecii/oglrHz/lwLILfGKyPJDpqySX95r9yuecHZMneUwQgKVA5Ul REHP4NRhE65IzJG7aPL+Vu+62KlSE0Nvh0gww8Hcw7YgAkQMTNjs6dTvIPdRSFXBflo8 kUFg== 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=5L47pU0X7HcEWPgvBCKDa41yI5D61xLZ3MdxjZ9rwiY=; b=rli9R5MrGVoBGBc05CxoVBCBNJL/qPLKZRNvo3NGzLde59zovV7L6x5UnHyRHyPjNe TuSuycfcv/sWcs+xf/svEGw1xpCtMVvOAFVmEP/qGm+MOqJlXr0TmsJFvBf8DQqL2PCc BcoQIHHpsMzqrlyiIFPMvUNY/cYOPHUWhpZCQq/k/NnveMolNM1KhERGv3l3uMeEoXrV jOIRyRHDDlatzAcBHQAF+1U/qNPq+vbDV0Y+soRiL0cUzLNw2IPBIPNLvPrDh2Xs94LW YXjK5F6pSXG2TSpinJ6f8vkxZ/j/IwP/kpIO0cKK/nVduxBp3TnQ6s1jJpDlK0hvGA6C w2lg== X-Gm-Message-State: AKS2vOyGqc6oIwPDThOkblZ4aLYnvcoAESrcSUvExcSkd0ZBEf7Cd0sl Bu7yqKIrAPYB2iSud7ryXOWrmhD9aA== X-Received: by 10.46.69.198 with SMTP id s189mr13823817lja.0.1499269330334; Wed, 05 Jul 2017 08:42:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.56.65 with HTTP; Wed, 5 Jul 2017 08:42:09 -0700 (PDT) In-Reply-To: References: From: Matt Sicker Date: Wed, 5 Jul 2017 10:42:09 -0500 Message-ID: Subject: Re: [lang] Applying IntelliJ IDEA refactorings To: Commons Developers List Content-Type: multipart/alternative; boundary="001a114b1850db7965055393d729" archived-at: Wed, 05 Jul 2017 15:42:27 -0000 --001a114b1850db7965055393d729 Content-Type: text/plain; charset="UTF-8" I like the idea myself at least, though I'm not sure if it conflicts with any coding styleguides established. On 4 July 2017 at 18:18, Jonathan Bluett-Duncan wrote: > Hi all, > > I'm interested in going through commons-lang with IntelliJ IDEA and > applying small refactorings to make the code base easier to read and/or > more performant (and also make IntelliJ IDEA itself report less warnings). > > Is this something that the [lang] team would find useful? > > Examples of refactorings that I could apply include: > > - Replace manual array-to-collection copy operations with > `Collections.addAll()`. > - Replace simple `String{Buffer,Builder}` usages with direct `String` > concatenations or `String.format()`. > - Simplifying boolean expressions like `obj instanceof CharRange == > false` to `!(obj instanceof CharRange)`. > > > Cheers, > Jonathan > -- Matt Sicker --001a114b1850db7965055393d729--