add missing javadoc

This commit is contained in:
Alexander Söderberg 2020-05-24 00:02:08 +02:00 committed by Alexander Söderberg
parent 508fdce704
commit 6b31743fb3

View File

@ -228,6 +228,13 @@ public final class PlotQuery {
return this;
}
/**
* Defines the area around which plots may be sorted, depending on the
* sorting strategy
*
* @param plotArea Plot area
* @return The query instance
*/
@NotNull public PlotQuery relativeToArea(@NotNull final PlotArea plotArea) {
Preconditions.checkNotNull(plotArea, "Area may not be null");
this.priorityArea = plotArea;