Cole Greer created TINKERPOP-3122:
-------------------------------------

             Summary: hasId() does not correctly unroll primitive arrays
                 Key: TINKERPOP-3122
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3122
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
            Reporter: Cole Greer


hasId() is configured to unroll lists/arrays of ids which are passed as 
arguments (see TINKERPOP-2863). The current implementation works for Object[] 
and Collections of ids, but fails for primitive arrays (int[]...)

Currently `hasId(new Integer[]{1,2,3}) == hasId(1, 2, 3)` but `hasId(new 
int[]{1,2,3}) != hasId(1, 2, 3)`.

The existing Object[] behaviour should be extended to handle all primitive 
array types as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to