From c83d7c6e47f5f90eefdfe0e162bfd5b314147d1e Mon Sep 17 00:00:00 2001 From: stephengold Date: Wed, 26 Jun 2024 21:07:06 -0700 Subject: [PATCH] javadoc, comments, and whitespace --- build.gradle | 6 +++--- src/main/java/com/jme3/bullet/CollisionSpace.java | 2 +- src/main/java/com/jme3/system/JmeSystem.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index e1d3d438..3fee900e 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { id 'application' // to build JVM applications id 'checkstyle' // to analyze Java sourcecode for style violations - id 'cpp' // to compile C/C++ sourcecode and link native libraries + id 'cpp' // to compile C/C++ code and link native libraries id 'java-library' // to build JVM libraries id 'maven-publish' // to publish artifacts to Maven repositories id 'signing' // to sign artifacts for publication @@ -21,12 +21,11 @@ sourceSets.main.java { srcDir 'src/main/java' srcDir 'src/main/native' // for IDE access (no Java there) } - sourceSets.test.java { srcDir 'src/test/java' } -// Regenerate all JNI header files before compiling any C++ source code. +// Regenerate all JNI header files before compiling any C++ code. tasks.withType(CppCompile) { dependsOn('classes', 'compileTestJava') } @@ -415,6 +414,7 @@ jar { java.withJavadocJar() javadocJar { archiveBaseName = project.ext.baseName } + tasks.register('sourcesJar', Jar) { archiveBaseName = project.ext.baseName archiveClassifier = 'sources' diff --git a/src/main/java/com/jme3/bullet/CollisionSpace.java b/src/main/java/com/jme3/bullet/CollisionSpace.java index 903312df..491136b7 100644 --- a/src/main/java/com/jme3/bullet/CollisionSpace.java +++ b/src/main/java/com/jme3/bullet/CollisionSpace.java @@ -303,7 +303,7 @@ public PhysicsSpace.BroadphaseType getBroadphaseType() { } /** - * Access the CollisionSpace associated with this thread. + * Access the CollisionSpace associated with the current thread. * * @return the pre-existing CollisionSpace, or {@code null} if none */ diff --git a/src/main/java/com/jme3/system/JmeSystem.java b/src/main/java/com/jme3/system/JmeSystem.java index f14583db..87c10e11 100644 --- a/src/main/java/com/jme3/system/JmeSystem.java +++ b/src/main/java/com/jme3/system/JmeSystem.java @@ -32,7 +32,7 @@ package com.jme3.system; /** - * Utility class to access platform-dependant features. + * Utility class to access platform-dependent features. */ public class JmeSystem { // *************************************************************************