[cp-patches] Patch: FYI: exception message fix

Tom Tromey tromey at redhat.com
Mon May 8 13:15:29 UTC 2006


I'm checking this in.

This fixes an exception message to add a missing space.

Tom

2006-05-08  Tom Tromey  <tromey at redhat.com>

	* java/text/SimpleDateFormat.java (compileFormat): Added missing
	space to error message.

Index: java/text/SimpleDateFormat.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/text/SimpleDateFormat.java,v
retrieving revision 1.52
diff -u -r1.52 SimpleDateFormat.java
--- java/text/SimpleDateFormat.java	19 Apr 2006 17:49:42 -0000	1.52
+++ java/text/SimpleDateFormat.java	8 May 2006 13:17:21 -0000
@@ -307,7 +307,7 @@
 		// Not a valid letter
 		throw new IllegalArgumentException("Invalid letter "
 						   + thisChar +
-						   "encountered at character "
+						   " encountered at character "
 						   + i + ".");
 	      }
 	    else if (thisChar == '\'')



More information about the Classpath-patches mailing list