Skip to content

Commit ef9d323

Browse files
Max BaseMax Base
authored andcommitted
Improve code style...
1 parent 75e7cbb commit ef9d323

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

com/asrez/utils/MyString.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ public int lastIndexOf(String str, int fromIndex) {
168168
return -1;
169169
}
170170

171-
172171
public boolean equalsIgnoreCase(MyString other) {
173172
if(this.length != other.length)
174173
return false;
@@ -291,7 +290,6 @@ public MyString trim() {
291290
return result;
292291
}
293292

294-
295293
public static MyString valueOf(boolean b) {
296294
if(b)
297295
return new MyString("true");
@@ -309,7 +307,6 @@ public String toString() {
309307
return new String(array);
310308
}
311309

312-
313310
public boolean equals(Object o) {
314311
MyString other;
315312
if(!(o instanceof MyString))

0 commit comments

Comments
 (0)