From bc624f1f7353cf6be23c6ea65a0651a4a18dbb58 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Thu, 1 Feb 2018 23:39:31 -0800 Subject: [PATCH] correct more typographical errors in comments --- jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java | 4 ++-- jme3-core/src/main/java/com/jme3/system/JmeSystem.java | 4 ++-- .../src/main/java/jme3test/helloworld/HelloPhysics.java | 6 +++--- .../src/main/java/com/jme3/bullet/PhysicsSpace.java | 4 ++-- .../src/main/java/com/jme3/network/base/KernelAdapter.java | 4 ++-- .../java/com/jme3/network/service/rmi/RmiHostedService.java | 2 +- .../fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java | 4 ++-- jme3-vr/src/main/java/com/jme3/app/VRAppState.java | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java b/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java index 384512a33..f0df9740c 100644 --- a/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java +++ b/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -954,7 +954,7 @@ public class PhysicsSpace { * determinism in physics. For example a maximum number of 2 can compensate * for framerates as low as 30fps when the physics has the default accuracy * of 60 fps. Note that setting this value too high can make the physics - * drive down its own fps in case its overloaded. + * drive down its own fps in case it's overloaded. * * @param steps The maximum number of extra steps, default is 4. */ diff --git a/jme3-core/src/main/java/com/jme3/system/JmeSystem.java b/jme3-core/src/main/java/com/jme3/system/JmeSystem.java index 51c2173fd..4d57de017 100644 --- a/jme3-core/src/main/java/com/jme3/system/JmeSystem.java +++ b/jme3-core/src/main/java/com/jme3/system/JmeSystem.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -122,7 +122,7 @@ public class JmeSystem { * Compresses a raw image into a stream. * * The encoding is performed via system libraries. On desktop, the encoding - * is performed via ImageIO, whereas on Android, is is done via the + * is performed via ImageIO, whereas on Android, is done via the * Bitmap class. * * @param outStream The stream where to write the image data. diff --git a/jme3-examples/src/main/java/jme3test/helloworld/HelloPhysics.java b/jme3-examples/src/main/java/jme3test/helloworld/HelloPhysics.java index f1355e03e..0da38215d 100644 --- a/jme3-examples/src/main/java/jme3test/helloworld/HelloPhysics.java +++ b/jme3-examples/src/main/java/jme3test/helloworld/HelloPhysics.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -204,12 +204,12 @@ public class HelloPhysics extends SimpleApplication { rootNode.attachChild(ball_geo); /** Position the cannon ball */ ball_geo.setLocalTranslation(cam.getLocation()); - /** Make the ball physcial with a mass > 0.0f */ + /** Make the ball physical with a mass > 0.0f */ ball_phy = new RigidBodyControl(1f); /** Add physical ball to physics space. */ ball_geo.addControl(ball_phy); bulletAppState.getPhysicsSpace().add(ball_phy); - /** Accelerate the physcial ball to shoot it. */ + /** Accelerate the physical ball to shoot it. */ ball_phy.setLinearVelocity(cam.getDirection().mult(25)); } 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 524c1019c..fd934a162 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -827,7 +827,7 @@ public class PhysicsSpace { * when the fps is below the physics fps. Doing this maintains determinism in physics. * For example a maximum number of 2 can compensate for framerates as low as 30fps * when the physics has the default accuracy of 60 fps. Note that setting this - * value too high can make the physics drive down its own fps in case its overloaded. + * value too high can make the physics drive down its own fps in case it's overloaded. * @param steps The maximum number of extra steps, default is 4. */ public void setMaxSubSteps(int steps) { diff --git a/jme3-networking/src/main/java/com/jme3/network/base/KernelAdapter.java b/jme3-networking/src/main/java/com/jme3/network/base/KernelAdapter.java index 6d6fcef7b..0cddbdd24 100644 --- a/jme3-networking/src/main/java/com/jme3/network/base/KernelAdapter.java +++ b/jme3-networking/src/main/java/com/jme3/network/base/KernelAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -152,7 +152,7 @@ public class KernelAdapter extends Thread * than for any user-code safety. 99% of the time the user code should * be writing for multithreaded access anyway. * - *

The issue with the messages is that if a an implementation is + *

The issue with the messages is that if an implementation is * using a general thread pool then it would be possible for a * naive implementation to have one thread grab an Envelope from * connection 1's and another grab the next Envelope. Since an Envelope diff --git a/jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiHostedService.java b/jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiHostedService.java index 00110a661..766627464 100644 --- a/jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiHostedService.java +++ b/jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiHostedService.java @@ -150,7 +150,7 @@ public class RmiHostedService extends AbstractHostedService { * Set to true if all new connections should automatically have RMI hosting started. * Set to false if the game-specific connection setup will call startHostingOnConnection() * after some connection setup is done (for example, logging in). Note: generally - * is is safe to autohost RMI as long as callers are careful about what they've added + * is safe to autohost RMI as long as callers are careful about what they've added * using shareGlobal(). One reasonable use-case is to shareGlobal() some kind of login * service and nothing else. All other shared objects would then be added as connection * specific objects during successful login processing. diff --git a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java index accbdbbf4..43565837a 100644 --- a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java +++ b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java @@ -72,7 +72,7 @@ public class SceneLoader implements AssetLoader { // Scene objects private Map allObjects = new HashMap<>(); // All supported FBX objects private Map skinMap = new HashMap<>(); // Skin for bone clusters - private Map alayerMap = new HashMap<>(); // Amination layers + private Map alayerMap = new HashMap<>(); // Animation layers public Map modelMap = new HashMap<>(); // Nodes private Map limbMap = new HashMap<>(); // Nodes that are actually bones private Map bindMap = new HashMap<>(); // Node bind poses @@ -309,7 +309,7 @@ public class SceneLoader implements AssetLoader { animList.add(layer.name, layer.name, 0, -1); } } - // Extract aminations + // Extract animations HashMap anims = new HashMap(); for(AnimInverval animInfo : animList.list) { float realLength = 0; diff --git a/jme3-vr/src/main/java/com/jme3/app/VRAppState.java b/jme3-vr/src/main/java/com/jme3/app/VRAppState.java index 7035e4c98..2ff8c50d5 100644 --- a/jme3-vr/src/main/java/com/jme3/app/VRAppState.java +++ b/jme3-vr/src/main/java/com/jme3/app/VRAppState.java @@ -301,7 +301,7 @@ public class VRAppState extends AbstractAppState { } /** - * Set the scene observer. The VR headset will be linked to it. If no observer is set, the VR headset is linked to the the application {@link #getCamera() camera}. + * Set the scene observer. The VR headset will be linked to it. If no observer is set, the VR headset is linked to the application {@link #getCamera() camera}. * @param observer the scene observer. */ public void setObserver(Spatial observer) {