immutable -> mutable

This commit is contained in:
Alexander Söderberg 2020-05-24 00:14:33 +02:00 committed by Alexander Söderberg
parent a0d1da3274
commit 76913d4a78

View File

@ -253,7 +253,7 @@ public final class PlotQuery {
/** /**
* Get all plots that match the given criteria * 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() { @NotNull public List<Plot> asList() {
final List<Plot> result; final List<Plot> result;
@ -320,7 +320,7 @@ public final class PlotQuery {
/** /**
* Get all plots that match the given criteria * 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() { @NotNull public Set<Plot> asSet() {
return new HashSet<>(this.asList()); return new HashSet<>(this.asList());