summaryrefslogtreecommitdiffstats
path: root/luni/src/main/java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-04-22 14:07:02 +0100
committerNarayan Kamath <narayan@google.com>2015-04-22 13:50:01 +0000
commit3f7c674bd1d220d1a8c149b5658145171c28094f (patch)
tree1fe9d19690461a1c7d6a5fe0967f7b9fcc29da08 /luni/src/main/java
parent298bf64cb09d9e11f99aeda8a7a0a1f709ec91f9 (diff)
downloadlibcore-3f7c674bd1d220d1a8c149b5658145171c28094f.zip
libcore-3f7c674bd1d220d1a8c149b5658145171c28094f.tar.gz
libcore-3f7c674bd1d220d1a8c149b5658145171c28094f.tar.bz2
Move java.nio.Charsets to libcore.util.
This isn't public API, and isn't related to NIO. It's only ever used by java.lang.String. bug: 10898787 Change-Id: I4e194406746b88ba7268c2553e467e7e05400b40
Diffstat (limited to 'luni/src/main/java')
-rw-r--r--luni/src/main/java/libcore/util/CharsetUtils.java (renamed from luni/src/main/java/java/nio/charset/Charsets.java)6
1 files changed, 3 insertions, 3 deletions
diff --git a/luni/src/main/java/java/nio/charset/Charsets.java b/luni/src/main/java/libcore/util/CharsetUtils.java
index 3dede7a..2e426c4 100644
--- a/luni/src/main/java/java/nio/charset/Charsets.java
+++ b/luni/src/main/java/libcore/util/CharsetUtils.java
@@ -14,14 +14,14 @@
* limitations under the License.
*/
-package java.nio.charset;
+package libcore.util;
/**
* Various special-case charset conversions (for performance).
*
* @hide internal use only
*/
-public final class Charsets {
+public final class CharsetUtils {
/**
* Returns a new byte array containing the bytes corresponding to the given characters,
* encoded in US-ASCII. Unrepresentable characters are replaced by (byte) '?'.
@@ -75,6 +75,6 @@ public final class Charsets {
*/
public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars);
- private Charsets() {
+ private CharsetUtils() {
}
}