[kaffe] CVS kaffe (dalibor): Resynced with GNU Classpath: javax.naming.CompoundName endsWith fix

Kaffe CVS cvs-commits at kaffe.org
Sat May 1 10:57:08 PDT 2004


PatchSet 4711 
Date: 2004/05/01 16:30:22
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: javax.naming.CompoundName endsWith fix

2004-05-01  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/javax/naming/CompoundName.java:
        Resynced with GNU Classpath.

        2004-04-23  Tom Tromey  <tromey at redhat.com>

        * javax/naming/CompoundName.java (endsWith): Look at correct
        element of source name.

Members: 
	ChangeLog:1.2286->1.2287 
	libraries/javalib/javax/naming/CompoundName.java:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2286 kaffe/ChangeLog:1.2287
--- kaffe/ChangeLog:1.2286	Wed Apr 28 20:42:49 2004
+++ kaffe/ChangeLog	Sat May  1 16:30:22 2004
@@ -1,3 +1,13 @@
+2004-05-01  Dalibor Topic  <robilad at kaffe.org>
+
+	* libraries/javalib/javax/naming/CompoundName.java:
+	Resynced with GNU Classpath.
+
+	2004-04-23  Tom Tromey  <tromey at redhat.com>
+
+        * javax/naming/CompoundName.java (endsWith): Look at correct
+        element of source name.
+
 2004-04-28  Dalibor Topic  <robilad at kaffe.org>
 
         * configure.ac:
Index: kaffe/libraries/javalib/javax/naming/CompoundName.java
diff -u kaffe/libraries/javalib/javax/naming/CompoundName.java:1.5 kaffe/libraries/javalib/javax/naming/CompoundName.java:1.6
--- kaffe/libraries/javalib/javax/naming/CompoundName.java:1.5	Mon Apr 19 15:04:25 2004
+++ kaffe/libraries/javalib/javax/naming/CompoundName.java	Sat May  1 16:30:25 2004
@@ -264,7 +264,7 @@
     int delta = elts.size () - cn.elts.size ();
     for (int i = 0; i < cn.elts.size (); ++i)
       {
-	String f = canonicalize ((String) elts.get (i));
+	String f = canonicalize ((String) elts.get (delta + i));
 	if (! f.equals (canonicalize ((String) cn.elts.get (i))))
 	  return false;
       }




More information about the kaffe mailing list