This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: Removing redundant modifiers (Part 8)


Hi list,


still more modifier stuff.


Michael
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2243
diff -u -b -B -r1.2243 ChangeLog
--- ChangeLog	11 Oct 2003 18:38:12 -0000	1.2243
+++ ChangeLog	11 Oct 2003 18:38:46 -0000
@@ -1,5 +1,15 @@
 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.
+
+2003-10-11  Michael Koch  <konqueror@gmx.de>
+
 	* java/io/Externalizable.java,
 	java/io/FileFilter.java,
 	java/io/FilePermission.java,
Index: java/net/ContentHandlerFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/ContentHandlerFactory.java,v
retrieving revision 1.6
diff -u -b -B -r1.6 ContentHandlerFactory.java
--- java/net/ContentHandlerFactory.java	25 May 2003 11:40:19 -0000	1.6
+++ java/net/ContentHandlerFactory.java	11 Oct 2003 18:38:46 -0000
@@ -62,7 +62,7 @@
     *
     * @return The <code>ContentHandler</code> for the passed in MIME type
     */
-  public ContentHandler createContentHandler(String mimeType);
+  ContentHandler createContentHandler(String mimeType);
 
 } // interface ContentHandlerFactory
 
Index: java/net/DatagramSocketImplFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/DatagramSocketImplFactory.java,v
retrieving revision 1.2
diff -u -b -B -r1.2 DatagramSocketImplFactory.java
--- java/net/DatagramSocketImplFactory.java	25 May 2003 11:40:19 -0000	1.2
+++ java/net/DatagramSocketImplFactory.java	11 Oct 2003 18:38:46 -0000
@@ -56,5 +56,6 @@
    *
    * @return A DatagramSocketImpl object
    */
-  public DatagramSocketImpl createDatagramSocketImpl();
+  DatagramSocketImpl createDatagramSocketImpl();
+
 } // interface DatagramSocketImplFactory
Index: java/net/FileNameMap.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/FileNameMap.java,v
retrieving revision 1.7
diff -u -b -B -r1.7 FileNameMap.java
--- java/net/FileNameMap.java	25 May 2003 11:40:19 -0000	1.7
+++ java/net/FileNameMap.java	11 Oct 2003 18:38:46 -0000
@@ -62,7 +62,7 @@
     *
     * @return The MIME type for the filename passed in.
     */
-  public String getContentTypeFor(String filename);
+  String getContentTypeFor(String filename);
 
 } // interface FileNameMap
 
Index: java/net/SocketImplFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/SocketImplFactory.java,v
retrieving revision 1.6
diff -u -b -B -r1.6 SocketImplFactory.java
--- java/net/SocketImplFactory.java	25 May 2003 11:40:19 -0000	1.6
+++ java/net/SocketImplFactory.java	11 Oct 2003 18:38:46 -0000
@@ -56,7 +56,7 @@
     *
     * @return A <code>SocketImpl</code> object
     */
-  public SocketImpl createSocketImpl();
+  SocketImpl createSocketImpl();
 
 } // interface SocketImplFactory
 
Index: java/net/SocketOptions.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/SocketOptions.java,v
retrieving revision 1.11
diff -u -b -B -r1.11 SocketOptions.java
--- java/net/SocketOptions.java	25 May 2003 11:40:19 -0000	1.11
+++ java/net/SocketOptions.java	11 Oct 2003 18:38:46 -0000
@@ -60,80 +60,80 @@
    * 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]