Mike Drob created ACCUMULO-2490:
-----------------------------------

             Summary: Pair.fromEntry should accept bounded wild card parameters
                 Key: ACCUMULO-2490
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2490
             Project: Accumulo
          Issue Type: Bug
          Components: client
            Reporter: Mike Drob
            Priority: Minor
             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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to