aboutsummaryrefslogtreecommitdiffstats
path: root/jrt
diff options
context:
space:
mode:
Diffstat (limited to 'jrt')
-rw-r--r--jrt/src/com/yahoo/jrt/DataValue.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jrt/src/com/yahoo/jrt/DataValue.java b/jrt/src/com/yahoo/jrt/DataValue.java
index 15b9ce3df13..17a1f374a88 100644
--- a/jrt/src/com/yahoo/jrt/DataValue.java
+++ b/jrt/src/com/yahoo/jrt/DataValue.java
@@ -10,7 +10,7 @@ import java.nio.ByteBuffer;
**/
public class DataValue extends Value
{
- private byte[] value;
+ private final byte[] value;
/**
* Create from a Java-type value
@@ -24,7 +24,7 @@ public class DataValue extends Value
*
* @param src buffer where the value is stored
**/
- DataValue(ByteBuffer src) {
+ public DataValue(ByteBuffer src) {
int size = src.getInt();
value = new byte[size];
src.get(value);