Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1191910718 for ; Sat, 22 Mar 2014 01:06:49 +0000 (UTC) Received: (qmail 36557 invoked by uid 500); 22 Mar 2014 01:06:46 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 36520 invoked by uid 500); 22 Mar 2014 01:06:46 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 36487 invoked by uid 99); 22 Mar 2014 01:06:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2014 01:06:45 +0000 Date: Sat, 22 Mar 2014 01:06:45 +0000 (UTC) From: "Sean Busbey (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (ACCUMULO-2490) Pair.fromEntry should accept bounded wild card parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey reopened ACCUMULO-2490: ----------------------------------- Currently breaks test compile step on master with jdk 1.6.0_65 > Pair.fromEntry should accept bounded wild card parameters > --------------------------------------------------------- > > Key: ACCUMULO-2490 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2490 > Project: Accumulo > Issue Type: Improvement > Components: client > Reporter: Mike Drob > Assignee: Christopher Tubbs > Priority: Minor > Labels: API, newbie > Fix For: 1.7.0 > > > The following \[psuedo-]code should be legal: > {code} > Entry entry = new Entry(10, "IO") > Pair pair = Pair.fromEntry(entry) > {code} > This is possible if we replace the generic parameters with bounded wild cards. > (Effective Java SE; Item 28) -- This message was sent by Atlassian JIRA (v6.2#6252)