< prev index next >
src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipCoder.java
Print this page
rev 53034 : 8215472: Cleanups in implementation classes of jdk.zipfs and tests
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -23,28 +23,27 @@
* questions.
*/
package jdk.nio.zipfs;
+import static java.nio.charset.StandardCharsets.ISO_8859_1;
+import static java.nio.charset.StandardCharsets.UTF_8;
+
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CharsetEncoder;
import java.nio.charset.CoderResult;
import java.nio.charset.CodingErrorAction;
import java.util.Arrays;
-import static java.nio.charset.StandardCharsets.UTF_8;
-import static java.nio.charset.StandardCharsets.ISO_8859_1;
-
/**
* Utility class for zipfile name and comment decoding and encoding
*
- * @author Xueming Shen
+ * @author Xueming Shen
*/
-
class ZipCoder {
static class UTF8 extends ZipCoder {
UTF8() {
super(UTF_8);
< prev index next >