Navigation Menu

Skip to content

Commit

Permalink
Fix misplaced 'new' keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
driftx committed Feb 13, 2012
1 parent cb0efd0 commit 651ca52
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -491,7 +491,7 @@ private ByteBuffer objToBB(Object o)
if (o == null)
return (ByteBuffer)o;
if (o instanceof java.lang.String)
return new ByteBuffer.wrap(DataByteArray((String)o).get());
return ByteBuffer.wrap(new DataByteArray((String)o).get());
if (o instanceof Integer)
return IntegerType.instance.decompose((BigInteger)o);
if (o instanceof Long)
Expand Down

0 comments on commit 651ca52

Please sign in to comment.