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 3500817529 for ; Sat, 4 Apr 2015 14:37:34 +0000 (UTC) Received: (qmail 6829 invoked by uid 500); 4 Apr 2015 14:37:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 6741 invoked by uid 500); 4 Apr 2015 14:37:33 -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 6729 invoked by uid 99); 4 Apr 2015 14:37:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2015 14:37:33 +0000 Date: Sat, 4 Apr 2015 14:37:33 +0000 (UTC) From: "Eitan Raviv (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FUNCTOR-30) A catalog of reusable, composable, injectable, interface-compliant, immutable Predicates based on commons.lang3 utilities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Eitan Raviv created FUNCTOR-30: ---------------------------------- Summary: A catalog of reusable, composable, injectable, interface-compliant, immutable Predicates based on commons.lang3 utilities Key: FUNCTOR-30 URL: https://issues.apache.org/jira/browse/FUNCTOR-30 Project: Commons Functor Issue Type: Wish Affects Versions: 1.0 Reporter: Eitan Raviv Priority: Minor Fix For: 1.0 The Predicate framework does not propose meaningful basic implementations for queries that have been deemed common enough by commons.lang3 to merit numerous utility methods (actually functions). This leaves developers with the work-intensive, error-prone, low-level task of recreating objectified variants of these utilities whenever they wish to pass such queries around in code. Moreover, the lack of these implementations encourages developers to use static code, which proliferates as a convention into their application code and may encourage the opposite of 'clean code' (and I have seen a truck-load of that). I would like to see the ASF set an example and provide a working set of basic components for developers OOTB. I am submitting an initial draft patch for a review of my basic idea. If I receive an approval, I will create a complete patch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)