Remove removeAll method.
This commit is contained in:
parent
48e1150886
commit
ccff14d17b
1 changed files with 1 additions and 15 deletions
|
@ -327,7 +327,7 @@ public class StringList extends ArrayList<String>
|
|||
|
||||
String merge = this.toString();
|
||||
|
||||
removeAll();
|
||||
clear();
|
||||
add(merge);
|
||||
|
||||
//
|
||||
|
@ -335,20 +335,6 @@ public class StringList extends ArrayList<String>
|
|||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public StringList removeAll()
|
||||
{
|
||||
StringList result;
|
||||
|
||||
removeRange(0, this.size() - 1);
|
||||
|
||||
//
|
||||
result = this;
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue