Made "metrics" invisible. No point polluting the namespace.
Dieser Commit ist enthalten in:
Ursprung
0d35ab6038
Commit
783281ca2c
@ -125,7 +125,7 @@ public interface ProtocolManager {
|
|||||||
public Set<Integer> getPacketFilters();
|
public Set<Integer> getPacketFilters();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether or not is protocol mananger has been disabled.
|
* Determines whether or not this protocol mananger has been disabled.
|
||||||
* @return TRUE if it has, FALSE otherwise.
|
* @return TRUE if it has, FALSE otherwise.
|
||||||
*/
|
*/
|
||||||
public boolean isClosed();
|
public boolean isClosed();
|
||||||
|
@ -21,7 +21,10 @@ import java.util.Set;
|
|||||||
|
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a listener that recieves notifications when packets are sent or recieved.
|
||||||
|
* @author Kristian
|
||||||
|
*/
|
||||||
public interface PacketListener {
|
public interface PacketListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -82,7 +82,7 @@ import java.util.logging.Level;
|
|||||||
* void start(); <br/>
|
* void start(); <br/>
|
||||||
* </code>
|
* </code>
|
||||||
*/
|
*/
|
||||||
public class Metrics {
|
class Metrics {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The current revision number
|
* The current revision number
|
||||||
|
@ -78,12 +78,4 @@ public class Statistics {
|
|||||||
|
|
||||||
return users;
|
return users;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve the current metrics object.
|
|
||||||
* @return Metrics object.
|
|
||||||
*/
|
|
||||||
public Metrics getMetrics() {
|
|
||||||
return metrics;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren