[
http://jira.jboss.com/jira/browse/JBBUILD-327?page=all ]
David Lloyd resolved JBBUILD-327.
---------------------------------
Resolution: Done
Obvious fix applied:
--- src/main/org/jboss/lang/JBossStringBuilder.java 14 Apr 2006 02:57:52 -0000
1.1
+++ src/main/org/jboss/lang/JBossStringBuilder.java 6 Nov 2006 22:34:29 -0000
@@ -266,7 +266,7 @@
public JBossStringBuilder deleteCharAt(int index)
{
- return delete(index, 1);
+ return delete(index, index + 1);
}
public JBossStringBuilder replace(int start, int end, String string)
JBossStringBuilder.deleteCharAt always fails
--------------------------------------------
Key: JBBUILD-327
URL:
http://jira.jboss.com/jira/browse/JBBUILD-327
Project: JBoss Build System
Issue Type: Bug
Affects Versions: JBossRetro-1.0.4.GA
Reporter: David Lloyd
Assigned To: David Lloyd
Fix For: JBossRetro-1.0.5.GA
Original Estimate: 10 minutes
Remaining Estimate: 10 minutes
JBossStringBuilder.deleteCharAt calls up to JBossStringBuilder.delete, setting the
"end" parameter to 1. Unfortunately, this makes delete() fail because end is
less than start for most values of start.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira