mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Changed return type of StatList#clear to support chaining
This commit is contained in:
parent
4cc595da29
commit
daf2314bac
@ -73,11 +73,12 @@ public final class StatList {
|
||||
return this;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
public StatList clear() {
|
||||
assertMutable();
|
||||
size = 0;
|
||||
tail = 0;
|
||||
numLists = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
public int size() {
|
||||
|
Loading…
Reference in New Issue
Block a user