summaryrefslogtreecommitdiffstats
path: root/vpp-common/vpp-translate-utils
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-common/vpp-translate-utils')
-rw-r--r--vpp-common/vpp-translate-utils/src/main/java/io/fd/hc2vpp/common/translate/util/ByteDataTranslator.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/vpp-common/vpp-translate-utils/src/main/java/io/fd/hc2vpp/common/translate/util/ByteDataTranslator.java b/vpp-common/vpp-translate-utils/src/main/java/io/fd/hc2vpp/common/translate/util/ByteDataTranslator.java
index c7583fb52..fc511d714 100644
--- a/vpp-common/vpp-translate-utils/src/main/java/io/fd/hc2vpp/common/translate/util/ByteDataTranslator.java
+++ b/vpp-common/vpp-translate-utils/src/main/java/io/fd/hc2vpp/common/translate/util/ByteDataTranslator.java
@@ -45,20 +45,6 @@ public interface ByteDataTranslator {
}
/**
- * Converts int to byte.
- */
- default byte toByte(final int value) {
- return Integer.valueOf(value).byteValue();
- }
-
- /**
- * Converts short to byte.
- */
- default byte toByte(final short value) {
- return Short.valueOf(value).byteValue();
- }
-
- /**
* Checks if provided array contains only zeros
*/
default boolean isArrayZeroed(final byte[] arr) {