From fd726e545fc4eab78f152dee151fbd9ed8f77b0c Mon Sep 17 00:00:00 2001 From: Philip Whitehouse Date: Tue, 20 May 2014 00:05:53 +0100 Subject: [PATCH] Fix some straightforward Javadoc problems --- src/java/org/lwjgl/LWJGLUtil.java | 2 +- src/java/org/lwjgl/openal/ALCcontext.java | 2 +- src/java/org/lwjgl/util/applet/AppletLoader.java | 8 ++++---- src/java/org/lwjgl/util/glu/Project.java | 2 +- src/java/org/lwjgl/util/mapped/CacheLinePad.java | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/java/org/lwjgl/LWJGLUtil.java b/src/java/org/lwjgl/LWJGLUtil.java index c8f1b7c8..77456c16 100644 --- a/src/java/org/lwjgl/LWJGLUtil.java +++ b/src/java/org/lwjgl/LWJGLUtil.java @@ -605,7 +605,7 @@ public class LWJGLUtil { * @param field the Field to test * @param value the integer value of the field * - * @result true if the Field is accepted + * @return true if the Field is accepted */ boolean accept(Field field, int value); diff --git a/src/java/org/lwjgl/openal/ALCcontext.java b/src/java/org/lwjgl/openal/ALCcontext.java index 2d99d4c1..f3174208 100644 --- a/src/java/org/lwjgl/openal/ALCcontext.java +++ b/src/java/org/lwjgl/openal/ALCcontext.java @@ -82,7 +82,7 @@ public final class ALCcontext { * @param contextFrequency Frequency to add * @param contextRefresh Refresh rate to add * @param contextSynchronized Whether to synchronize the context - * @return + * @return attribute list */ static IntBuffer createAttributeList(int contextFrequency, int contextRefresh, int contextSynchronized) { IntBuffer attribList = BufferUtils.createIntBuffer(7); diff --git a/src/java/org/lwjgl/util/applet/AppletLoader.java b/src/java/org/lwjgl/util/applet/AppletLoader.java index 047d3edb..903dec2f 100644 --- a/src/java/org/lwjgl/util/applet/AppletLoader.java +++ b/src/java/org/lwjgl/util/applet/AppletLoader.java @@ -1867,8 +1867,8 @@ public class AppletLoader extends Applet implements Runnable, AppletStub { /** * Compare two certificate chains to see if they match * - * @param cert1 first chain of certificates - * @param cert2 second chain of certificates + * @param certs1 first chain of certificates + * @param certs2 second chain of certificates * * @return true if the certificate chains are the same */ @@ -2224,7 +2224,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub { /** * set the state of applet loader - * @param new state of applet loader + * @param state new state of applet loader * */ protected void setState(int state) { this.state = state; @@ -2256,4 +2256,4 @@ public class AppletLoader extends Applet implements Runnable, AppletStub { } } -} \ No newline at end of file +} diff --git a/src/java/org/lwjgl/util/glu/Project.java b/src/java/org/lwjgl/util/glu/Project.java index a3005c6a..7ea9b2b0 100644 --- a/src/java/org/lwjgl/util/glu/Project.java +++ b/src/java/org/lwjgl/util/glu/Project.java @@ -98,7 +98,7 @@ public class Project extends Util { * @param src * @param inverse * - * @return + * @return true if the matrix was succesfully inverted */ private static boolean __gluInvertMatrixf(FloatBuffer src, FloatBuffer inverse) { int i, j, k, swap; diff --git a/src/java/org/lwjgl/util/mapped/CacheLinePad.java b/src/java/org/lwjgl/util/mapped/CacheLinePad.java index 6ad2ab03..b6cdd5c1 100644 --- a/src/java/org/lwjgl/util/mapped/CacheLinePad.java +++ b/src/java/org/lwjgl/util/mapped/CacheLinePad.java @@ -52,15 +52,15 @@ public @interface CacheLinePad { /** * When true, cache-line padding will be inserted before the field. * - * @return + * @return true if cache-line padding will be inserted before the field */ boolean before() default false; /** * When true, cache-line padding will be inserted after the field. * - * @return + * @return true if cache-line padding will be inserted after the field */ boolean after() default true; -} \ No newline at end of file +}