From 28b213a419a45a0cd2a3d120aecf560a70e66676 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Tue, 5 Feb 2013 23:28:11 +0100 Subject: [PATCH] Ensure that the dummy objects are all package private. --- .../protocol/injector/spigot/DummyPacketInjector.java | 7 ++++++- .../protocol/injector/spigot/DummyPlayerHandler.java | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPacketInjector.java b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPacketInjector.java index e77a32de..2eb32386 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPacketInjector.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPacketInjector.java @@ -9,7 +9,12 @@ import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.events.PacketEvent; import com.comphenix.protocol.injector.packet.PacketInjector; -public class DummyPacketInjector implements PacketInjector { +/** + * Dummy packet injector that simply delegates to its parent Spigot packet injector or receiving filters. + * + * @author Kristian + */ +class DummyPacketInjector implements PacketInjector { private SpigotPacketInjector injector; private IntegerSet reveivedFilters; diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPlayerHandler.java b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPlayerHandler.java index ee8139f0..f48b01d3 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPlayerHandler.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/spigot/DummyPlayerHandler.java @@ -15,6 +15,11 @@ import com.comphenix.protocol.injector.GamePhase; import com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks; import com.comphenix.protocol.injector.player.PlayerInjectionHandler; +/** + * Dummy player handler that simply delegates to its parent Spigot packet injector. + * + * @author Kristian + */ class DummyPlayerHandler implements PlayerInjectionHandler { private SpigotPacketInjector injector; private IntegerSet sendingFilters;