Skip to content

Commit c05e495

Browse files
committed
javadoc and whitespace
1 parent a1d4da3 commit c05e495

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/main/java/com/github/stephengold/joltjni/TwoBodyConstraintSettings.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ abstract public class TwoBodyConstraintSettings extends ConstraintSettings {
4848
public TwoBodyConstraint create(Body rigidBody1, Body rigidBody2) {
4949
long settingsVa = va();
5050
long body1Va = rigidBody1.va();
51-
assert !Body.isSoftBody(body1Va) :
52-
"body1 must be a rigid body.";
51+
assert !Body.isSoftBody(body1Va) : "body1 must be a rigid body.";
5352
long body2Va = rigidBody2.va();
54-
assert !Body.isSoftBody(body2Va) :
55-
"body2 must be a rigid body.";
53+
assert !Body.isSoftBody(body2Va) : "body2 must be a rigid body.";
5654
long constraintVa = createConstraint(settingsVa, body1Va, body2Va);
5755
TwoBodyConstraint result
5856
= (TwoBodyConstraint) Constraint.newConstraint(constraintVa);

src/test/java/testjoltjni/app/samples/SamplesContactListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ of this software and associated documentation files (the "Software"), to deal
3636
import com.github.stephengold.joltjni.readonly.RVec3Arg;
3737

3838
/**
39-
* A {@code ContactListener} for use with Jolt-JNI "Samples" tests.
39+
* A {@code ContactListener} for use with Jolt-JNI "Samples" apps.
4040
*
4141
* @author Stephen Gold [email protected]
4242
*/

0 commit comments

Comments
 (0)