Return-Path: X-Original-To: apmail-roller-commits-archive@www.apache.org Delivered-To: apmail-roller-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6D3710488 for ; Tue, 25 Mar 2014 21:19:21 +0000 (UTC) Received: (qmail 36169 invoked by uid 500); 25 Mar 2014 21:19:20 -0000 Delivered-To: apmail-roller-commits-archive@roller.apache.org Received: (qmail 36062 invoked by uid 500); 25 Mar 2014 21:19:19 -0000 Mailing-List: contact commits-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@roller.apache.org Delivered-To: mailing list commits@roller.apache.org Received: (qmail 35882 invoked by uid 99); 25 Mar 2014 21:19:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2014 21:19:16 +0000 Date: Tue, 25 Mar 2014 21:19:16 +0000 (UTC) From: "Glen Mazza (JIRA)" To: commits@roller.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ROL-1994) Switch to Apache Commons Collections 4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Glen Mazza created ROL-1994: ------------------------------- Summary: Switch to Apache Commons Collections 4.0 Key: ROL-1994 URL: https://issues.apache.org/jira/browse/ROL-1994 Project: Apache Roller Issue Type: Task Affects Versions: 5.1 Reporter: Glen Mazza Assignee: Roller Unassigned Priority: Minor In five places we're using a nongeneric "ReverseComparator()" causing IntelliJ idea complaints that we're doing an unchecked assignment. Commons Collections 4 supports generic types: https://commons.apache.org/proper/commons-collections/release_4_0.html, https://commons.apache.org/proper/commons-collections/javadocs/api-release/org/apache/commons/collections4/comparators/ReverseComparator.html. A better fix might be to stop using this library altogether and just rely on what the JDK provides, if possible. -- This message was sent by Atlassian JIRA (v6.2#6252)