mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 19:00:48 +00:00
Return unmodifiable list in tree number generator
This commit is contained in:
parent
541f9c54e8
commit
503de3ad88
@ -1,6 +1,7 @@
|
||||
package edu.kit.typicalc.view.content.typeinferencecontent;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public class TreeNumberGenerator {
|
||||
@ -22,6 +23,6 @@ public class TreeNumberGenerator {
|
||||
}
|
||||
|
||||
protected List<Integer> getNumbers() {
|
||||
return numbers;
|
||||
return Collections.unmodifiableList(numbers);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user