From cf45e66d115de5a1d05f847c5ca2262773eceb94 Mon Sep 17 00:00:00 2001 From: Lou Hamersly Date: Sun, 2 Jun 2019 22:32:45 -0400 Subject: [PATCH] Fix Javadoc warnings in OpenJDK 9+ --- .../src/main/java/com/jme3/bullet/PhysicsSpace.java | 6 +++--- .../main/java/com/jme3/bullet/objects/PhysicsVehicle.java | 4 ++-- .../src/main/java/com/jme3/bullet/objects/VehicleWheel.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java b/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java index 2099f7f23..42ac5040a 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java @@ -788,7 +788,7 @@ public class PhysicsSpace { /** * Performs a sweep collision test and returns the results as a list of PhysicsSweepTestResults
- * You have to use different Transforms for start and end (at least distance > 0.4f). + * You have to use different Transforms for start and end (at least distance greater than 0.4f). * SweepTest will not see a collision if it starts INSIDE an object and is moving AWAY from its center. */ public List sweepTest(CollisionShape shape, Transform start, Transform end) { @@ -804,7 +804,7 @@ public class PhysicsSpace { /** * Performs a sweep collision test and returns the results as a list of PhysicsSweepTestResults
- * You have to use different Transforms for start and end (at least distance > 0.4f). + * You have to use different Transforms for start and end (at least distance greater than 0.4f). * SweepTest will not see a collision if it starts INSIDE an object and is moving AWAY from its center. */ public List sweepTest(CollisionShape shape, Transform start, Transform end, List results) { @@ -917,7 +917,7 @@ public class PhysicsSpace { * * The default is 10. Use 4 for low quality, 20 for high quality. * - * @param numIterations The number of iterations used by the contact & constraint solver. + * @param numIterations The number of iterations used by the contact and constraint solver. */ public void setSolverNumIterations(int numIterations) { dynamicsWorld.getSolverInfo().numIterations = numIterations; diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsVehicle.java b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsVehicle.java index 529cb9c86..b0bccaa4b 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsVehicle.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsVehicle.java @@ -301,7 +301,7 @@ public class PhysicsVehicle extends PhysicsRigidBody { * After adding the wheel, use direct wheel access.
* The damping coefficient for when the suspension is compressed. * Set to k * 2.0 * FastMath.sqrt(m_suspensionStiffness) so k is proportional to critical damping.
- * k = 0.0 undamped & bouncy, k = 1.0 critical damping
+ * k = 0.0 undamped/bouncy, k = 1.0 critical damping
* 0.1 to 0.3 are good values * @param suspensionCompression the suspensionCompression to set */ @@ -312,7 +312,7 @@ public class PhysicsVehicle extends PhysicsRigidBody { /** * The damping coefficient for when the suspension is compressed. * Set to k * 2.0 * FastMath.sqrt(m_suspensionStiffness) so k is proportional to critical damping.
- * k = 0.0 undamped & bouncy, k = 1.0 critical damping
+ * k = 0.0 undamped/bouncy, k = 1.0 critical damping
* 0.1 to 0.3 are good values * @param wheel * @param suspensionCompression diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java index 789e0c682..0490626a9 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/objects/VehicleWheel.java @@ -178,7 +178,7 @@ public class VehicleWheel implements Savable { /** * the damping coefficient for when the suspension is compressed. * Set to k * 2.0 * FastMath.sqrt(m_suspensionStiffness) so k is proportional to critical damping.
- * k = 0.0 undamped & bouncy, k = 1.0 critical damping
+ * k = 0.0 undamped/bouncy, k = 1.0 critical damping
* 0.1 to 0.3 are good values * @param wheelsDampingCompression */