1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2026-01-27 05:02:47 +00:00

Fixed compiler warnings

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-26 13:46:47 -03:00
parent fc0dcd221e
commit 566c4e2037
20 changed files with 36 additions and 33 deletions

View File

@@ -81,6 +81,7 @@ public class NPCOldTemplateConverter {
private static String[] generateJavaClass(ResultSet rs) throws SQLException {
String npcName = "";
@SuppressWarnings("unused")
String npcClass = "";
String npcTitle = "";
String npcType = "";
@@ -189,7 +190,7 @@ public class NPCOldTemplateConverter {
return "";
if (l2j.contains("VillageMaster"))
return (l2j.replaceAll("VillageMaster", "") + "VillageMaster");
if(l2j.contains("Npc"))
if (l2j.contains("Npc"))
l2j = l2j.replaceAll("Npc", "");
return l2j;
}