Skip to content

Commit

Permalink
Clean up javadoc issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
LlmDl committed Oct 29, 2024
1 parent 0e53e22 commit 95bd8f2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ public void setPlayerMode(Player player, String[] modes, boolean notify) {
/**
* Remove ALL current modes (and set the defaults)
*
* @deprecated since 0.100.4.6, use {@link ResidentModeHandler#clearModes(Player))} instead.
* @deprecated since 0.100.4.6, use {@link ResidentModeHandler#clearModes(Player)} instead.
* @param player Player, whose modes are to be reset (all removed).
*/
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1132,8 +1132,6 @@ public void deleteFile(String fileName) {
*
* @param succumbingNation - Nation to be removed, towns put into prevailingNation.
* @param prevailingNation - Nation which survives, absorbs other nation's towns.
*
* @author LlmDl
*/
public void mergeNation(Nation succumbingNation, Nation prevailingNation) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.w3c.dom.UserDataHandler;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down Expand Up @@ -570,7 +571,7 @@ public boolean hasMode(String mode) {
}

/**
* @deprecated since 0.100.4.6. Use {@link ResidentModeHandler#toggleModes(Resident, String[], boolean)} instead.
* @deprecated since 0.100.4.6. Use {@link ResidentModeHandler#toggleModes(Resident, String[], boolean, boolean)} instead.
*
* @param newModes
* @param notify
Expand All @@ -581,9 +582,8 @@ public void toggleMode(String[] newModes, boolean notify) {
}

/**
* @deprecated since 0.100.4.6. Use {@link ResidentModeHandler#toggleModes(Resident, String[], boolean)} instead.
*
* @param newModes
* @deprecated since 0.100.4.6. Use {@link ResidentModeHandler#toggleModes(Resident, String[], boolean, boolean)} instead.
* @param modes
* @param notify
*/
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ public static boolean filterHomeBlock(Town town, List<WorldCoord> selection) {
* @param group The plot group to filter against.
* @param selection The selection of townblocks.
* @return A List of {@link WorldCoord} that contains the coordinates of townblocks part of the specified group.
* @author Suneet Tipirneni (Siris)
*/
public static List<WorldCoord> filterPlotsByGroup(PlotGroup group, List<WorldCoord> selection) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ public static String formatCommand(String requirement, String command, String su
* @param list - Any list that is in an order of ranking.
* @param page - Already formatted TownySettings.getListPageMsg(page,total) handler.
* @return - Fully formatted output which should be sent to the player.
* @author - Articdive
*/
public static String[] formatList(String title, String subject, List<String> list, String page) {
List<String> output = new ArrayList<>();
Expand Down

0 comments on commit 95bd8f2

Please sign in to comment.