summaryrefslogtreecommitdiff
path: root/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
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')
-rw-r--r--java/net/ContentHandlerFactory.java2
-rw-r--r--java/net/DatagramSocketImplFactory.java3
-rw-r--r--java/net/FileNameMap.java2
-rw-r--r--java/net/SocketImplFactory.java2
-rw-r--r--java/net/SocketOptions.java28
5 files changed, 19 insertions, 18 deletions
diff --git a/java/net/ContentHandlerFactory.java b/java/net/ContentHandlerFactory.java
index 04fa3f119..7310f5696 100644
--- a/java/net/ContentHandlerFactory.java
+++ b/java/net/ContentHandlerFactory.java
@@ -62,7 +62,7 @@ public interface ContentHandlerFactory
*
* @return The <code>ContentHandler</code> for the passed in MIME type
*/
- public ContentHandler createContentHandler(String mimeType);
+ ContentHandler createContentHandler(String mimeType);
} // interface ContentHandlerFactory
diff --git a/java/net/DatagramSocketImplFactory.java b/java/net/DatagramSocketImplFactory.java
index ab39dd457..45bb18919 100644
--- a/java/net/DatagramSocketImplFactory.java
+++ b/java/net/DatagramSocketImplFactory.java
@@ -56,5 +56,6 @@ public interface DatagramSocketImplFactory
*
* @return A DatagramSocketImpl object
*/
- public DatagramSocketImpl createDatagramSocketImpl();
+ DatagramSocketImpl createDatagramSocketImpl();
+
} // interface DatagramSocketImplFactory
diff --git a/java/net/FileNameMap.java b/java/net/FileNameMap.java
index b4f9e1916..c6c50000c 100644
--- a/java/net/FileNameMap.java
+++ b/java/net/FileNameMap.java
@@ -62,7 +62,7 @@ public interface FileNameMap
*
* @return The MIME type for the filename passed in.
*/
- public String getContentTypeFor(String filename);
+ String getContentTypeFor(String filename);
} // interface FileNameMap
diff --git a/java/net/SocketImplFactory.java b/java/net/SocketImplFactory.java
index fc5de7a08..26074119e 100644
--- a/java/net/SocketImplFactory.java
+++ b/java/net/SocketImplFactory.java
@@ -56,7 +56,7 @@ public interface SocketImplFactory
*
* @return A <code>SocketImpl</code> object
*/
- public SocketImpl createSocketImpl();
+ SocketImpl createSocketImpl();
} // interface SocketImplFactory
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