commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog-ssl-nio gnu/javax/net/ssl/p... [ssl]


From: Casey Marshall
Subject: [commit-cp] classpath ChangeLog-ssl-nio gnu/javax/net/ssl/p... [ssl]
Date: Tue, 06 Jun 2006 00:47:29 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         ssl
Changes by:     Casey Marshall <rsdio>  06/06/06 00:47:29

Modified files:
        .              : ChangeLog-ssl-nio 
        gnu/javax/net/ssl/provider: CipherSuiteList.java 
                                    CompressionMethodList.java 
                                    X500PrincipalList.java 

Log message:
        2006-06-05  Casey Marshall <address@hidden>
        
                * gnu/javax/net/ssl/provider/CipherSuiteList.java: implement
                Iterable<CipherSuite>.
                (iterator): new method.
                * gnu/javax/net/ssl/provider/CompressionMethodList.java: 
implement
                Iterable<CompressionMethod>.
                (iterator): new method.
                * gnu/javax/net/ssl/provider/X500PrincipalList.java: implement
                Iterable<X500Principal>.
                (iterator): new method.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog-ssl-nio?cvsroot=classpath&only_with_tag=ssl&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/net/ssl/provider/CipherSuiteList.java?cvsroot=classpath&only_with_tag=ssl&r1=1.1.4.1&r2=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/net/ssl/provider/CompressionMethodList.java?cvsroot=classpath&only_with_tag=ssl&r1=1.1.4.1&r2=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/net/ssl/provider/X500PrincipalList.java?cvsroot=classpath&only_with_tag=ssl&r1=1.1.4.1&r2=1.1.4.2

Patches:
Index: ChangeLog-ssl-nio
===================================================================
RCS file: /cvsroot/classpath/classpath/Attic/ChangeLog-ssl-nio,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- ChangeLog-ssl-nio   6 Jun 2006 00:07:22 -0000       1.1.2.2
+++ ChangeLog-ssl-nio   6 Jun 2006 00:47:28 -0000       1.1.2.3
@@ -1,3 +1,15 @@
+2006-06-05  Casey Marshall <address@hidden>
+
+       * gnu/javax/net/ssl/provider/CipherSuiteList.java: implement
+       Iterable<CipherSuite>.
+       (iterator): new method.
+       * gnu/javax/net/ssl/provider/CompressionMethodList.java: implement
+       Iterable<CompressionMethod>.
+       (iterator): new method.
+       * gnu/javax/net/ssl/provider/X500PrincipalList.java: implement
+       Iterable<X500Principal>.
+       (iterator): new method.
+
 2006-06-05  C. Scott Marshall  <address@hidden>
 
        * java/security/MessageDigest.java (update): new method.

Index: gnu/javax/net/ssl/provider/CipherSuiteList.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/gnu/javax/net/ssl/provider/Attic/CipherSuiteList.java,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -b -r1.1.4.1 -r1.1.4.2
--- gnu/javax/net/ssl/provider/CipherSuiteList.java     3 Jun 2006 07:49:53 
-0000       1.1.4.1
+++ gnu/javax/net/ssl/provider/CipherSuiteList.java     6 Jun 2006 00:47:28 
-0000       1.1.4.2
@@ -46,7 +46,7 @@
 import java.util.ListIterator;
 import java.util.NoSuchElementException;
 
-public final class CipherSuiteList
+public final class CipherSuiteList implements Iterable<CipherSuite>
 {
   private final ByteBuffer buffer;
   private final ProtocolVersion version;
@@ -191,6 +191,11 @@
     return true;
   }
 
+  public java.util.Iterator<CipherSuite> iterator ()
+  {
+    return new Iterator ();
+  }
+  
   /**
    * An iterator for the elements in this list. The iterator supports
    * only the <code>set</code> method out of the optional methods,

Index: gnu/javax/net/ssl/provider/CompressionMethodList.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/gnu/javax/net/ssl/provider/Attic/CompressionMethodList.java,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -b -r1.1.4.1 -r1.1.4.2
--- gnu/javax/net/ssl/provider/CompressionMethodList.java       3 Jun 2006 
07:49:53 -0000       1.1.4.1
+++ gnu/javax/net/ssl/provider/CompressionMethodList.java       6 Jun 2006 
00:47:28 -0000       1.1.4.2
@@ -51,7 +51,7 @@
  * A basic list interface to a list of compression methods in an SSL
  * packet.
  */
-public final class CompressionMethodList
+public final class CompressionMethodList implements Iterable<CompressionMethod>
 {
   private final ByteBuffer buffer;
   private int modCount;
@@ -188,6 +188,11 @@
     return true;
   }
 
+  public java.util.Iterator<CompressionMethod> iterator ()
+  {
+    return new Iterator ();
+  }
+  
   /**
    * An iterator for the elements in this list. The iterator supports
    * only the <code>set</code> method out of the optional methods,

Index: gnu/javax/net/ssl/provider/X500PrincipalList.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/gnu/javax/net/ssl/provider/Attic/X500PrincipalList.java,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -b -r1.1.4.1 -r1.1.4.2
--- gnu/javax/net/ssl/provider/X500PrincipalList.java   3 Jun 2006 07:49:53 
-0000       1.1.4.1
+++ gnu/javax/net/ssl/provider/X500PrincipalList.java   6 Jun 2006 00:47:28 
-0000       1.1.4.2
@@ -49,7 +49,7 @@
 
 import javax.security.auth.x500.X500Principal;
 
-public final class X500PrincipalList
+public final class X500PrincipalList implements Iterable<X500Principal>
 {
   private final ByteBuffer buffer;
   private int modCount;
@@ -184,6 +184,11 @@
     return true;
   }
 
+  public java.util.Iterator<X500Principal> iterator ()
+  {
+    return new Iterator();
+  }
+  
   public class Iterator implements ListIterator<X500Principal>
   {
     private final int modCount;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]