1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-10 09:22:49 +00:00

Implemented ShortcutID and fixed compile warnings

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-06-15 12:26:12 -03:00
parent 0146d1aa82
commit ebb2b2a81a
8 changed files with 122 additions and 7 deletions

View File

@@ -19,6 +19,7 @@ package com.l2jserver.service.game.admin;
import java.util.List;
import com.l2jserver.game.net.Lineage2Connection;
import com.l2jserver.game.net.packet.server.SM_HTML;
import com.l2jserver.model.id.object.CharacterID;
import com.l2jserver.model.world.L2Character;
import com.l2jserver.service.AbstractService;
@@ -36,6 +37,6 @@ public class AdministratorServiceImpl extends AbstractService implements
@Override
public void command(Lineage2Connection conn, L2Character character,
String command, String... args) {
conn.sendCommunityHTML(new AdminHomeTemplate());
conn.write(new SM_HTML(null, new AdminHomeTemplate()));
}
}

View File

@@ -72,6 +72,7 @@ public class NPCServiceImpl extends AbstractService implements NPCService {
/**
* The {@link CharacterService}
*/
@SuppressWarnings("unused")
private final CharacterService characterService;
/**
* The {@link ThreadService}

View File

@@ -45,6 +45,7 @@ public class GameGuardServiceImpl extends AbstractService implements
/**
* The valid GG SHA1 response
*/
@SuppressWarnings("unused")
private static final byte[] VALID_KEY_SHA1 = { (byte) 0x88, 0x40, 0x1c,
(byte) 0xa7, (byte) 0x83, 0x42, (byte) 0xe9, 0x15, (byte) 0xde,
(byte) 0xc3, 0x68, (byte) 0xf6, 0x2d, 0x23, (byte) 0xf1, 0x3f,
@@ -59,6 +60,7 @@ public class GameGuardServiceImpl extends AbstractService implements
* <p>
* <b>Access must be synchronized externally.
*/
@SuppressWarnings("unused")
private MessageDigest digester;
@Override