summaryrefslogtreecommitdiff
path: root/java/net/SocketOptions.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-12 15:35:00 +0000
committerMichael Koch <konqueror@gmx.de>2003-10-12 15:35:00 +0000
commit46efbb937eb5e473338dbce9251faddb8a685fc3 (patch)
tree43663e6b8ea63c53cef20d677fd4f6b66204ed53 /java/net/SocketOptions.java
parent1d54f9b34094e4f7ecf173e49f4eaa695e67c121 (diff)
downloadclasspath-46efbb937eb5e473338dbce9251faddb8a685fc3.tar.gz
2003-10-12 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: Removing redundant modifiers.
Diffstat (limited to 'java/net/SocketOptions.java')
-rw-r--r--java/net/SocketOptions.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/java/net/SocketOptions.java b/java/net/SocketOptions.java
index b0404e840..149d7b73f 100644
--- a/java/net/SocketOptions.java
+++ b/java/net/SocketOptions.java
@@ -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