SocketPermission.java (hostport, actions): Now private.
authorTom Tromey <tromey@redhat.com>
Mon, 15 Oct 2001 16:32:51 +0000 (16:32 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 15 Oct 2001 16:32:51 +0000 (16:32 +0000)
* java/net/SocketPermission.java (hostport, actions): Now
private.

From-SVN: r46266

libjava/ChangeLog
libjava/java/net/SocketPermission.java

index 303bbd7..76f02f1 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-15  Tom Tromey  <tromey@redhat.com>
+
+       * java/net/SocketPermission.java (hostport, actions): Now
+       private.
+
 2001-10-14  Mark Wielaard  <mark@klomp.org>
 
        * java/lang/Double.java: Partial merge with Classpath
index 0ddadad..1186cbb 100644 (file)
@@ -1,5 +1,5 @@
 /* SocketPermission.java -- Class modeling permissions for socket operations
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -95,12 +95,12 @@ public final class SocketPermission extends Permission
   /**
    * A hostname/port combination as described above
    */
-  protected transient String hostport;
+  private transient String hostport;
 
   /**
    * A comma separated list of actions for which we have permission
    */
-  protected String actions;
+  private String actions;
 
   /**
    * Initializes a new instance of <code>SocketPermission</code> with the