Explorar o código

#1107-Fix Javadoc warnings in OpenJDK 9+

Lou Hamersly %!s(int64=6) %!d(string=hai) anos
pai
achega
cde108c2c0

+ 1 - 1
jme3-android/src/main/java/com/jme3/app/AndroidHarness.java

@@ -88,7 +88,7 @@ public class AndroidHarness extends Activity implements TouchListener, DialogInt
     protected int eglStencilBits = 0;
 
     /**
-     * Set the desired frame rate.  If frameRate > 0, the application
+     * Set the desired frame rate.  If frameRate higher than 0, the application
      * will be capped at the desired frame rate.
      * (default = -1, no frame rate cap)
      */

+ 2 - 2
jme3-android/src/main/java/com/jme3/app/AndroidHarnessFragment.java

@@ -116,7 +116,7 @@ public class AndroidHarnessFragment extends Fragment implements
     protected int eglStencilBits = 0;
 
     /**
-     * Set the desired frame rate.  If frameRate > 0, the application
+     * Set the desired frame rate.  If frameRate higher than 0, the application
      * will be capped at the desired frame rate.
      * (default = -1, no frame rate cap)
      */
@@ -129,7 +129,7 @@ public class AndroidHarnessFragment extends Fragment implements
      * will have the resolution set to a maximum of maxResolutionDimension.
      * The other direction will be set to a value that maintains the aspect
      * ratio of the surfaceview. </br>
-     * Any value < 0 (default = -1) will result in the surfaceview having the
+     * Any value less than 0 (default = -1) will result in the surfaceview having the
      * same resolution as the view layout (ie. no max resolution).
      */
     protected int maxResolutionDimension = -1;

+ 1 - 1
jme3-android/src/main/java/com/jme3/app/DefaultAndroidProfiler.java

@@ -63,7 +63,7 @@ import com.jme3.renderer.queue.RenderQueue;
  *
  *  <p>This profiler uses the Android Trace class which is only supported
  *  on Android SDK rev 18 and higher (ver 4.3 and higher).  If the
- *  device is running a version < rev 18, the logging will
+ *  device is running a version less than rev 18, the logging will
  *  be skipped.</p>
  *
  *  <p>In the MainActivity class, add the following:</p>

+ 2 - 1
jme3-android/src/main/java/com/jme3/input/android/AndroidJoyInput.java

@@ -71,10 +71,11 @@ import java.util.logging.Logger;
  * This is done to allow for battery conservation when sensor data or gamepads
  * are not required by the application.
  *
+ * {@code
  * To use the joystick rumble feature, the following line needs to be
  * added to the Android Manifest File
  *     <uses-permission android:name="android.permission.VIBRATE"/>
- *
+ * }
  * @author iwgeric
  */
 public class AndroidJoyInput implements JoyInput {

+ 1 - 1
jme3-blender/src/main/java/com/jme3/scene/plugins/blender/constraints/definitions/ConstraintDefinition.java

@@ -151,7 +151,7 @@ public abstract class ConstraintDefinition {
      * @param targetTransform
      *            the target transform used by some of the constraints
      * @param influence
-     *            the influence of the constraint (from range <0; 1>)
+     *            the influence of the constraint from range [0; 1]
      */
     public abstract void bake(Space ownerSpace, Space targetSpace, Transform targetTransform, float influence);
 

+ 1 - 1
jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/TextureHelper.java

@@ -313,7 +313,7 @@ public class TextureHelper extends AbstractBlenderHelper {
      * This method returns the proper pixel position on the image.
      * 
      * @param pos
-     *            the relative position (value of range <0, 1> (both inclusive))
+     *            the relative position (value of range [0, 1] (both inclusive))
      * @param size
      *            the size of the line the pixel lies on (width, height or
      *            depth)

+ 2 - 2
jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/TexturePixel.java

@@ -118,7 +118,7 @@ public class TexturePixel implements Cloneable {
 
     /**
      * This method sets the alpha value (converts it to float number from range
-     * <0, 1>).
+     * [0, 1]).
      * 
      * @param alpha
      *            the alpha value
@@ -129,7 +129,7 @@ public class TexturePixel implements Cloneable {
 
     /**
      * This method sets the alpha value (converts it to float number from range
-     * <0, 1>).
+     * [0, 1]).
      * 
      * @param alpha
      *            the alpha value

+ 1 - 1
jme3-effects/src/main/java/com/jme3/post/filters/CrossHatchFilter.java

@@ -157,7 +157,7 @@ public class CrossHatchFilter extends Filter {
     }
 
     /**
-     * Sets line/paper color ratio for areas with values < luminance5,
+     * Sets line/paper color ratio for areas with values less than luminance5,
      * really dark areas get no lines but a filled blob instead
      * @param fillValue 
      */

+ 1 - 1
jme3-effects/src/main/java/com/jme3/water/SimpleWaterProcessor.java

@@ -81,7 +81,7 @@ import com.jme3.ui.Picture;
  *      //attaching the water to the root node
  *      rootNode.attachChild(water);
  * </code>
- * @author Normen Hansen & Rémy Bouquet
+ * @author Normen Hansen and Rémy Bouquet
  */
 public class SimpleWaterProcessor implements SceneProcessor {
 

+ 1 - 1
jme3-networking/src/main/java/com/jme3/network/base/MessageProtocol.java

@@ -99,7 +99,7 @@ public class MessageProtocol
      *  Adds the specified buffer, extracting the contained messages 
      *  and making them available to getMessage().  The left over
      *  data is buffered to be combined with future data.
-     &
+     *
      *  @return The total number of queued messages after this call.       
      */
     public int addBuffer( ByteBuffer buffer )

+ 1 - 1
jme3-terrain/src/main/java/com/jme3/terrain/noise/fractal/FractalSum.java

@@ -36,7 +36,7 @@ import com.jme3.terrain.noise.basis.Noise;
 
 /**
  * FractalSum is the simplest form of fractal functions summing up a few octaves
- * of the noise value with an ever decreasing (0 < roughness < 1) amplitude
+ * of the noise value with an ever decreasing roughness (0 to 1) amplitude
  * 
  * lacunarity = 2.0f is the classical octave distance
  *