[
https://issues.apache.org/jira/browse/ACCUMULO-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944128#comment-13944128
]
ASF subversion and git services commented on ACCUMULO-2490:
-----------------------------------------------------------
Commit 8a363c3e3695d8f1675b48d8308a7c512eef1b12 in accumulo's branch
refs/heads/master from [~busbey]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=8a363c3 ]
ACCUMULO-2490 Correct test invocation Pair.fromEntry. Add test for
non-parameterized fromEntry call
> 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<Integer, String> entry = new Entry(10, "IO")
> Pair<Object,Object> 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)