harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r417162 - /incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
Date Mon, 26 Jun 2006 10:34:40 GMT
Author: mloenko
Date: Mon Jun 26 03:34:39 2006
New Revision: 417162

URL: http://svn.apache.org/viewvc?rev=417162&view=rev
Log:
fixes for HARMONY-650
[classlib][text]unexpected NPE for object constructed by java.text.Bidi(AttributedCharacterIterator)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java?rev=417162&r1=417161&r2=417162&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
Mon Jun 26 03:34:39 2006
@@ -460,7 +460,7 @@
 	 * @return a string containing the internal messsage.
 	 */
 	public String toString() {
-		// simply return nothing
-		return "";
+		return super.toString() + "[direction: " + direction + " baselevel: " + baseLevel
+			 + " length: " + length + " runs: " + runs + "]";
 	}
 }



Mime
View raw message