diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2022-03-18 13:29:10 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2022-03-18 13:29:10 +0100 |
commit | dab9be26260d97dd8fdfacaabd358a0500539f33 (patch) | |
tree | c18fd6bf80d085c9734e335198f06dd9259577be /vespajlib | |
parent | 840792ed66c3c484fb0401a1c7cf4a5bec68e2d4 (diff) |
Update abi-spec, and some more non-functional changes
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/text/Utf8.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/text/Utf8.java b/vespajlib/src/main/java/com/yahoo/text/Utf8.java index 91bbb86d3fc..b2b6fa13b70 100644 --- a/vespajlib/src/main/java/com/yahoo/text/Utf8.java +++ b/vespajlib/src/main/java/com/yahoo/text/Utf8.java @@ -111,7 +111,7 @@ public final class Utf8 { * @return Utf8 encoded array */ public static byte[] toBytes(String string) { - // This is just wrapper for String::getBytes. Pre-Java 9 this had an more efficient approach for ASCII-only strings. + // This is just wrapper for String::getBytes. Pre-Java 9 this had a more efficient approach for ASCII-only strings. return string.getBytes(StandardCharsets.UTF_8); } /** @@ -121,7 +121,7 @@ public final class Utf8 { * @return Utf8 encoded array */ public static String toString(byte [] utf8) { - // This is just wrapper for String::new. Pre-Java 9 this had an more efficient approach for ASCII-onlu strings. + // This is just wrapper for String::new. Pre-Java 9 this had a more efficient approach for ASCII-onlu strings. return new String(utf8, StandardCharsets.UTF_8); } |