bug
authorbdemsky <bdemsky>
Tue, 24 Oct 2006 20:43:01 +0000 (20:43 +0000)
committerbdemsky <bdemsky>
Tue, 24 Oct 2006 20:43:01 +0000 (20:43 +0000)
Robust/src/ClassLibrary/String.java

index ad1530b7c73bbf59eb6974bd146105e33737150f..3285f0fe06a6d378f7a14c767435bae31e3a3e78 100644 (file)
@@ -4,7 +4,7 @@ public class String {
     public String(char str[]) {
        char charstr[]=new char[str.length];
        for(int i=0;i<str.length;i++)
-           charstr[i]=charstr[i];
+           charstr[i]=str[i];
        this.string=charstr;
     }