Cleanup of unnecessary void method and class modifiers.

This commit is contained in:
MobiusDevelopment
2022-12-13 22:13:36 +00:00
parent 7e3dd71d77
commit e6085edc4c
2172 changed files with 3581 additions and 3581 deletions

View File

@@ -178,7 +178,7 @@ public class CastleChamberlain extends AbstractNpcAI
return "chamberlain-21.html";
}
private final void funcReplace(Castle castle, NpcHtmlMessage html, int func, String str)
private void funcReplace(Castle castle, NpcHtmlMessage html, int func, String str)
{
final CastleFunction function = castle.getCastleFunction(func);
if (function == null)

View File

@@ -1517,7 +1517,7 @@ public class AdminEditChar implements IAdminCommandHandler
activeChar.sendPacket(adminReply);
}
private final class IpPack
private class IpPack
{
String ip;
int[][] tracert;

View File

@@ -77,7 +77,7 @@ public class AdminHtml implements IAdminCommandHandler
* @param activeChar activeChar where html is shown
* @param path relative path from directory data/html/admin/ to html
*/
static void showAdminHtml(Player activeChar, String path)
public static void showAdminHtml(Player activeChar, String path)
{
showHtml(activeChar, "data/html/admin/" + path, false);
}

View File

@@ -110,7 +110,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
* @param npc NPC which allows to enter into instance
* @param templateId template ID of instance where player wants to enter
*/
protected final void enterInstance(Player player, Npc npc, int templateId)
protected void enterInstance(Player player, Npc npc, int templateId)
{
Instance instance = getPlayerInstance(player);
if (instance != null) // Player has already any instance active

View File

@@ -35,7 +35,7 @@ import org.l2jmobius.gameserver.model.quest.State;
*/
public class Q00257_TheGuardIsBusy extends Quest
{
public static final class MobDrop extends ItemHolder
public static class MobDrop extends ItemHolder
{
private final int _chance;
private final int _random;