Fix OrderByColumnSpec cacheKey.

This commit is contained in:
Gian Merlino 2014-08-07 06:53:34 -07:00
parent e980904470
commit 889c85c64f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class OrderByColumnSpec
final byte[] dimensionBytes = dimension.getBytes();
final byte[] directionBytes = direction.name().getBytes();
return ByteBuffer.allocate(dimensionBytes.length + dimensionBytes.length)
return ByteBuffer.allocate(dimensionBytes.length + directionBytes.length)
.put(dimensionBytes)
.put(directionBytes)
.array();