[
https://issues.apache.org/jira/browse/TINKERPOP-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430944#comment-15430944
]
Bryn Cooke commented on TINKERPOP-1413:
---------------------------------------
I don't understand why the IDs need to be compared as longs. Why are the IDs
not compared using equals?
> PropertiesTest#g_V_hasXageX_propertiesXnameX assumes that ids are longs
> -----------------------------------------------------------------------
>
> Key: TINKERPOP-1413
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1413
> Project: TinkerPop
> Issue Type: Test
> Components: process
> Reporter: Bryn Cooke
>
> This assert assumes that Ids are longs.
> {noformat}
> assertEquals(Long.valueOf(convertToVertex(graph,
> vertexProperty.value()).properties("name").next().id().toString()),
> Long.valueOf(vertexProperty.id().toString()));
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)