diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-05-08 23:36:04 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-05-08 23:36:04 +0200 |
commit | 67c45347c0edff236eb3471a3318dfb8401bbab2 (patch) | |
tree | e9a7cc4376a0d7cd2c6bb6ca02cf4baa00405391 /jrt | |
parent | 8d0a77b19115d1db40cf04a38808d06a03283dd6 (diff) |
Do an explicit copy.
Diffstat (limited to 'jrt')
-rw-r--r-- | jrt/src/com/yahoo/jrt/DataValue.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jrt/src/com/yahoo/jrt/DataValue.java b/jrt/src/com/yahoo/jrt/DataValue.java index 17a1f374a88..8739e4b3817 100644 --- a/jrt/src/com/yahoo/jrt/DataValue.java +++ b/jrt/src/com/yahoo/jrt/DataValue.java @@ -24,7 +24,7 @@ public class DataValue extends Value * * @param src buffer where the value is stored **/ - public DataValue(ByteBuffer src) { + DataValue(ByteBuffer src) { int size = src.getInt(); value = new byte[size]; src.get(value); |