ContentHandlerFactory.java, [...]: Removed redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de> * java/net/ContentHandlerFactory.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/URLStreamHandlerFactory.java: Removed redundant modifiers. From-SVN: r72353
This commit is contained in:
parent
cb2446831a
commit
7afb0eea2b
6 changed files with 29 additions and 18 deletions
|
@ -60,80 +60,80 @@ public interface SocketOptions
|
|||
* Option id for the SO_KEEPALIVE value
|
||||
* @since 1.3
|
||||
*/
|
||||
static final int SO_KEEPALIVE = 0x8;
|
||||
int SO_KEEPALIVE = 0x8;
|
||||
|
||||
/**
|
||||
* Option id for the SO_LINGER value
|
||||
*/
|
||||
static final int SO_LINGER = 0x80; // 128
|
||||
int SO_LINGER = 0x80; // 128
|
||||
|
||||
/**
|
||||
* Option id for the SO_TIMEOUT value
|
||||
*/
|
||||
static final int SO_TIMEOUT = 0x1006; // 4102
|
||||
int SO_TIMEOUT = 0x1006; // 4102
|
||||
|
||||
/**
|
||||
* Retrieve the local address to which the socket is bound.
|
||||
*/
|
||||
static final int SO_BINDADDR = 0x0F; // 15
|
||||
int SO_BINDADDR = 0x0F; // 15
|
||||
|
||||
/**
|
||||
* Option id for the send buffer size
|
||||
* @since 1.2
|
||||
*/
|
||||
static final int SO_SNDBUF = 0x1001; // 4097
|
||||
int SO_SNDBUF = 0x1001; // 4097
|
||||
|
||||
/**
|
||||
* Option id for the receive buffer size
|
||||
* @since 1.2
|
||||
*/
|
||||
static final int SO_RCVBUF = 0x1002; // 4098
|
||||
int SO_RCVBUF = 0x1002; // 4098
|
||||
|
||||
/**
|
||||
* Sets the SO_REUSEADDR parameter on a socket
|
||||
*/
|
||||
static final int SO_REUSEADDR = 0x04; // 4
|
||||
int SO_REUSEADDR = 0x04; // 4
|
||||
|
||||
/**
|
||||
* Sets SO_BROADCAST for a socket
|
||||
* @since 1.4
|
||||
*/
|
||||
static final int SO_BROADCAST = 0x20; // 32
|
||||
int SO_BROADCAST = 0x20; // 32
|
||||
|
||||
/**
|
||||
* Sets SO_OOBINLINE for a socket
|
||||
* @since 1.4
|
||||
*/
|
||||
static final int SO_OOBINLINE = 0x1003; // 4099
|
||||
int SO_OOBINLINE = 0x1003; // 4099
|
||||
|
||||
/**
|
||||
* Option id for the TCP_NODELAY value
|
||||
*/
|
||||
static final int TCP_NODELAY = 0x01; // 1
|
||||
int TCP_NODELAY = 0x01; // 1
|
||||
|
||||
/**
|
||||
* Options id for the IP_MULTICAST_IF value
|
||||
*/
|
||||
static final int IP_MULTICAST_IF = 0x10; // 16
|
||||
int IP_MULTICAST_IF = 0x10; // 16
|
||||
|
||||
/**
|
||||
* same as above
|
||||
* @since 1.4
|
||||
*/
|
||||
static final int IP_MULTICAST_IF2 = 0x1F; // 31
|
||||
int IP_MULTICAST_IF2 = 0x1F; // 31
|
||||
|
||||
/**
|
||||
* This option enables or disables local loopback of multicast datagrams.
|
||||
* @since 1.4
|
||||
*/
|
||||
static final int IP_MULTICAST_LOOP = 0x12; // 18
|
||||
int IP_MULTICAST_LOOP = 0x12; // 18
|
||||
|
||||
/**
|
||||
* This option sets the type-of-service or traffic class field in the
|
||||
* IP header for a TCP or UDP socket.
|
||||
* @since 1.4
|
||||
*/
|
||||
static final int IP_TOS = 0x03; // 3
|
||||
int IP_TOS = 0x03; // 3
|
||||
|
||||
/**
|
||||
* Sets the specified option on a socket to the passed in object. For
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue