/[classpath]/classpath/java/lang/String.java
ViewVC logotype

Diff of /classpath/java/lang/String.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.75 by abalkiss, Mon Nov 7 20:50:56 2005 UTC revision 1.76 by abalkiss, Tue Nov 8 16:04:49 2005 UTC
# Line 1901  public final class String implements Ser Line 1901  public final class String implements Ser
1901      int replaceLength = replacement.length();      int replaceLength = replacement.length();
1902            
1903      int startPos = this.indexOf(targetString);      int startPos = this.indexOf(targetString);
1904      StringBuffer result = new StringBuffer(this);          StringBuilder result = new StringBuilder(this);    
1905      while (startPos != -1)      while (startPos != -1)
1906        {        {
1907          // Replace the target with the replacement          // Replace the target with the replacement

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26