mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
immutable -> mutable
This commit is contained in:
parent
a0d1da3274
commit
76913d4a78
@ -253,7 +253,7 @@ public final class PlotQuery {
|
||||
/**
|
||||
* Get all plots that match the given criteria
|
||||
*
|
||||
* @return Matching plots as an immutable list
|
||||
* @return Matching plots as a mutable
|
||||
*/
|
||||
@NotNull public List<Plot> asList() {
|
||||
final List<Plot> result;
|
||||
@ -320,7 +320,7 @@ public final class PlotQuery {
|
||||
/**
|
||||
* Get all plots that match the given criteria
|
||||
*
|
||||
* @return Matching plots as an immutable set
|
||||
* @return Matching plots as a mutable set
|
||||
*/
|
||||
@NotNull public Set<Plot> asSet() {
|
||||
return new HashSet<>(this.asList());
|
||||
|
Loading…
Reference in New Issue
Block a user