Fix all javadoc warnings

This commit is contained in:
tterrag1098 committed 2015-10-20 17:50:09 -04:00
1 parent 75f92b3729
commit cc362a74ad
7 files changed
+24 -25

No files matched your search

@@ -123,14 +123,15 @@ public final class BoundingBox {
/**
* Returns the vertices of the corners for the specified face in counter
* clockwise order.
*
* @param face
* @return
*/
public List<Vertex> getCornersWithUvForFace(ForgeDirection face) {
return getCornersWithUvForFace(face, 0, 1, 0, 1);
}
/**
* Returns the vertices of the corners for the specified face in counter
* clockwise order.
*/
public List<Vertex> getCornersWithUvForFace(ForgeDirection face, float minU, float maxU, float minV, float maxV) {
List<Vertex> result = new ArrayList<Vertex>(4);
switch (face) {
@@ -179,9 +180,6 @@ public final class BoundingBox {
/**
* Returns the vertices of the corners for the specified face in counter
* clockwise order, starting with the top left.
*
* @param face
* @return
*/
public List<Vector3f> getCornersForFace(ForgeDirection face) {
List<Vector3f> result = new ArrayList<Vector3f>(4);
@@ -231,9 +229,6 @@ public final class BoundingBox {
/**
* Returns the vertices of the corners for the specified face in counter
* clockwise order, starting with the top left.
*
* @param face
* @return
*/
public List<Vector3d> getCornersForFaceD(ForgeDirection face) {
List<Vector3d> result = new ArrayList<Vector3d>(4);
@@ -300,10 +300,8 @@ public class RenderUtil {
}
/**
* left, bottom, right, top
*
* @param face
* @return
* @return The edge directions for a face, in the order left, bottom, right,
* top.
*/
public static List<ForgeDirection> getEdgesForFace(ForgeDirection face) {
List<ForgeDirection> result = new ArrayList<ForgeDirection>(4);
@@ -23,9 +23,11 @@ import com.google.gson.reflect.TypeToken;
*
* The format of the JSON file is as follows:
* <p>
* {@code "data":[<br>
* <br>
* ]}
* <blockquote><code>
* "data":[<br/>
* <br/>
* ]
* </blockquote></code>
* <p>
* Where the objects go inbetween the brackets ( [] )
*
@@ -50,7 +52,11 @@ public class JsonConfigReader<T> implements Iterable<T> {
private String assetPath;
}
private static final String DEFAULT_KEY = "data";
/**
* The default key for the json data. This is what is used when calling
* {@link #getElements()}.
*/
public static final String DEFAULT_KEY = "data";
private static final JsonParser parser = new JsonParser();
private final GsonBuilder builder = new GsonBuilder();
@@ -11,7 +11,7 @@ import cpw.mods.fml.common.eventhandler.Cancelable;
* <br>
* This event is not {@link Cancelable}.<br>
* <br>
* This event does not have a result. {@link HasResult}<br>
* This event does not have a result. {@link cpw.mods.fml.common.eventhandler.Event.HasResult}<br>
* <br>
* This event is fired on the {@link MinecraftForge#EVENT_BUS}.<br>
**/
@@ -174,7 +174,7 @@ public class ChatUtil {
/**
* Localizes the strings before sending them.
*
* @see #sendNoSpamSafe(String...)
* @see #sendNoSpam(EntityPlayer, String...)
*/
public void sendNoSpamUnloc(EntityPlayer player, Lang lang, String... unlocLines) {
sendNoSpam(player, lang.localizeAll(lang, unlocLines));
@@ -182,7 +182,7 @@ public class ChatUtil {
/**
* @see #wrap(String)
* @see #sendNoSpamSafe(EntityPlayer, IChatComponent...)
* @see #sendNoSpam(EntityPlayer, IChatComponent...)
*/
public void sendNoSpam(EntityPlayer player, String... lines) {
sendNoSpam(player, wrap(lines));
@@ -203,7 +203,7 @@ public class ChatUtil {
/**
* Localizes the strings before sending them.
*
* @see #sendNoSpam(String...)
* @see #sendNoSpam(EntityPlayerMP, String...)
*/
public void sendNoSpamUnloc(EntityPlayerMP player, Lang lang, String... unlocLines) {
sendNoSpam(player, lang.localizeAll(lang, unlocLines));
@@ -448,7 +448,7 @@ public class ItemUtil {
*
* @param s1
* @param s2
* @return
* @return True if the two stacks are mergeable, false otherwise.
*/
public static boolean areStackMergable(ItemStack s1, ItemStack s2) {
if (s1 == null || s2 == null || !s1.isStackable() || !s2.isStackable()) {
@@ -465,7 +465,7 @@ public class ItemUtil {
*
* @param s1
* @param s2
* @return
* @return True if the two stacks are equal, false otherwise.
*/
public static boolean areStacksEqual(ItemStack s1, ItemStack s2) {
if (s1 == null || s2 == null) {
@@ -49,7 +49,7 @@ public class Scheduler {
* @param task
* The {@link Runnable} to be run when the delay is up
*
* @see {@link #schedule(int, Runnable, Side)} for more details.
* @see #schedule(int, Runnable, Side)
*/
public void schedule(int delay, Runnable task) {
schedule(delay, task, Side.SERVER);
@@ -81,7 +81,7 @@ public class Scheduler {
/**
* Returns the {@link Scheduler} instance for the current side.
*
* @see {@link Scheduler#schedule(int, Runnable)} for scheduling information.
* @see #schedule(int, Runnable)
*
* @return The {@link Scheduler} instance.
*/