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:
Julia Boes 2019-11-21 09:10:21 +00:00
parent e636c69e61
commit a8a2246158
103 changed files with 416 additions and 460 deletions

View file

@ -66,8 +66,7 @@ import java.util.Collections;
* @see java.nio.channels.DatagramChannel
* @since 1.0
*/
public
class DatagramSocket implements java.io.Closeable {
public class DatagramSocket implements java.io.Closeable {
/**
* Various states of this socket.
*/

View file

@ -34,8 +34,7 @@ package java.net;
* @see java.net.DatagramSocket
* @since 1.3
*/
public
interface DatagramSocketImplFactory {
public interface DatagramSocketImplFactory {
/**
* Creates a new {@code DatagramSocketImpl} instance.
*

View file

@ -35,8 +35,7 @@ import java.io.IOException;
* @author Michael McMahon
* @since 1.5
*/
public
class HttpRetryException extends IOException {
public class HttpRetryException extends IOException {
@java.io.Serial
private static final long serialVersionUID = -9186022286469111381L;

View file

@ -196,8 +196,7 @@ import sun.net.util.IPAddressUtil;
* @see java.net.InetAddress#getLocalHost()
* @since 1.0
*/
public
class InetAddress implements java.io.Serializable {
public class InetAddress implements java.io.Serializable {
@Native static final int PREFER_IPV4_VALUE = 0;
@Native static final int PREFER_IPV6_VALUE = 1;

View file

@ -83,8 +83,7 @@ import java.net.PortUnreachableException;
* @author Pavani Diwanji
* @since 1.1
*/
public
class MulticastSocket extends DatagramSocket {
public class MulticastSocket extends DatagramSocket {
/**
* Used on some platforms to record if an outgoing interface

View file

@ -34,8 +34,7 @@ import java.io.IOException;
* @author Chris Warth
* @since 1.0
*/
public
class ProtocolException extends IOException {
public class ProtocolException extends IOException {
@java.io.Serial
private static final long serialVersionUID = -6098449442062388080L;

View file

@ -52,8 +52,7 @@ import sun.net.PlatformSocketImpl;
* @see java.nio.channels.ServerSocketChannel
* @since 1.0
*/
public
class ServerSocket implements java.io.Closeable {
public class ServerSocket implements java.io.Closeable {
/**
* Various states of this socket.
*/

View file

@ -56,8 +56,7 @@ import java.util.Collections;
* @see java.nio.channels.SocketChannel
* @since 1.0
*/
public
class Socket implements java.io.Closeable {
public class Socket implements java.io.Closeable {
/**
* Various states of this socket.
*/

View file

@ -33,8 +33,7 @@ import java.io.IOException;
* @author Jonathan Payne
* @since 1.0
*/
public
class SocketException extends IOException {
public class SocketException extends IOException {
@java.io.Serial
private static final long serialVersionUID = -5935874303556886934L;

View file

@ -36,8 +36,7 @@ package java.net;
* @see java.net.ServerSocket
* @since 1.0
*/
public
interface SocketImplFactory {
public interface SocketImplFactory {
/**
* Creates a new {@code SocketImpl} instance.
*

View file

@ -33,8 +33,7 @@ import java.io.IOException;
* @author Jonathan Payne
* @since 1.0
*/
public
class UnknownHostException extends IOException {
public class UnknownHostException extends IOException {
@java.io.Serial
private static final long serialVersionUID = -4639126076052875403L;