Apply checkstyle to javadoc

This commit is contained in:
md_5
2020-01-05 11:25:56 +11:00
parent 6c8a0ccecb
commit d20e622b7b
8 changed files with 27 additions and 4 deletions

View File

@@ -52,7 +52,10 @@ public class Metrics extends TimerTask
}
/**
* Generic method that posts a plugin to the metrics website
* Generic method that posts a plugin to the metrics website.
*
* @param isPing first post or not
* @throws IOException any errors encountered
*/
private void postPlugin(boolean isPing) throws IOException
{
@@ -110,6 +113,7 @@ public class Metrics extends TimerTask
* @param buffer the StringBuilder to append the data pair onto
* @param key the key value
* @param value the value
* @throws UnsupportedEncodingException if UTF-8 encoding not supported
*/
private static void encodeDataPair(final StringBuilder buffer, final String key, final String value) throws UnsupportedEncodingException
{
@@ -121,6 +125,7 @@ public class Metrics extends TimerTask
*
* @param text the text to encode
* @return the encoded text, as UTF-8
* @throws UnsupportedEncodingException if UTF-8 encoding not supported
*/
private static String encode(final String text) throws UnsupportedEncodingException
{

View File

@@ -49,6 +49,7 @@ public class ForgeClientHandler
* Handles the Forge packet.
*
* @param message The Forge Handshake packet to handle.
* @throws IllegalArgumentException if invalid packet received
*/
public void handle(PluginMessage message) throws IllegalArgumentException
{
@@ -79,6 +80,7 @@ public class ForgeClientHandler
* Receives a {@link PluginMessage} from ForgeServer to pass to Client.
*
* @param message The message to being received.
* @throws IllegalArgumentException if invalid packet received
*/
public void receive(PluginMessage message) throws IllegalArgumentException
{

View File

@@ -67,6 +67,7 @@ public class ForgeServerHandler
* Receives a {@link PluginMessage} from ForgeClientData to pass to Server.
*
* @param message The message to being received.
* @throws IllegalArgumentException if invalid packet received
*/
public void receive(PluginMessage message) throws IllegalArgumentException
{