[ 
https://issues.apache.org/jira/browse/CASSANDRA-3665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205977#comment-13205977
 ] 

Dave Brosius edited comment on CASSANDRA-3665 at 2/11/12 2:14 AM:
------------------------------------------------------------------

Also ByteBufferUtil pulls in a dependency on commons-lang for the 
inconsequential

    public static final ByteBuffer EMPTY_BYTE_BUFFER = 
ByteBuffer.wrap(ArrayUtils.EMPTY_BYTE_ARRAY);

which seems like a pitty.

could just be

    public static final ByteBuffer EMPTY_BYTE_BUFFER = ByteBufferUtil.bytes("");

                
      was (Author: [email protected]):
    Also ByteBufferUtils pulls in a dependency on commons-lang for the 
inconsequential

    public static final ByteBuffer EMPTY_BYTE_BUFFER = 
ByteBuffer.wrap(ArrayUtils.EMPTY_BYTE_ARRAY);

which seems like a pitty.
                  
> [patch] allow for clientutil.jar to be used without the base cassandra.jar 
> for client applications
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3665
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3665
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.0.6
>            Reporter: Dave Brosius
>            Assignee: Eric Evans
>             Fix For: 1.0.8
>
>         Attachments: fix_client_util_jar.diff, 
> v1-0001-CASSANDRA-3665-test-to-expose-missing-dependencies.txt, 
> v1-0002-eliminate-dependency-on-FBUtilities.txt
>
>
> clientutil.jar can't be run from a client by itself without the presence of 
> cassandra.jar which seems wrong. Added needed classes to run by itself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to