[
https://issues.apache.org/jira/browse/CASSANDRA-9543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983746#comment-14983746
]
Jeremiah Jordan edited comment on CASSANDRA-9543 at 10/31/15 2:12 AM:
----------------------------------------------------------------------
[~snazy] I finished my updated branch here:
https://github.com/JeremiahDJordan/cassandra/tree/updatejavadriver
I also back ported the new test from CASSANDRA-10367, with a small modification
because the 2.2 java driver returns an [UnmodifiableCollection from
deserialize|https://github.com/datastax/java-driver/blob/2.2/driver-core/src/main/java/com/datastax/driver/core/TypeCodec.java#L1610-1610]
so you have to make a copy of the input list to add a new item to it.
{noformat}
AS 'java.util.ArrayList t = new java.util.ArrayList(s); if (i != null)
t.add(String.valueOf(i)); return t;'
{noformat}
Tests should show up here once cassci gets to running them:
http://cassci.datastax.com/view/Dev/view/zanson/
Like yours this is all back ports of stuff already in 3.0 and trunk, so only a
2.2 branch is provided.
was (Author: jjordan):
[~snazy] I finished my updated branch here:
https://github.com/JeremiahDJordan/cassandra/tree/updatejavadriver
I also back ported the new test from CASSANDRA-10367, with a small modification
because the 2.2 java driver returns an [UnmodifiableCollection from
deserialize|https://github.com/datastax/java-driver/blob/2.2/driver-core/src/main/java/com/datastax/driver/core/TypeCodec.java#L1610-1610]
so you have to make a copy of the input list to add a new item to it.
{noformat}
AS 'java.util.ArrayList t = new java.util.ArrayList(s); if (i != null)
t.add(String.valueOf(i)); return t;'
{noformat}
> Integrate release 2.2 java driver
> ---------------------------------
>
> Key: CASSANDRA-9543
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9543
> Project: Cassandra
> Issue Type: Task
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Fix For: 2.2.x
>
>
> Follow-up of CASSANDRA-9493.
> Hint: cleanup {{build.xml}} for commented out {{çassandra-driver-core}} maven
> dependencies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)