mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8234335: Remove line break in class declaration in java.base
Remove line break in class declarations where applicable Reviewed-by: rriggs, lancea
This commit is contained in:
parent
e636c69e61
commit
a8a2246158
103 changed files with 416 additions and 460 deletions
|
@ -41,8 +41,7 @@ import jdk.internal.HotSpotIntrinsicCandidate;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class Adler32 implements Checksum {
|
||||
public class Adler32 implements Checksum {
|
||||
|
||||
private int adler = 1;
|
||||
|
||||
|
|
|
@ -40,8 +40,7 @@ import jdk.internal.HotSpotIntrinsicCandidate;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class CRC32 implements Checksum {
|
||||
public class CRC32 implements Checksum {
|
||||
private int crc;
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,8 +37,7 @@ import java.io.IOException;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class CheckedInputStream extends FilterInputStream {
|
||||
public class CheckedInputStream extends FilterInputStream {
|
||||
private Checksum cksum;
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,8 +38,7 @@ import java.io.IOException;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class CheckedOutputStream extends FilterOutputStream {
|
||||
public class CheckedOutputStream extends FilterOutputStream {
|
||||
private Checksum cksum;
|
||||
|
||||
/**
|
||||
|
|
|
@ -31,8 +31,7 @@ package java.util.zip;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class DataFormatException extends Exception {
|
||||
public class DataFormatException extends Exception {
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = 2219632870893641452L;
|
||||
|
||||
|
|
|
@ -39,8 +39,7 @@ import java.io.IOException;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class DeflaterOutputStream extends FilterOutputStream {
|
||||
public class DeflaterOutputStream extends FilterOutputStream {
|
||||
/**
|
||||
* Compressor for this stream.
|
||||
*/
|
||||
|
|
|
@ -41,8 +41,7 @@ import java.io.EOFException;
|
|||
* @since 1.1
|
||||
*
|
||||
*/
|
||||
public
|
||||
class GZIPInputStream extends InflaterInputStream {
|
||||
public class GZIPInputStream extends InflaterInputStream {
|
||||
/**
|
||||
* CRC-32 for uncompressed data.
|
||||
*/
|
||||
|
|
|
@ -35,8 +35,7 @@ import java.io.IOException;
|
|||
* @since 1.1
|
||||
*
|
||||
*/
|
||||
public
|
||||
class GZIPOutputStream extends DeflaterOutputStream {
|
||||
public class GZIPOutputStream extends DeflaterOutputStream {
|
||||
/**
|
||||
* CRC-32 of uncompressed data.
|
||||
*/
|
||||
|
|
|
@ -39,8 +39,7 @@ import java.io.EOFException;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class InflaterInputStream extends FilterInputStream {
|
||||
public class InflaterInputStream extends FilterInputStream {
|
||||
/**
|
||||
* Decompressor for this stream.
|
||||
*/
|
||||
|
|
|
@ -41,8 +41,7 @@ import static java.util.zip.ZipConstants64.*;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class ZipEntry implements ZipConstants, Cloneable {
|
||||
public class ZipEntry implements ZipConstants, Cloneable {
|
||||
|
||||
String name; // entry name
|
||||
long xdostime = -1; // last modification time (in extended DOS time,
|
||||
|
|
|
@ -35,8 +35,7 @@ import java.io.IOException;
|
|||
* @since 1.1
|
||||
*/
|
||||
|
||||
public
|
||||
class ZipException extends IOException {
|
||||
public class ZipException extends IOException {
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = 8000196834066748623L;
|
||||
|
||||
|
|
|
@ -87,8 +87,7 @@ import static java.util.zip.ZipUtils.*;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class ZipFile implements ZipConstants, Closeable {
|
||||
public class ZipFile implements ZipConstants, Closeable {
|
||||
|
||||
private final String name; // zip file name
|
||||
private volatile boolean closeRequested;
|
||||
|
|
|
@ -42,8 +42,7 @@ import static java.util.zip.ZipUtils.*;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class ZipInputStream extends InflaterInputStream implements ZipConstants {
|
||||
public class ZipInputStream extends InflaterInputStream implements ZipConstants {
|
||||
private ZipEntry entry;
|
||||
private int flag;
|
||||
private CRC32 crc = new CRC32();
|
||||
|
|
|
@ -43,8 +43,7 @@ import sun.security.action.GetPropertyAction;
|
|||
* @author David Connelly
|
||||
* @since 1.1
|
||||
*/
|
||||
public
|
||||
class ZipOutputStream extends DeflaterOutputStream implements ZipConstants {
|
||||
public class ZipOutputStream extends DeflaterOutputStream implements ZipConstants {
|
||||
|
||||
/**
|
||||
* Whether to use ZIP64 for zip files with more than 64k entries.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue