Only test the main plugin, fix JavaDoc errors
Dieser Commit ist enthalten in:
Ursprung
25bdcd6bad
Commit
165b4d3126
@ -4,6 +4,7 @@ jdk:
|
|||||||
- oraclejdk7
|
- oraclejdk7
|
||||||
- openjdk6
|
- openjdk6
|
||||||
script: mvn clean install -U
|
script: mvn clean install -U
|
||||||
|
before_install: cd ProtocolLib
|
||||||
install: true
|
install: true
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -65,6 +65,7 @@ public abstract class ShadedChannelProxy implements Channel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Invoked when a packet is scheduled for transmission in the event loop.
|
* Invoked when a packet is scheduled for transmission in the event loop.
|
||||||
|
* @param <T> Type
|
||||||
* @param callable - callable to schedule for execution.
|
* @param callable - callable to schedule for execution.
|
||||||
* @param packetAccessor - accessor for modifying the packet in the callable.
|
* @param packetAccessor - accessor for modifying the packet in the callable.
|
||||||
* @return The callable that will be scheduled, or NULL to cancel.
|
* @return The callable that will be scheduled, or NULL to cancel.
|
||||||
|
@ -69,7 +69,7 @@ public class ShadedInjectionFactory {
|
|||||||
/**
|
/**
|
||||||
* Construct or retrieve a channel injector from an existing Bukkit player.
|
* Construct or retrieve a channel injector from an existing Bukkit player.
|
||||||
* @param player - the existing Bukkit player.
|
* @param player - the existing Bukkit player.
|
||||||
* @param channelListener - the listener.
|
* @param listener - the listener.
|
||||||
* @return A new injector, an existing injector associated with this player, or a closed injector.
|
* @return A new injector, an existing injector associated with this player, or a closed injector.
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
@ -112,7 +112,8 @@ public class ShadedInjectionFactory {
|
|||||||
* Retrieve a cached injector from a name.
|
* Retrieve a cached injector from a name.
|
||||||
* <p>
|
* <p>
|
||||||
* The injector may be NULL if the plugin has been reloaded during a player login.
|
* The injector may be NULL if the plugin has been reloaded during a player login.
|
||||||
* @param address - the name.
|
* @param name - the name.
|
||||||
|
* @param player - the player.
|
||||||
* @return The cached injector, or a closed injector if it could not be found.
|
* @return The cached injector, or a closed injector if it could not be found.
|
||||||
*/
|
*/
|
||||||
public Injector fromName(String name, Player player) {
|
public Injector fromName(String name, Player player) {
|
||||||
@ -132,9 +133,8 @@ public class ShadedInjectionFactory {
|
|||||||
/**
|
/**
|
||||||
* Construct a new channel injector for the given channel.
|
* Construct a new channel injector for the given channel.
|
||||||
* @param channel - the channel.
|
* @param channel - the channel.
|
||||||
|
* @param listener - the listener.
|
||||||
* @param playerFactory - a temporary player creator.
|
* @param playerFactory - a temporary player creator.
|
||||||
* @param channelListener - the listener.
|
|
||||||
* @param loader - the current (plugin) class loader.
|
|
||||||
* @return The channel injector, or a closed injector.
|
* @return The channel injector, or a closed injector.
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
@ -65,6 +65,7 @@ public abstract class NettyChannelProxy implements Channel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Invoked when a packet is scheduled for transmission in the event loop.
|
* Invoked when a packet is scheduled for transmission in the event loop.
|
||||||
|
* @param <T> Type
|
||||||
* @param callable - callable to schedule for execution.
|
* @param callable - callable to schedule for execution.
|
||||||
* @param packetAccessor - accessor for modifying the packet in the callable.
|
* @param packetAccessor - accessor for modifying the packet in the callable.
|
||||||
* @return The callable that will be scheduled, or NULL to cancel.
|
* @return The callable that will be scheduled, or NULL to cancel.
|
||||||
|
@ -69,7 +69,7 @@ public class NettyInjectionFactory {
|
|||||||
/**
|
/**
|
||||||
* Construct or retrieve a channel injector from an existing Bukkit player.
|
* Construct or retrieve a channel injector from an existing Bukkit player.
|
||||||
* @param player - the existing Bukkit player.
|
* @param player - the existing Bukkit player.
|
||||||
* @param channelListener - the listener.
|
* @param listener - the listener.
|
||||||
* @return A new injector, an existing injector associated with this player, or a closed injector.
|
* @return A new injector, an existing injector associated with this player, or a closed injector.
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
@ -112,7 +112,8 @@ public class NettyInjectionFactory {
|
|||||||
* Retrieve a cached injector from a name.
|
* Retrieve a cached injector from a name.
|
||||||
* <p>
|
* <p>
|
||||||
* The injector may be NULL if the plugin has been reloaded during a player login.
|
* The injector may be NULL if the plugin has been reloaded during a player login.
|
||||||
* @param address - the name.
|
* @param name - the name.
|
||||||
|
* @param player - the player.
|
||||||
* @return The cached injector, or a closed injector if it could not be found.
|
* @return The cached injector, or a closed injector if it could not be found.
|
||||||
*/
|
*/
|
||||||
public Injector fromName(String name, Player player) {
|
public Injector fromName(String name, Player player) {
|
||||||
@ -132,9 +133,8 @@ public class NettyInjectionFactory {
|
|||||||
/**
|
/**
|
||||||
* Construct a new channel injector for the given channel.
|
* Construct a new channel injector for the given channel.
|
||||||
* @param channel - the channel.
|
* @param channel - the channel.
|
||||||
|
* @param listener - the listener.
|
||||||
* @param playerFactory - a temporary player creator.
|
* @param playerFactory - a temporary player creator.
|
||||||
* @param channelListener - the listener.
|
|
||||||
* @param loader - the current (plugin) class loader.
|
|
||||||
* @return The channel injector, or a closed injector.
|
* @return The channel injector, or a closed injector.
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
8
pom.xml
8
pom.xml
@ -27,14 +27,14 @@
|
|||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
|
||||||
<id>spigot-repo</id>
|
|
||||||
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>dmulloy2-repo</id>
|
<id>dmulloy2-repo</id>
|
||||||
<url>http://repo.dmulloy2.net/content/groups/public/</url>
|
<url>http://repo.dmulloy2.net/content/groups/public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>spigot-repo</id>
|
||||||
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||||
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>md_5-repo</id>
|
<id>md_5-repo</id>
|
||||||
<url>http://repo.md-5.net/content/groups/public/</url>
|
<url>http://repo.md-5.net/content/groups/public/</url>
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren