Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
None
-
None
-
None
Description
The class org.apache.accumulo.core.data.ArrayByteSequence has a constructor that accepts a String, as well as a toString() method. Both use the platform default encoding to convert from characters to bytes and back, which can cause problems. They should explicitly use Constants.UTF8 for conversion to ensure consistency across platforms.
Attachments
Issue Links
- duplicates
-
ACCUMULO-2292 Fix findbugs/pmd errors for 1.5.1
- Resolved
- relates to
-
ACCUMULO-836 Specify Charset on getBytes() call for String objects.
- Resolved