From dae85e1598f80d8ce59da0f0c53a8db128bd2378 Mon Sep 17 00:00:00 2001 From: Ali-RS Date: Tue, 12 Feb 2019 09:10:32 +0330 Subject: [PATCH] Removed unused imports. (#1020) --- .../src/main/java/com/jme3/app/AndroidHarness.java | 1 - .../com/jme3/asset/plugins/AndroidLocator.java | 1 - .../input/android/AndroidGestureProcessor.java | 1 - .../jme3/input/android/AndroidInputHandler.java | 1 - .../jme3/input/android/AndroidInputHandler14.java | 1 - .../jme3/input/android/AndroidTouchInput14.java | 1 - .../main/java/com/jme3/bullet/PhysicsSpace.java | 1 - .../collision/shapes/MeshCollisionShape.java | 1 - .../src/main/java/com/jme3/anim/AnimClip.java | 2 -- .../src/main/java/com/jme3/anim/MorphTrack.java | 2 -- .../main/java/com/jme3/anim/TransformTrack.java | 2 -- .../src/main/java/com/jme3/anim/tween/Tween.java | 3 --- .../com/jme3/anim/tween/action/BaseAction.java | 1 - .../src/main/java/com/jme3/anim/util/Weighted.java | 1 - .../java/com/jme3/animation/CompactFloatArray.java | 1 - .../com/jme3/app/state/ScreenshotAppState.java | 1 - .../src/main/java/com/jme3/asset/AssetConfig.java | 1 - .../src/main/java/com/jme3/audio/AudioStream.java | 1 - .../main/java/com/jme3/cinematic/Cinematic.java | 3 --- .../com/jme3/cinematic/events/CameraEvent.java | 4 ---- .../main/java/com/jme3/effect/ParticleMesh.java | 1 - .../influencers/DefaultParticleInfluencer.java | 1 - .../influencers/EmptyParticleInfluencer.java | 1 - .../influencers/NewtonianParticleInfluencer.java | 2 -- .../com/jme3/effect/shapes/EmitterBoxShape.java | 1 - .../jme3/effect/shapes/EmitterMeshVertexShape.java | 1 - .../com/jme3/effect/shapes/EmitterPointShape.java | 1 - .../com/jme3/effect/shapes/EmitterSphereShape.java | 1 - .../IrradianceSphericalHarmonicsGenerator.java | 6 ------ .../jme3/environment/util/LightsDebugState.java | 1 - .../main/java/com/jme3/font/BitmapTextPage.java | 1 - .../src/main/java/com/jme3/light/AmbientLight.java | 1 - .../src/main/java/com/jme3/light/PointLight.java | 1 - .../main/java/com/jme3/light/SphereProbeArea.java | 1 - .../main/java/com/jme3/material/MaterialDef.java | 1 - .../material/logic/MultiPassLightingLogic.java | 6 ------ .../SinglePassAndImageBasedLightingLogic.java | 1 - .../src/main/java/com/jme3/math/Vector2f.java | 1 - .../src/main/java/com/jme3/renderer/ViewPort.java | 1 - jme3-core/src/main/java/com/jme3/scene/Mesh.java | 1 - .../main/java/com/jme3/scene/SimpleBatchNode.java | 1 - .../java/com/jme3/scene/control/CameraControl.java | 1 - .../jme3/scene/debug/custom/ArmatureDebugger.java | 1 - .../com/jme3/shader/Glsl150ShaderGenerator.java | 1 - .../java/com/jme3/shadow/PssmShadowRenderer.java | 1 - .../src/main/java/com/jme3/system/JmeSystem.java | 2 -- .../java/com/jme3/system/JmeSystemDelegate.java | 3 --- .../main/java/com/jme3/texture/TextureArray.java | 2 -- .../java/com/jme3/texture/image/ImageRaster.java | 1 - .../src/main/java/com/jme3/util/SkyFactory.java | 1 - .../com/jme3/util/TangentBinormalGenerator.java | 2 -- .../src/main/java/com/jme3/util/TempVars.java | 1 - .../test/java/com/jme3/material/MaterialTest.java | 1 - .../com/jme3/renderer/OpaqueComparatorTest.java | 1 - .../com/jme3/scene/SceneMatParamOverrideTest.java | 1 - .../jme3test/animation/TestCameraMotionPath.java | 1 - .../java/jme3test/animation/TestMotionPath.java | 2 -- .../java/jme3test/app/TestAppStateLifeCycle.java | 1 - .../main/java/jme3test/app/TestBareBonesApp.java | 1 - .../main/java/jme3test/app/TestCloneSpatial.java | 1 - .../java/jme3test/app/TestReleaseDirectMemory.java | 1 - .../main/java/jme3test/app/TestResizableApp.java | 2 -- .../main/java/jme3test/app/TestUseAfterFree.java | 2 -- .../main/java/jme3test/asset/TestOnlineJar.java | 3 --- .../src/main/java/jme3test/awt/TestAwtPanels.java | 1 - .../src/main/java/jme3test/awt/TestSafeCanvas.java | 1 - .../java/jme3test/bullet/TestHoveringTank.java | 1 - .../main/java/jme3test/effect/TestEverything.java | 1 - .../effect/TestParticleExportingCloning.java | 3 --- .../java/jme3test/gui/TestBitmapFontLayout.java | 10 ---------- .../main/java/jme3test/helloworld/HelloJME3.java | 1 - .../java/jme3test/light/ShadowTestUIManager.java | 1 - .../src/main/java/jme3test/light/TestColorApp.java | 2 -- .../jme3test/light/TestDirectionalLightShadow.java | 2 -- .../main/java/jme3test/light/TestObbVsBounds.java | 3 --- .../main/java/jme3test/light/TestShadowsPerf.java | 2 -- .../java/jme3test/light/TestSpotLightShadows.java | 1 - .../main/java/jme3test/light/TestTangentCube.java | 1 - .../java/jme3test/light/TestTwoSideLighting.java | 2 -- .../jme3test/light/pbr/TestPBRDirectLighting.java | 14 -------------- .../java/jme3test/light/pbr/TestPBRLighting.java | 1 - .../jme3test/model/anim/TestAnimMigration.java | 3 --- .../model/anim/TestAnimMorphSerialization.java | 3 --- .../java/jme3test/model/anim/TestHWSkinning.java | 1 - .../main/java/jme3test/model/anim/TestMorph.java | 2 -- .../main/java/jme3test/niftygui/TestNiftyGui.java | 1 - .../java/jme3test/niftygui/TestNiftyToMesh.java | 1 - .../jme3test/opencl/TestMultipleApplications.java | 1 - .../java/jme3test/opencl/TestOpenCLLibraries.java | 2 -- .../src/main/java/jme3test/post/TestFog.java | 4 ---- .../main/java/jme3test/post/TestPostFilters.java | 3 --- .../jme3test/post/TestPostFiltersCompositing.java | 5 ----- .../main/java/jme3test/post/TestPosterization.java | 2 -- .../java/jme3test/post/TestRenderToMemory.java | 1 - .../jme3test/renderer/TestDepthFuncChange.java | 1 - .../jme3test/stress/TestShaderNodesStress.java | 1 - .../terrain/TerrainGridSerializationTest.java | 1 - .../jme3test/texture/TestAnisotropicFilter.java | 1 - .../java/jme3test/texture/ktx/TestLoadKtx.java | 4 ---- .../java/com/jme3/renderer/ios/JmeIosGLES.java | 1 - .../java/com/jme3/system/ios/JmeIosSystem.java | 2 -- .../collision/shapes/CapsuleCollisionShape.java | 3 --- .../collision/shapes/SphereCollisionShape.java | 3 --- .../com/jme3/bullet/objects/PhysicsVehicle.java | 4 ---- .../main/java/com/jme3/opencl/jocl/JoclBuffer.java | 1 - .../main/java/com/jme3/opencl/jocl/JoclDevice.java | 2 -- .../main/java/com/jme3/opencl/jocl/JoclEvent.java | 1 - .../java/com/jme3/opencl/jocl/JoclPlatform.java | 3 --- .../java/com/jme3/opencl/jocl/JoclProgram.java | 1 - .../src/main/java/com/jme3/opencl/jocl/Utils.java | 6 ------ .../java/com/jme3/system/jogl/JoglContext.java | 1 - .../com/jme3/opencl/lwjgl/LwjglCommandQueue.java | 1 - .../java/com/jme3/opencl/lwjgl/LwjglDevice.java | 1 - .../java/com/jme3/opencl/lwjgl/LwjglPlatform.java | 1 - .../java/com/jme3/system/lwjgl/LwjglContext.java | 1 - .../java/com/jme3/opencl/lwjgl/LwjglDevice.java | 1 - .../java/com/jme3/opencl/lwjgl/LwjglPlatform.java | 5 ----- .../com/jme3/network/serializing/Serializer.java | 1 - .../jme3/scene/plugins/fbx/ContentTextureKey.java | 1 - .../java/com/jme3/scene/plugins/fbx/FbxLoader.java | 1 - .../com/jme3/scene/plugins/gltf/GltfLoader.java | 1 - .../plugin/export/materialdef/J3mdExporter.java | 3 --- .../export/materialdef/J3mdMatParamWriter.java | 2 -- .../com/jme3/scene/plugins/ogre/SceneLoader.java | 1 - .../jme3/scene/plugins/gltf/GltfLoaderTest.java | 1 - .../java/com/jme3/terrain/geomipmap/LODGeomap.java | 1 - .../com/jme3/terrain/geomipmap/TerrainGrid.java | 1 - jme3-vr/src/main/java/com/jme3/app/VRAppState.java | 1 - 128 files changed, 231 deletions(-) diff --git a/jme3-android/src/main/java/com/jme3/app/AndroidHarness.java b/jme3-android/src/main/java/com/jme3/app/AndroidHarness.java index 142a23d98..5ca059e9a 100644 --- a/jme3-android/src/main/java/com/jme3/app/AndroidHarness.java +++ b/jme3-android/src/main/java/com/jme3/app/AndroidHarness.java @@ -3,7 +3,6 @@ package com.jme3.app; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; -import android.content.pm.ActivityInfo; import android.graphics.drawable.Drawable; import android.graphics.drawable.NinePatchDrawable; import android.opengl.GLSurfaceView; diff --git a/jme3-android/src/main/java/com/jme3/asset/plugins/AndroidLocator.java b/jme3-android/src/main/java/com/jme3/asset/plugins/AndroidLocator.java index cb102e582..7c7200bb9 100644 --- a/jme3-android/src/main/java/com/jme3/asset/plugins/AndroidLocator.java +++ b/jme3-android/src/main/java/com/jme3/asset/plugins/AndroidLocator.java @@ -6,7 +6,6 @@ import com.jme3.asset.*; import com.jme3.system.android.JmeAndroidSystem; import java.io.IOException; import java.io.InputStream; -import java.util.logging.Level; import java.util.logging.Logger; public class AndroidLocator implements AssetLocator { diff --git a/jme3-android/src/main/java/com/jme3/input/android/AndroidGestureProcessor.java b/jme3-android/src/main/java/com/jme3/input/android/AndroidGestureProcessor.java index 2c0367946..e905a852b 100644 --- a/jme3-android/src/main/java/com/jme3/input/android/AndroidGestureProcessor.java +++ b/jme3-android/src/main/java/com/jme3/input/android/AndroidGestureProcessor.java @@ -36,7 +36,6 @@ import android.view.GestureDetector; import android.view.MotionEvent; import android.view.ScaleGestureDetector; import com.jme3.input.event.TouchEvent; -import java.util.logging.Level; import java.util.logging.Logger; /** diff --git a/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler.java b/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler.java index 9f4729c66..b52cad7d2 100644 --- a/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler.java +++ b/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler.java @@ -42,7 +42,6 @@ import android.view.View; import com.jme3.input.JoyInput; import com.jme3.input.TouchInput; import com.jme3.system.AppSettings; -import java.util.logging.Level; import java.util.logging.Logger; /** diff --git a/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler14.java b/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler14.java index 59df7c26c..ad11cd934 100644 --- a/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler14.java +++ b/jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler14.java @@ -37,7 +37,6 @@ import android.view.InputDevice; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; -import java.util.logging.Level; import java.util.logging.Logger; /** diff --git a/jme3-android/src/main/java/com/jme3/input/android/AndroidTouchInput14.java b/jme3-android/src/main/java/com/jme3/input/android/AndroidTouchInput14.java index 617a4b719..7b5e987b5 100644 --- a/jme3-android/src/main/java/com/jme3/input/android/AndroidTouchInput14.java +++ b/jme3-android/src/main/java/com/jme3/input/android/AndroidTouchInput14.java @@ -36,7 +36,6 @@ import android.view.MotionEvent; import com.jme3.input.event.TouchEvent; import com.jme3.math.Vector2f; import java.util.HashMap; -import java.util.logging.Level; import java.util.logging.Logger; /** 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 ea5f74518..76d4463e1 100644 --- a/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java +++ b/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java @@ -55,7 +55,6 @@ import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Comparator; -import java.util.Deque; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue; diff --git a/jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java b/jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java index dead3294c..60089fdde 100644 --- a/jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java +++ b/jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java @@ -33,7 +33,6 @@ package com.jme3.bullet.collision.shapes; import java.io.IOException; import java.nio.ByteBuffer; -import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.util.logging.Level; import java.util.logging.Logger; diff --git a/jme3-core/src/main/java/com/jme3/anim/AnimClip.java b/jme3-core/src/main/java/com/jme3/anim/AnimClip.java index 9b86858a3..be29e2105 100644 --- a/jme3-core/src/main/java/com/jme3/anim/AnimClip.java +++ b/jme3-core/src/main/java/com/jme3/anim/AnimClip.java @@ -1,8 +1,6 @@ package com.jme3.anim; -import com.jme3.anim.tween.Tween; import com.jme3.export.*; -import com.jme3.util.SafeArrayList; import com.jme3.util.clone.Cloner; import com.jme3.util.clone.JmeCloneable; diff --git a/jme3-core/src/main/java/com/jme3/anim/MorphTrack.java b/jme3-core/src/main/java/com/jme3/anim/MorphTrack.java index cd662c11e..5056794f2 100644 --- a/jme3-core/src/main/java/com/jme3/anim/MorphTrack.java +++ b/jme3-core/src/main/java/com/jme3/anim/MorphTrack.java @@ -32,11 +32,9 @@ package com.jme3.anim; import com.jme3.anim.interpolator.FrameInterpolator; -import com.jme3.animation.*; import com.jme3.export.*; import com.jme3.scene.Geometry; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; diff --git a/jme3-core/src/main/java/com/jme3/anim/TransformTrack.java b/jme3-core/src/main/java/com/jme3/anim/TransformTrack.java index dee2aefb9..94afdd7fb 100644 --- a/jme3-core/src/main/java/com/jme3/anim/TransformTrack.java +++ b/jme3-core/src/main/java/com/jme3/anim/TransformTrack.java @@ -32,14 +32,12 @@ package com.jme3.anim; import com.jme3.anim.interpolator.FrameInterpolator; -import com.jme3.anim.tween.Tween; import com.jme3.anim.util.HasLocalTransform; import com.jme3.animation.CompactQuaternionArray; import com.jme3.animation.CompactVector3Array; import com.jme3.export.*; import com.jme3.math.*; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; diff --git a/jme3-core/src/main/java/com/jme3/anim/tween/Tween.java b/jme3-core/src/main/java/com/jme3/anim/tween/Tween.java index 9ed4752c8..e79b4d29e 100644 --- a/jme3-core/src/main/java/com/jme3/anim/tween/Tween.java +++ b/jme3-core/src/main/java/com/jme3/anim/tween/Tween.java @@ -36,9 +36,6 @@ package com.jme3.anim.tween; - -import com.jme3.export.Savable; - /** * Represents some action that interpolates across input between 0 * and some length value. (For example, movement, rotation, fading.) diff --git a/jme3-core/src/main/java/com/jme3/anim/tween/action/BaseAction.java b/jme3-core/src/main/java/com/jme3/anim/tween/action/BaseAction.java index d2e891343..7de04bc74 100644 --- a/jme3-core/src/main/java/com/jme3/anim/tween/action/BaseAction.java +++ b/jme3-core/src/main/java/com/jme3/anim/tween/action/BaseAction.java @@ -4,7 +4,6 @@ import com.jme3.anim.tween.ContainsTweens; import com.jme3.anim.tween.Tween; import com.jme3.util.SafeArrayList; -import java.util.Collections; import java.util.List; public class BaseAction extends Action { diff --git a/jme3-core/src/main/java/com/jme3/anim/util/Weighted.java b/jme3-core/src/main/java/com/jme3/anim/util/Weighted.java index 8fb6d3255..f771d44ed 100644 --- a/jme3-core/src/main/java/com/jme3/anim/util/Weighted.java +++ b/jme3-core/src/main/java/com/jme3/anim/util/Weighted.java @@ -1,7 +1,6 @@ package com.jme3.anim.util; import com.jme3.anim.tween.action.Action; -import com.jme3.math.Transform; public interface Weighted { diff --git a/jme3-core/src/main/java/com/jme3/animation/CompactFloatArray.java b/jme3-core/src/main/java/com/jme3/animation/CompactFloatArray.java index a879ef1cb..097bfa400 100644 --- a/jme3-core/src/main/java/com/jme3/animation/CompactFloatArray.java +++ b/jme3-core/src/main/java/com/jme3/animation/CompactFloatArray.java @@ -32,7 +32,6 @@ package com.jme3.animation; import com.jme3.export.*; -import com.jme3.math.Vector3f; import java.io.IOException; diff --git a/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java b/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java index 6fa35c2d7..4a2b1acc8 100644 --- a/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java +++ b/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java @@ -45,7 +45,6 @@ import com.jme3.renderer.ViewPort; import com.jme3.renderer.queue.RenderQueue; import com.jme3.system.JmeSystem; import com.jme3.texture.FrameBuffer; -import com.jme3.texture.Image; import com.jme3.util.BufferUtils; import java.io.File; import java.io.FileOutputStream; diff --git a/jme3-core/src/main/java/com/jme3/asset/AssetConfig.java b/jme3-core/src/main/java/com/jme3/asset/AssetConfig.java index 71c4d8bb1..bef9cfece 100644 --- a/jme3-core/src/main/java/com/jme3/asset/AssetConfig.java +++ b/jme3-core/src/main/java/com/jme3/asset/AssetConfig.java @@ -33,7 +33,6 @@ package com.jme3.asset; import java.io.IOException; import java.io.InputStream; -import java.net.URISyntaxException; import java.net.URL; import java.util.Locale; import java.util.Scanner; diff --git a/jme3-core/src/main/java/com/jme3/audio/AudioStream.java b/jme3-core/src/main/java/com/jme3/audio/AudioStream.java index 598ae189c..1047c673b 100644 --- a/jme3-core/src/main/java/com/jme3/audio/AudioStream.java +++ b/jme3-core/src/main/java/com/jme3/audio/AudioStream.java @@ -35,7 +35,6 @@ import com.jme3.util.NativeObject; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; -import java.util.logging.Level; import java.util.logging.Logger; /** diff --git a/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java b/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java index c14ac9dbd..253ae735f 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java @@ -41,13 +41,10 @@ import com.jme3.cinematic.events.CinematicEvent; import com.jme3.export.*; import com.jme3.renderer.Camera; import com.jme3.renderer.RenderManager; -import com.jme3.renderer.ViewPort; import com.jme3.scene.CameraNode; import com.jme3.scene.Node; -import com.jme3.scene.Spatial; import com.jme3.scene.control.CameraControl; import com.jme3.scene.control.CameraControl.ControlDirection; -import com.jme3.scene.control.Control; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/CameraEvent.java b/jme3-core/src/main/java/com/jme3/cinematic/events/CameraEvent.java index 80d677e3c..91b9ee5e1 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/CameraEvent.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/CameraEvent.java @@ -33,15 +33,11 @@ package com.jme3.cinematic.events; import com.jme3.app.Application; import com.jme3.cinematic.Cinematic; -import com.jme3.cinematic.TimeLine; import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; -import com.jme3.export.Savable; -import com.jme3.scene.CameraNode; import java.io.IOException; -import java.util.Map; /** * diff --git a/jme3-core/src/main/java/com/jme3/effect/ParticleMesh.java b/jme3-core/src/main/java/com/jme3/effect/ParticleMesh.java index 7d0d2d92d..11e05555d 100644 --- a/jme3-core/src/main/java/com/jme3/effect/ParticleMesh.java +++ b/jme3-core/src/main/java/com/jme3/effect/ParticleMesh.java @@ -31,7 +31,6 @@ */ package com.jme3.effect; -import com.jme3.material.RenderState; import com.jme3.math.Matrix3f; import com.jme3.renderer.Camera; import com.jme3.scene.Mesh; diff --git a/jme3-core/src/main/java/com/jme3/effect/influencers/DefaultParticleInfluencer.java b/jme3-core/src/main/java/com/jme3/effect/influencers/DefaultParticleInfluencer.java index 9cd06f0e3..efe26af49 100644 --- a/jme3-core/src/main/java/com/jme3/effect/influencers/DefaultParticleInfluencer.java +++ b/jme3-core/src/main/java/com/jme3/effect/influencers/DefaultParticleInfluencer.java @@ -40,7 +40,6 @@ import com.jme3.export.OutputCapsule; import com.jme3.math.FastMath; import com.jme3.math.Vector3f; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; /** diff --git a/jme3-core/src/main/java/com/jme3/effect/influencers/EmptyParticleInfluencer.java b/jme3-core/src/main/java/com/jme3/effect/influencers/EmptyParticleInfluencer.java index 88e938430..0271df110 100644 --- a/jme3-core/src/main/java/com/jme3/effect/influencers/EmptyParticleInfluencer.java +++ b/jme3-core/src/main/java/com/jme3/effect/influencers/EmptyParticleInfluencer.java @@ -37,7 +37,6 @@ import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.math.Vector3f; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; /** diff --git a/jme3-core/src/main/java/com/jme3/effect/influencers/NewtonianParticleInfluencer.java b/jme3-core/src/main/java/com/jme3/effect/influencers/NewtonianParticleInfluencer.java index b0bc1be25..b2f81f9a8 100644 --- a/jme3-core/src/main/java/com/jme3/effect/influencers/NewtonianParticleInfluencer.java +++ b/jme3-core/src/main/java/com/jme3/effect/influencers/NewtonianParticleInfluencer.java @@ -39,8 +39,6 @@ import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.math.FastMath; import com.jme3.math.Matrix3f; -import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; /** diff --git a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterBoxShape.java b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterBoxShape.java index 6b29843c9..be9d0257d 100644 --- a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterBoxShape.java +++ b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterBoxShape.java @@ -38,7 +38,6 @@ import com.jme3.export.OutputCapsule; import com.jme3.math.FastMath; import com.jme3.math.Vector3f; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; public class EmitterBoxShape implements EmitterShape { diff --git a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterMeshVertexShape.java b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterMeshVertexShape.java index e6e35d9cf..5d209b558 100644 --- a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterMeshVertexShape.java +++ b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterMeshVertexShape.java @@ -41,7 +41,6 @@ import com.jme3.scene.Mesh; import com.jme3.scene.VertexBuffer.Type; import com.jme3.util.BufferUtils; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; diff --git a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterPointShape.java b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterPointShape.java index e33691101..fb89be826 100644 --- a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterPointShape.java +++ b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterPointShape.java @@ -36,7 +36,6 @@ import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.math.Vector3f; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; public class EmitterPointShape implements EmitterShape { diff --git a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterSphereShape.java b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterSphereShape.java index a74eeaf39..015be8b83 100644 --- a/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterSphereShape.java +++ b/jme3-core/src/main/java/com/jme3/effect/shapes/EmitterSphereShape.java @@ -38,7 +38,6 @@ import com.jme3.export.OutputCapsule; import com.jme3.math.FastMath; import com.jme3.math.Vector3f; import com.jme3.util.clone.Cloner; -import com.jme3.util.clone.JmeCloneable; import java.io.IOException; public class EmitterSphereShape implements EmitterShape { diff --git a/jme3-core/src/main/java/com/jme3/environment/generation/IrradianceSphericalHarmonicsGenerator.java b/jme3-core/src/main/java/com/jme3/environment/generation/IrradianceSphericalHarmonicsGenerator.java index d098fa61d..2e80ea3aa 100644 --- a/jme3-core/src/main/java/com/jme3/environment/generation/IrradianceSphericalHarmonicsGenerator.java +++ b/jme3-core/src/main/java/com/jme3/environment/generation/IrradianceSphericalHarmonicsGenerator.java @@ -32,18 +32,12 @@ package com.jme3.environment.generation; import com.jme3.app.Application; -import com.jme3.environment.util.CubeMapWrapper; import com.jme3.environment.util.EnvMapUtils; import com.jme3.light.LightProbe; -import com.jme3.math.ColorRGBA; import com.jme3.math.Vector3f; import com.jme3.texture.TextureCubeMap; -import com.jme3.util.BufferUtils; - -import java.nio.ByteBuffer; import java.util.concurrent.Callable; -import static com.jme3.environment.util.EnvMapUtils.shBandFactor; /** * Generates the Irradiance map for PBR. This job can be launched from a separate diff --git a/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java b/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java index a9d2a9e46..53565a753 100644 --- a/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java +++ b/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java @@ -33,7 +33,6 @@ package com.jme3.environment.util; import com.jme3.app.Application; import com.jme3.app.state.BaseAppState; -import com.jme3.bounding.BoundingSphere; import com.jme3.light.*; import com.jme3.material.Material; import com.jme3.renderer.RenderManager; diff --git a/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java b/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java index 0df557906..104e05984 100644 --- a/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java +++ b/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java @@ -43,7 +43,6 @@ import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.nio.ShortBuffer; import java.util.LinkedList; -import java.util.LinkedList; /** * One page per BitmapText Font Texture. diff --git a/jme3-core/src/main/java/com/jme3/light/AmbientLight.java b/jme3-core/src/main/java/com/jme3/light/AmbientLight.java index a2dc1cd38..531c7b5d0 100644 --- a/jme3-core/src/main/java/com/jme3/light/AmbientLight.java +++ b/jme3-core/src/main/java/com/jme3/light/AmbientLight.java @@ -34,7 +34,6 @@ package com.jme3.light; import com.jme3.bounding.BoundingBox; import com.jme3.bounding.BoundingSphere; import com.jme3.math.ColorRGBA; -import com.jme3.math.Vector3f; import com.jme3.renderer.Camera; import com.jme3.scene.Spatial; import com.jme3.util.TempVars; diff --git a/jme3-core/src/main/java/com/jme3/light/PointLight.java b/jme3-core/src/main/java/com/jme3/light/PointLight.java index dddf06287..4d9f306a0 100644 --- a/jme3-core/src/main/java/com/jme3/light/PointLight.java +++ b/jme3-core/src/main/java/com/jme3/light/PointLight.java @@ -39,7 +39,6 @@ import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; -import com.jme3.math.FastMath; import com.jme3.math.ColorRGBA; import com.jme3.math.Vector3f; import com.jme3.renderer.Camera; diff --git a/jme3-core/src/main/java/com/jme3/light/SphereProbeArea.java b/jme3-core/src/main/java/com/jme3/light/SphereProbeArea.java index 9c2d3fbe8..ded9bfffa 100644 --- a/jme3-core/src/main/java/com/jme3/light/SphereProbeArea.java +++ b/jme3-core/src/main/java/com/jme3/light/SphereProbeArea.java @@ -8,7 +8,6 @@ import com.jme3.renderer.Camera; import com.jme3.util.TempVars; import java.io.IOException; -import java.util.logging.Level; public class SphereProbeArea implements ProbeArea { diff --git a/jme3-core/src/main/java/com/jme3/material/MaterialDef.java b/jme3-core/src/main/java/com/jme3/material/MaterialDef.java index 537eac37b..71f9526ca 100644 --- a/jme3-core/src/main/java/com/jme3/material/MaterialDef.java +++ b/jme3-core/src/main/java/com/jme3/material/MaterialDef.java @@ -32,7 +32,6 @@ package com.jme3.material; import com.jme3.asset.AssetManager; -import com.jme3.renderer.RenderManager; import com.jme3.shader.VarType; import com.jme3.texture.image.ColorSpace; diff --git a/jme3-core/src/main/java/com/jme3/material/logic/MultiPassLightingLogic.java b/jme3-core/src/main/java/com/jme3/material/logic/MultiPassLightingLogic.java index d239681bc..8d4b63956 100644 --- a/jme3-core/src/main/java/com/jme3/material/logic/MultiPassLightingLogic.java +++ b/jme3-core/src/main/java/com/jme3/material/logic/MultiPassLightingLogic.java @@ -31,8 +31,6 @@ */ package com.jme3.material.logic; -import com.jme3.asset.AssetManager; -import com.jme3.light.AmbientLight; import com.jme3.light.DirectionalLight; import com.jme3.light.Light; import com.jme3.light.LightList; @@ -41,20 +39,16 @@ import com.jme3.light.SpotLight; import com.jme3.material.RenderState; import com.jme3.material.TechniqueDef; import com.jme3.math.ColorRGBA; -import com.jme3.math.FastMath; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.math.Vector4f; -import com.jme3.renderer.Caps; import com.jme3.renderer.RenderManager; import com.jme3.renderer.Renderer; import com.jme3.scene.Geometry; -import com.jme3.shader.DefineList; import com.jme3.shader.Shader; import com.jme3.shader.Uniform; import com.jme3.shader.VarType; import com.jme3.util.TempVars; -import java.util.EnumSet; public final class MultiPassLightingLogic extends DefaultTechniqueDefLogic { diff --git a/jme3-core/src/main/java/com/jme3/material/logic/SinglePassAndImageBasedLightingLogic.java b/jme3-core/src/main/java/com/jme3/material/logic/SinglePassAndImageBasedLightingLogic.java index f80c8274a..9e48593f6 100644 --- a/jme3-core/src/main/java/com/jme3/material/logic/SinglePassAndImageBasedLightingLogic.java +++ b/jme3-core/src/main/java/com/jme3/material/logic/SinglePassAndImageBasedLightingLogic.java @@ -32,7 +32,6 @@ package com.jme3.material.logic; import com.jme3.asset.AssetManager; -import com.jme3.bounding.BoundingSphere; import com.jme3.light.*; import com.jme3.material.*; import com.jme3.material.RenderState.BlendMode; diff --git a/jme3-core/src/main/java/com/jme3/math/Vector2f.java b/jme3-core/src/main/java/com/jme3/math/Vector2f.java index 22a3cb6e1..e2c3a96c0 100644 --- a/jme3-core/src/main/java/com/jme3/math/Vector2f.java +++ b/jme3-core/src/main/java/com/jme3/math/Vector2f.java @@ -32,7 +32,6 @@ package com.jme3.math; import com.jme3.export.*; -import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; diff --git a/jme3-core/src/main/java/com/jme3/renderer/ViewPort.java b/jme3-core/src/main/java/com/jme3/renderer/ViewPort.java index e2fdc99ca..ad85c0be6 100644 --- a/jme3-core/src/main/java/com/jme3/renderer/ViewPort.java +++ b/jme3-core/src/main/java/com/jme3/renderer/ViewPort.java @@ -38,7 +38,6 @@ import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; import com.jme3.texture.FrameBuffer; import com.jme3.util.SafeArrayList; -import java.util.List; /** * A ViewPort represents a view inside the display diff --git a/jme3-core/src/main/java/com/jme3/scene/Mesh.java b/jme3-core/src/main/java/com/jme3/scene/Mesh.java index 8dececf26..1c70512db 100644 --- a/jme3-core/src/main/java/com/jme3/scene/Mesh.java +++ b/jme3-core/src/main/java/com/jme3/scene/Mesh.java @@ -50,7 +50,6 @@ import com.jme3.util.clone.JmeCloneable; import java.io.IOException; import java.nio.*; import java.util.ArrayList; -import java.util.Arrays; /** * Mesh is used to store rendering data. diff --git a/jme3-core/src/main/java/com/jme3/scene/SimpleBatchNode.java b/jme3-core/src/main/java/com/jme3/scene/SimpleBatchNode.java index 2c5a1773f..954161067 100644 --- a/jme3-core/src/main/java/com/jme3/scene/SimpleBatchNode.java +++ b/jme3-core/src/main/java/com/jme3/scene/SimpleBatchNode.java @@ -32,7 +32,6 @@ package com.jme3.scene; import com.jme3.math.Matrix4f; -import com.jme3.math.Transform; import com.jme3.util.TempVars; /** diff --git a/jme3-core/src/main/java/com/jme3/scene/control/CameraControl.java b/jme3-core/src/main/java/com/jme3/scene/control/CameraControl.java index 4eccdfa69..0b8606d23 100644 --- a/jme3-core/src/main/java/com/jme3/scene/control/CameraControl.java +++ b/jme3-core/src/main/java/com/jme3/scene/control/CameraControl.java @@ -40,7 +40,6 @@ import com.jme3.math.Vector3f; import com.jme3.renderer.Camera; import com.jme3.renderer.RenderManager; import com.jme3.renderer.ViewPort; -import com.jme3.scene.Spatial; import com.jme3.util.TempVars; import java.io.IOException; diff --git a/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java b/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java index 31c292186..e06f3e248 100644 --- a/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java +++ b/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java @@ -39,7 +39,6 @@ import com.jme3.collision.Collidable; import com.jme3.collision.CollisionResults; import com.jme3.material.Material; import com.jme3.material.RenderState; -import com.jme3.math.Vector2f; import com.jme3.renderer.Camera; import com.jme3.renderer.queue.RenderQueue; import com.jme3.scene.Geometry; diff --git a/jme3-core/src/main/java/com/jme3/shader/Glsl150ShaderGenerator.java b/jme3-core/src/main/java/com/jme3/shader/Glsl150ShaderGenerator.java index 3dc6aaf9d..e3fb15a7b 100644 --- a/jme3-core/src/main/java/com/jme3/shader/Glsl150ShaderGenerator.java +++ b/jme3-core/src/main/java/com/jme3/shader/Glsl150ShaderGenerator.java @@ -35,7 +35,6 @@ import com.jme3.asset.AssetManager; import com.jme3.material.ShaderGenerationInfo; import com.jme3.shader.Shader.ShaderType; -import java.util.List; /** * This shader Generator can generate Vertex and Fragment shaders from diff --git a/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java b/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java index 2361be28a..099cd5bfd 100644 --- a/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java +++ b/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java @@ -40,7 +40,6 @@ import com.jme3.math.Vector3f; import com.jme3.post.SceneProcessor; import com.jme3.profile.AppProfiler; import com.jme3.renderer.Camera; -import com.jme3.renderer.Caps; import com.jme3.renderer.RenderManager; import com.jme3.renderer.Renderer; import com.jme3.renderer.ViewPort; 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 4d57de017..27e4e8eda 100644 --- a/jme3-core/src/main/java/com/jme3/system/JmeSystem.java +++ b/jme3-core/src/main/java/com/jme3/system/JmeSystem.java @@ -35,8 +35,6 @@ import com.jme3.asset.AssetManager; import com.jme3.audio.AudioRenderer; import com.jme3.input.SoftTextDialogInput; import com.jme3.texture.Image; -import com.jme3.texture.image.DefaultImageRaster; -import com.jme3.texture.image.ImageRaster; import java.io.File; import java.io.IOException; import java.io.InputStream; diff --git a/jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java b/jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java index e6516df0b..26e79aacc 100644 --- a/jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java +++ b/jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java @@ -35,9 +35,6 @@ import com.jme3.asset.AssetManager; import com.jme3.asset.DesktopAssetManager; import com.jme3.audio.AudioRenderer; import com.jme3.input.SoftTextDialogInput; -import com.jme3.texture.Image; -import com.jme3.texture.image.DefaultImageRaster; -import com.jme3.texture.image.ImageRaster; import java.io.File; import java.io.IOException; import java.io.InputStream; diff --git a/jme3-core/src/main/java/com/jme3/texture/TextureArray.java b/jme3-core/src/main/java/com/jme3/texture/TextureArray.java index 50015cff8..a7e24c35d 100644 --- a/jme3-core/src/main/java/com/jme3/texture/TextureArray.java +++ b/jme3-core/src/main/java/com/jme3/texture/TextureArray.java @@ -35,8 +35,6 @@ import com.jme3.texture.Image.Format; import com.jme3.texture.image.ColorSpace; import java.util.Arrays; import java.util.List; -import java.util.logging.Level; -import java.util.logging.Logger; /** * This class implements a Texture array diff --git a/jme3-core/src/main/java/com/jme3/texture/image/ImageRaster.java b/jme3-core/src/main/java/com/jme3/texture/image/ImageRaster.java index 92bbb3315..3ab96ff8f 100644 --- a/jme3-core/src/main/java/com/jme3/texture/image/ImageRaster.java +++ b/jme3-core/src/main/java/com/jme3/texture/image/ImageRaster.java @@ -32,7 +32,6 @@ package com.jme3.texture.image; import com.jme3.math.ColorRGBA; -import com.jme3.system.JmeSystem; import com.jme3.texture.Image; /** diff --git a/jme3-core/src/main/java/com/jme3/util/SkyFactory.java b/jme3-core/src/main/java/com/jme3/util/SkyFactory.java index 2d435d50f..405581133 100644 --- a/jme3-core/src/main/java/com/jme3/util/SkyFactory.java +++ b/jme3-core/src/main/java/com/jme3/util/SkyFactory.java @@ -45,7 +45,6 @@ import com.jme3.texture.Image.Format; import com.jme3.texture.Texture; import com.jme3.texture.TextureCubeMap; import java.nio.ByteBuffer; -import java.util.ArrayList; /** * SkyFactory is used to create jME {@link Spatial}s that can diff --git a/jme3-core/src/main/java/com/jme3/util/TangentBinormalGenerator.java b/jme3-core/src/main/java/com/jme3/util/TangentBinormalGenerator.java index a1ee64060..0e5884d9f 100644 --- a/jme3-core/src/main/java/com/jme3/util/TangentBinormalGenerator.java +++ b/jme3-core/src/main/java/com/jme3/util/TangentBinormalGenerator.java @@ -36,9 +36,7 @@ import com.jme3.math.FastMath; import com.jme3.math.Vector2f; import com.jme3.math.Vector3f; import com.jme3.scene.*; -import com.jme3.scene.VertexBuffer.Format; import com.jme3.scene.VertexBuffer.Type; -import com.jme3.scene.VertexBuffer.Usage; import com.jme3.scene.mesh.IndexBuffer; import static com.jme3.util.BufferUtils.*; diff --git a/jme3-core/src/main/java/com/jme3/util/TempVars.java b/jme3-core/src/main/java/com/jme3/util/TempVars.java index a7bd088b8..5c1a45f4c 100644 --- a/jme3-core/src/main/java/com/jme3/util/TempVars.java +++ b/jme3-core/src/main/java/com/jme3/util/TempVars.java @@ -32,7 +32,6 @@ package com.jme3.util; import com.jme3.bounding.BoundingBox; -import com.jme3.bounding.BoundingVolume; import com.jme3.collision.CollisionResults; import com.jme3.collision.bih.BIHNode.BIHStackData; import com.jme3.math.*; diff --git a/jme3-core/src/test/java/com/jme3/material/MaterialTest.java b/jme3-core/src/test/java/com/jme3/material/MaterialTest.java index e186f5e65..05a9ef378 100644 --- a/jme3-core/src/test/java/com/jme3/material/MaterialTest.java +++ b/jme3-core/src/test/java/com/jme3/material/MaterialTest.java @@ -32,7 +32,6 @@ package com.jme3.material; import com.jme3.asset.AssetManager; -import com.jme3.light.LightList; import com.jme3.renderer.Caps; import com.jme3.renderer.RenderManager; import com.jme3.scene.Geometry; diff --git a/jme3-core/src/test/java/com/jme3/renderer/OpaqueComparatorTest.java b/jme3-core/src/test/java/com/jme3/renderer/OpaqueComparatorTest.java index 0d29ad869..72fb43580 100644 --- a/jme3-core/src/test/java/com/jme3/renderer/OpaqueComparatorTest.java +++ b/jme3-core/src/test/java/com/jme3/renderer/OpaqueComparatorTest.java @@ -51,7 +51,6 @@ import java.nio.ByteBuffer; import java.util.HashSet; import java.util.Set; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; public class OpaqueComparatorTest { diff --git a/jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java b/jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java index a615d5c92..fb8a60aa7 100644 --- a/jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java +++ b/jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java @@ -40,7 +40,6 @@ import static com.jme3.scene.MPOTestUtils.*; import static org.junit.Assert.*; import com.jme3.system.TestUtil; -import java.util.ArrayList; import java.util.List; /** diff --git a/jme3-examples/src/main/java/jme3test/animation/TestCameraMotionPath.java b/jme3-examples/src/main/java/jme3test/animation/TestCameraMotionPath.java index baeb41a31..392792ac2 100644 --- a/jme3-examples/src/main/java/jme3test/animation/TestCameraMotionPath.java +++ b/jme3-examples/src/main/java/jme3test/animation/TestCameraMotionPath.java @@ -36,7 +36,6 @@ import com.jme3.app.SimpleApplication; import com.jme3.cinematic.MotionPath; import com.jme3.cinematic.MotionPathListener; import com.jme3.cinematic.events.MotionEvent; -import com.jme3.cinematic.events.MotionEvent; import com.jme3.font.BitmapText; import com.jme3.input.ChaseCamera; import com.jme3.input.KeyInput; diff --git a/jme3-examples/src/main/java/jme3test/animation/TestMotionPath.java b/jme3-examples/src/main/java/jme3test/animation/TestMotionPath.java index 51268b6bc..02bc5335c 100644 --- a/jme3-examples/src/main/java/jme3test/animation/TestMotionPath.java +++ b/jme3-examples/src/main/java/jme3test/animation/TestMotionPath.java @@ -31,12 +31,10 @@ */ package jme3test.animation; -import com.jme3.animation.LoopMode; import com.jme3.app.SimpleApplication; import com.jme3.cinematic.MotionPath; import com.jme3.cinematic.MotionPathListener; import com.jme3.cinematic.events.MotionEvent; -import com.jme3.cinematic.events.MotionEvent; import com.jme3.font.BitmapText; import com.jme3.input.ChaseCamera; import com.jme3.input.KeyInput; diff --git a/jme3-examples/src/main/java/jme3test/app/TestAppStateLifeCycle.java b/jme3-examples/src/main/java/jme3test/app/TestAppStateLifeCycle.java index ebca77683..b6517c9d2 100644 --- a/jme3-examples/src/main/java/jme3test/app/TestAppStateLifeCycle.java +++ b/jme3-examples/src/main/java/jme3test/app/TestAppStateLifeCycle.java @@ -37,7 +37,6 @@ import com.jme3.app.SimpleApplication; import com.jme3.app.state.AbstractAppState; import com.jme3.app.state.AppStateManager; import com.jme3.material.Material; -import com.jme3.math.Vector3f; import com.jme3.renderer.RenderManager; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; diff --git a/jme3-examples/src/main/java/jme3test/app/TestBareBonesApp.java b/jme3-examples/src/main/java/jme3test/app/TestBareBonesApp.java index 491f4817b..b90d28310 100644 --- a/jme3-examples/src/main/java/jme3test/app/TestBareBonesApp.java +++ b/jme3-examples/src/main/java/jme3test/app/TestBareBonesApp.java @@ -33,7 +33,6 @@ package jme3test.app; import com.jme3.app.LegacyApplication; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; diff --git a/jme3-examples/src/main/java/jme3test/app/TestCloneSpatial.java b/jme3-examples/src/main/java/jme3test/app/TestCloneSpatial.java index 89dae89b8..132fb44a3 100644 --- a/jme3-examples/src/main/java/jme3test/app/TestCloneSpatial.java +++ b/jme3-examples/src/main/java/jme3test/app/TestCloneSpatial.java @@ -43,7 +43,6 @@ import com.jme3.math.*; import com.jme3.scene.*; import com.jme3.scene.control.*; import com.jme3.scene.shape.*; -import com.jme3.util.clone.*; /** diff --git a/jme3-examples/src/main/java/jme3test/app/TestReleaseDirectMemory.java b/jme3-examples/src/main/java/jme3test/app/TestReleaseDirectMemory.java index 28947c400..102d03f43 100644 --- a/jme3-examples/src/main/java/jme3test/app/TestReleaseDirectMemory.java +++ b/jme3-examples/src/main/java/jme3test/app/TestReleaseDirectMemory.java @@ -34,7 +34,6 @@ package jme3test.app; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; import com.jme3.util.BufferUtils; diff --git a/jme3-examples/src/main/java/jme3test/app/TestResizableApp.java b/jme3-examples/src/main/java/jme3test/app/TestResizableApp.java index ad493ab44..d2314b989 100644 --- a/jme3-examples/src/main/java/jme3test/app/TestResizableApp.java +++ b/jme3-examples/src/main/java/jme3test/app/TestResizableApp.java @@ -33,12 +33,10 @@ package jme3test.app; import com.jme3.app.SimpleApplication; import com.jme3.font.BitmapText; -import com.jme3.font.Rectangle; import com.jme3.material.Material; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; import com.jme3.system.AppSettings; -import jme3test.model.shape.TestBox; /** * Tests the capability to resize the application window. diff --git a/jme3-examples/src/main/java/jme3test/app/TestUseAfterFree.java b/jme3-examples/src/main/java/jme3test/app/TestUseAfterFree.java index a8127469a..8c8c5dddd 100644 --- a/jme3-examples/src/main/java/jme3test/app/TestUseAfterFree.java +++ b/jme3-examples/src/main/java/jme3test/app/TestUseAfterFree.java @@ -37,8 +37,6 @@ import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; import com.jme3.texture.Texture; import com.jme3.util.BufferUtils; -import java.util.logging.Level; -import java.util.logging.Logger; public class TestUseAfterFree extends SimpleApplication { diff --git a/jme3-examples/src/main/java/jme3test/asset/TestOnlineJar.java b/jme3-examples/src/main/java/jme3test/asset/TestOnlineJar.java index 1de154f56..0a864a0cd 100644 --- a/jme3-examples/src/main/java/jme3test/asset/TestOnlineJar.java +++ b/jme3-examples/src/main/java/jme3test/asset/TestOnlineJar.java @@ -33,12 +33,9 @@ package jme3test.asset; import com.jme3.app.SimpleApplication; -import com.jme3.asset.TextureKey; import com.jme3.asset.plugins.HttpZipLocator; -import com.jme3.material.Material; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Quad; -import com.jme3.texture.Texture; import com.jme3.ui.Picture; /** diff --git a/jme3-examples/src/main/java/jme3test/awt/TestAwtPanels.java b/jme3-examples/src/main/java/jme3test/awt/TestAwtPanels.java index 5c00e5008..55d74e119 100644 --- a/jme3-examples/src/main/java/jme3test/awt/TestAwtPanels.java +++ b/jme3-examples/src/main/java/jme3test/awt/TestAwtPanels.java @@ -2,7 +2,6 @@ package jme3test.awt; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; import com.jme3.system.AppSettings; diff --git a/jme3-examples/src/main/java/jme3test/awt/TestSafeCanvas.java b/jme3-examples/src/main/java/jme3test/awt/TestSafeCanvas.java index 6264f8246..5c6940df3 100644 --- a/jme3-examples/src/main/java/jme3test/awt/TestSafeCanvas.java +++ b/jme3-examples/src/main/java/jme3test/awt/TestSafeCanvas.java @@ -2,7 +2,6 @@ package jme3test.awt; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; import com.jme3.system.AppSettings; diff --git a/jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java b/jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java index a241072a2..c247bfe85 100644 --- a/jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java +++ b/jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java @@ -56,7 +56,6 @@ import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; import com.jme3.shadow.DirectionalLightShadowRenderer; import com.jme3.shadow.EdgeFilteringMode; -import com.jme3.system.AppSettings; import com.jme3.terrain.geomipmap.TerrainLodControl; import com.jme3.terrain.geomipmap.TerrainQuad; import com.jme3.terrain.heightmap.AbstractHeightMap; diff --git a/jme3-examples/src/main/java/jme3test/effect/TestEverything.java b/jme3-examples/src/main/java/jme3test/effect/TestEverything.java index 62f06a422..4d0da65c5 100644 --- a/jme3-examples/src/main/java/jme3test/effect/TestEverything.java +++ b/jme3-examples/src/main/java/jme3test/effect/TestEverything.java @@ -47,7 +47,6 @@ import com.jme3.scene.Spatial.CullHint; import com.jme3.scene.shape.Box; import com.jme3.shadow.DirectionalLightShadowRenderer; import com.jme3.texture.Texture; -import com.jme3.texture.Texture.WrapMode; import com.jme3.util.SkyFactory; import com.jme3.util.TangentBinormalGenerator; diff --git a/jme3-examples/src/main/java/jme3test/effect/TestParticleExportingCloning.java b/jme3-examples/src/main/java/jme3test/effect/TestParticleExportingCloning.java index d38fdbdf9..4b75b1e76 100644 --- a/jme3-examples/src/main/java/jme3test/effect/TestParticleExportingCloning.java +++ b/jme3-examples/src/main/java/jme3test/effect/TestParticleExportingCloning.java @@ -37,11 +37,8 @@ import com.jme3.effect.ParticleEmitter; import com.jme3.effect.ParticleMesh.Type; import com.jme3.effect.shapes.EmitterSphereShape; import com.jme3.export.binary.BinaryExporter; -import com.jme3.export.binary.BinaryImporter; import com.jme3.material.Material; import com.jme3.math.Vector3f; -import java.io.ByteArrayOutputStream; -import java.io.IOException; public class TestParticleExportingCloning extends SimpleApplication { diff --git a/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontLayout.java b/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontLayout.java index 8d210c330..d2ac0e8be 100644 --- a/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontLayout.java +++ b/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontLayout.java @@ -34,31 +34,21 @@ package jme3test.gui; -import java.awt.BorderLayout; import java.awt.Color; import java.awt.Font; import java.awt.FontFormatException; import java.awt.FontMetrics; -import java.awt.Graphics; import java.awt.Graphics2D; -import java.awt.GridBagConstraints; -import java.awt.GridBagLayout; -import java.awt.GridLayout; import java.awt.RenderingHints; -import java.awt.Toolkit; -import java.awt.geom.AffineTransform; import java.awt.image.BufferedImage; -import java.awt.font.TextAttribute; import java.io.IOException; import java.util.*; -import javax.swing.*; import com.jme3.app.DebugKeysAppState; import com.jme3.app.StatsAppState; import com.jme3.app.SimpleApplication; import com.jme3.app.state.ScreenshotAppState; import com.jme3.bounding.BoundingBox; -import com.jme3.font.BitmapCharacter; import com.jme3.font.BitmapCharacterSet; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; diff --git a/jme3-examples/src/main/java/jme3test/helloworld/HelloJME3.java b/jme3-examples/src/main/java/jme3test/helloworld/HelloJME3.java index 9ffc1931d..ba6d075e3 100644 --- a/jme3-examples/src/main/java/jme3test/helloworld/HelloJME3.java +++ b/jme3-examples/src/main/java/jme3test/helloworld/HelloJME3.java @@ -35,7 +35,6 @@ package jme3test.helloworld; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; diff --git a/jme3-examples/src/main/java/jme3test/light/ShadowTestUIManager.java b/jme3-examples/src/main/java/jme3test/light/ShadowTestUIManager.java index 34bc20d89..4c8ae5ff9 100644 --- a/jme3-examples/src/main/java/jme3test/light/ShadowTestUIManager.java +++ b/jme3-examples/src/main/java/jme3test/light/ShadowTestUIManager.java @@ -11,7 +11,6 @@ import com.jme3.input.InputManager; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.KeyTrigger; -import com.jme3.renderer.Camera; import com.jme3.renderer.ViewPort; import com.jme3.scene.Node; import com.jme3.shadow.AbstractShadowFilter; diff --git a/jme3-examples/src/main/java/jme3test/light/TestColorApp.java b/jme3-examples/src/main/java/jme3test/light/TestColorApp.java index 03bef0275..3db910498 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestColorApp.java +++ b/jme3-examples/src/main/java/jme3test/light/TestColorApp.java @@ -11,11 +11,9 @@ import com.jme3.math.ColorRGBA; import com.jme3.math.FastMath; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; -import com.jme3.post.FilterPostProcessor; import com.jme3.renderer.queue.RenderQueue; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; -import com.jme3.shadow.DirectionalLightShadowFilter; import com.jme3.shadow.DirectionalLightShadowRenderer; public class TestColorApp extends SimpleApplication { diff --git a/jme3-examples/src/main/java/jme3test/light/TestDirectionalLightShadow.java b/jme3-examples/src/main/java/jme3test/light/TestDirectionalLightShadow.java index 79aacc616..3f3ac9127 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestDirectionalLightShadow.java +++ b/jme3-examples/src/main/java/jme3test/light/TestDirectionalLightShadow.java @@ -40,14 +40,12 @@ import com.jme3.input.controls.KeyTrigger; import com.jme3.light.AmbientLight; import com.jme3.light.DirectionalLight; import com.jme3.material.Material; -import com.jme3.material.RenderState; import com.jme3.math.ColorRGBA; import com.jme3.math.FastMath; import com.jme3.math.Quaternion; import com.jme3.math.Vector2f; import com.jme3.math.Vector3f; import com.jme3.post.FilterPostProcessor; -import com.jme3.post.ssao.SSAOFilter; import com.jme3.renderer.queue.RenderQueue.ShadowMode; import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; diff --git a/jme3-examples/src/main/java/jme3test/light/TestObbVsBounds.java b/jme3-examples/src/main/java/jme3test/light/TestObbVsBounds.java index c32773070..9e5db8948 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestObbVsBounds.java +++ b/jme3-examples/src/main/java/jme3test/light/TestObbVsBounds.java @@ -35,7 +35,6 @@ import com.jme3.app.ChaseCameraAppState; import com.jme3.app.SimpleApplication; import com.jme3.bounding.BoundingBox; import com.jme3.bounding.BoundingSphere; -import com.jme3.export.binary.BinaryExporter; import com.jme3.input.KeyInput; import com.jme3.input.MouseInput; import com.jme3.input.controls.*; @@ -50,8 +49,6 @@ import com.jme3.scene.shape.*; import com.jme3.shadow.ShadowUtil; import com.jme3.util.TempVars; -import java.io.File; -import java.io.IOException; public class TestObbVsBounds extends SimpleApplication { diff --git a/jme3-examples/src/main/java/jme3test/light/TestShadowsPerf.java b/jme3-examples/src/main/java/jme3test/light/TestShadowsPerf.java index 97629117e..a631f9eac 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestShadowsPerf.java +++ b/jme3-examples/src/main/java/jme3test/light/TestShadowsPerf.java @@ -51,8 +51,6 @@ import com.jme3.scene.shape.Sphere; import com.jme3.shadow.DirectionalLightShadowRenderer; import com.jme3.shadow.EdgeFilteringMode; import com.jme3.util.TangentBinormalGenerator; -import java.util.logging.Level; -import java.util.logging.Logger; public class TestShadowsPerf extends SimpleApplication { diff --git a/jme3-examples/src/main/java/jme3test/light/TestSpotLightShadows.java b/jme3-examples/src/main/java/jme3test/light/TestSpotLightShadows.java index 52a5dc8c5..254bfb028 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestSpotLightShadows.java +++ b/jme3-examples/src/main/java/jme3test/light/TestSpotLightShadows.java @@ -49,7 +49,6 @@ import com.jme3.shadow.EdgeFilteringMode; import com.jme3.shadow.SpotLightShadowFilter; import com.jme3.shadow.SpotLightShadowRenderer; import com.jme3.texture.Texture.WrapMode; -import com.jme3.util.MaterialDebugAppState; import com.jme3.util.TangentBinormalGenerator; public class TestSpotLightShadows extends SimpleApplication { diff --git a/jme3-examples/src/main/java/jme3test/light/TestTangentCube.java b/jme3-examples/src/main/java/jme3test/light/TestTangentCube.java index c7c3b6716..eb0353962 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestTangentCube.java +++ b/jme3-examples/src/main/java/jme3test/light/TestTangentCube.java @@ -33,7 +33,6 @@ package jme3test.light; import com.jme3.app.ChaseCameraAppState; import com.jme3.app.SimpleApplication; -import com.jme3.light.AmbientLight; import com.jme3.light.PointLight; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; diff --git a/jme3-examples/src/main/java/jme3test/light/TestTwoSideLighting.java b/jme3-examples/src/main/java/jme3test/light/TestTwoSideLighting.java index 03fe89eff..2d3ff4bcc 100644 --- a/jme3-examples/src/main/java/jme3test/light/TestTwoSideLighting.java +++ b/jme3-examples/src/main/java/jme3test/light/TestTwoSideLighting.java @@ -33,7 +33,6 @@ package jme3test.light; import com.jme3.app.SimpleApplication; -import com.jme3.light.DirectionalLight; import com.jme3.light.PointLight; import com.jme3.material.Material; import com.jme3.material.RenderState; @@ -45,7 +44,6 @@ import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Quad; import com.jme3.scene.shape.Sphere; -import com.jme3.util.MaterialDebugAppState; import com.jme3.util.TangentBinormalGenerator; /** diff --git a/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRDirectLighting.java b/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRDirectLighting.java index 26cae098e..d9f3aef76 100644 --- a/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRDirectLighting.java +++ b/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRDirectLighting.java @@ -33,28 +33,14 @@ package jme3test.light.pbr; import com.jme3.app.ChaseCameraAppState; import com.jme3.app.SimpleApplication; -import com.jme3.bounding.BoundingSphere; -import com.jme3.environment.EnvironmentCamera; -import com.jme3.environment.LightProbeFactory; -import com.jme3.environment.generation.JobProgressAdapter; -import com.jme3.environment.util.EnvMapUtils; -import com.jme3.environment.util.LightsDebugState; -import com.jme3.input.ChaseCamera; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.KeyTrigger; import com.jme3.light.DirectionalLight; -import com.jme3.light.LightProbe; import com.jme3.material.Material; import com.jme3.math.*; -import com.jme3.post.FilterPostProcessor; -import com.jme3.post.filters.ToneMapFilter; import com.jme3.scene.*; import com.jme3.scene.shape.Sphere; -import com.jme3.texture.plugins.ktx.KTXLoader; -import com.jme3.util.MaterialDebugAppState; -import com.jme3.util.SkyFactory; -import com.jme3.util.mikktspace.MikktspaceTangentGenerator; /** * A test case for PBR lighting. diff --git a/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRLighting.java b/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRLighting.java index 4cc36b123..d08f57fb6 100644 --- a/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRLighting.java +++ b/jme3-examples/src/main/java/jme3test/light/pbr/TestPBRLighting.java @@ -32,7 +32,6 @@ package jme3test.light.pbr; import com.jme3.app.SimpleApplication; -import com.jme3.bounding.BoundingSphere; import com.jme3.environment.EnvironmentCamera; import com.jme3.environment.LightProbeFactory; import com.jme3.environment.generation.JobProgressAdapter; diff --git a/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMigration.java b/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMigration.java index 18cbb0275..fd6d9e3e1 100644 --- a/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMigration.java +++ b/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMigration.java @@ -1,9 +1,7 @@ package jme3test.model.anim; import com.jme3.anim.*; -import com.jme3.anim.tween.action.Action; import com.jme3.anim.tween.action.BlendAction; -import com.jme3.anim.tween.action.BlendableAction; import com.jme3.anim.tween.action.LinearBlendSpace; import com.jme3.anim.util.AnimMigrationUtils; import com.jme3.app.ChaseCameraAppState; @@ -20,7 +18,6 @@ import com.jme3.scene.Spatial; import com.jme3.scene.debug.custom.ArmatureDebugAppState; import java.util.LinkedList; -import java.util.Queue; /** * Created by Nehon on 18/12/2017. diff --git a/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMorphSerialization.java b/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMorphSerialization.java index 2e122a35e..f89b6ee72 100644 --- a/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMorphSerialization.java +++ b/jme3-examples/src/main/java/jme3test/model/anim/TestAnimMorphSerialization.java @@ -1,7 +1,6 @@ package jme3test.model.anim; import com.jme3.anim.*; -import com.jme3.anim.util.AnimMigrationUtils; import com.jme3.app.ChaseCameraAppState; import com.jme3.app.SimpleApplication; import com.jme3.asset.plugins.FileLocator; @@ -9,8 +8,6 @@ import com.jme3.export.binary.BinaryExporter; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.KeyTrigger; -import com.jme3.light.AmbientLight; -import com.jme3.light.DirectionalLight; import com.jme3.math.*; import com.jme3.scene.Node; import com.jme3.scene.Spatial; diff --git a/jme3-examples/src/main/java/jme3test/model/anim/TestHWSkinning.java b/jme3-examples/src/main/java/jme3test/model/anim/TestHWSkinning.java index 475075267..6eca8a9a2 100644 --- a/jme3-examples/src/main/java/jme3test/model/anim/TestHWSkinning.java +++ b/jme3-examples/src/main/java/jme3test/model/anim/TestHWSkinning.java @@ -33,7 +33,6 @@ package jme3test.model.anim; import com.jme3.anim.AnimComposer; import com.jme3.anim.SkinningControl; -import com.jme3.app.DetailedProfilerState; import com.jme3.app.SimpleApplication; import com.jme3.font.BitmapText; import com.jme3.input.KeyInput; diff --git a/jme3-examples/src/main/java/jme3test/model/anim/TestMorph.java b/jme3-examples/src/main/java/jme3test/model/anim/TestMorph.java index 629046685..c32a8ae0a 100644 --- a/jme3-examples/src/main/java/jme3test/model/anim/TestMorph.java +++ b/jme3-examples/src/main/java/jme3test/model/anim/TestMorph.java @@ -10,11 +10,9 @@ import com.jme3.input.controls.KeyTrigger; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.scene.Geometry; -import com.jme3.scene.Node; import com.jme3.scene.VertexBuffer; import com.jme3.scene.mesh.MorphTarget; import com.jme3.scene.shape.Box; -import com.jme3.shader.VarType; import com.jme3.util.BufferUtils; import java.nio.FloatBuffer; diff --git a/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java b/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java index 3d2e67b5f..f02c2c2de 100644 --- a/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java +++ b/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java @@ -34,7 +34,6 @@ package jme3test.niftygui; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; -import com.jme3.math.Vector3f; import com.jme3.niftygui.NiftyJmeDisplay; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; diff --git a/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java b/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java index ce3832c73..9ec915f53 100644 --- a/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java +++ b/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java @@ -34,7 +34,6 @@ package jme3test.niftygui; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; -import com.jme3.math.Vector3f; import com.jme3.niftygui.NiftyJmeDisplay; import com.jme3.renderer.Camera; import com.jme3.renderer.ViewPort; diff --git a/jme3-examples/src/main/java/jme3test/opencl/TestMultipleApplications.java b/jme3-examples/src/main/java/jme3test/opencl/TestMultipleApplications.java index 1c2a5bf45..d0045ff20 100644 --- a/jme3-examples/src/main/java/jme3test/opencl/TestMultipleApplications.java +++ b/jme3-examples/src/main/java/jme3test/opencl/TestMultipleApplications.java @@ -34,7 +34,6 @@ package jme3test.opencl; import com.jme3.app.SimpleApplication; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; -import com.jme3.font.Rectangle; import com.jme3.opencl.*; import com.jme3.system.AppSettings; import java.util.Collections; diff --git a/jme3-examples/src/main/java/jme3test/opencl/TestOpenCLLibraries.java b/jme3-examples/src/main/java/jme3test/opencl/TestOpenCLLibraries.java index 396411397..b057a15bb 100644 --- a/jme3-examples/src/main/java/jme3test/opencl/TestOpenCLLibraries.java +++ b/jme3-examples/src/main/java/jme3test/opencl/TestOpenCLLibraries.java @@ -35,7 +35,6 @@ package jme3test.opencl; import com.jme3.app.SimpleApplication; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; -import com.jme3.math.ColorRGBA; import com.jme3.math.FastMath; import com.jme3.math.Matrix3f; import com.jme3.math.Matrix4f; @@ -43,7 +42,6 @@ import com.jme3.opencl.*; import com.jme3.system.AppSettings; import com.jme3.util.BufferUtils; import java.nio.*; -import java.util.Arrays; import java.util.Objects; import java.util.Random; import java.util.logging.Level; diff --git a/jme3-examples/src/main/java/jme3test/post/TestFog.java b/jme3-examples/src/main/java/jme3test/post/TestFog.java index 544932ab6..6d3b667ab 100644 --- a/jme3-examples/src/main/java/jme3test/post/TestFog.java +++ b/jme3-examples/src/main/java/jme3test/post/TestFog.java @@ -33,8 +33,6 @@ package jme3test.post; import com.jme3.app.SimpleApplication; -import com.jme3.asset.plugins.HttpZipLocator; -import com.jme3.asset.plugins.ZipLocator; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.AnalogListener; @@ -49,13 +47,11 @@ import com.jme3.post.filters.FogFilter; import com.jme3.renderer.Camera; import com.jme3.renderer.queue.RenderQueue; import com.jme3.scene.Node; -import com.jme3.scene.Spatial; import com.jme3.terrain.geomipmap.TerrainQuad; import com.jme3.terrain.heightmap.AbstractHeightMap; import com.jme3.terrain.heightmap.ImageBasedHeightMap; import com.jme3.texture.Texture; import com.jme3.util.SkyFactory; -import java.io.File; import java.util.ArrayList; import java.util.List; diff --git a/jme3-examples/src/main/java/jme3test/post/TestPostFilters.java b/jme3-examples/src/main/java/jme3test/post/TestPostFilters.java index c2ee5b04b..7bd807073 100644 --- a/jme3-examples/src/main/java/jme3test/post/TestPostFilters.java +++ b/jme3-examples/src/main/java/jme3test/post/TestPostFilters.java @@ -44,11 +44,8 @@ import com.jme3.renderer.Caps; import com.jme3.renderer.queue.RenderQueue.ShadowMode; import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; -import com.jme3.scene.Spatial.CullHint; import com.jme3.scene.shape.Box; -import com.jme3.system.AppSettings; import com.jme3.texture.Texture; -import com.jme3.texture.Texture.WrapMode; import com.jme3.util.SkyFactory; import com.jme3.util.SkyFactory.EnvMapType; import com.jme3.util.TangentBinormalGenerator; diff --git a/jme3-examples/src/main/java/jme3test/post/TestPostFiltersCompositing.java b/jme3-examples/src/main/java/jme3test/post/TestPostFiltersCompositing.java index 817fef0ef..5a2353e38 100644 --- a/jme3-examples/src/main/java/jme3test/post/TestPostFiltersCompositing.java +++ b/jme3-examples/src/main/java/jme3test/post/TestPostFiltersCompositing.java @@ -32,19 +32,14 @@ package jme3test.post; import com.jme3.app.SimpleApplication; -import com.jme3.asset.plugins.HttpZipLocator; import com.jme3.light.DirectionalLight; -import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.post.FilterPostProcessor; import com.jme3.post.filters.ColorOverlayFilter; import com.jme3.post.filters.ComposeFilter; -import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; -import com.jme3.scene.shape.Box; -import com.jme3.system.AppSettings; import com.jme3.texture.FrameBuffer; import com.jme3.texture.Image; import com.jme3.texture.Texture2D; diff --git a/jme3-examples/src/main/java/jme3test/post/TestPosterization.java b/jme3-examples/src/main/java/jme3test/post/TestPosterization.java index 9b6d33f66..c35236bc2 100644 --- a/jme3-examples/src/main/java/jme3test/post/TestPosterization.java +++ b/jme3-examples/src/main/java/jme3test/post/TestPosterization.java @@ -42,12 +42,10 @@ import com.jme3.math.ColorRGBA; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.post.FilterPostProcessor; -import com.jme3.post.filters.ColorOverlayFilter; import com.jme3.post.filters.PosterizationFilter; import com.jme3.renderer.queue.RenderQueue.ShadowMode; import com.jme3.scene.Geometry; import com.jme3.scene.Spatial; -import com.jme3.scene.debug.WireFrustum; import com.jme3.scene.shape.Box; import com.jme3.util.SkyFactory; diff --git a/jme3-examples/src/main/java/jme3test/post/TestRenderToMemory.java b/jme3-examples/src/main/java/jme3test/post/TestRenderToMemory.java index dd59a1d1b..c46448efb 100644 --- a/jme3-examples/src/main/java/jme3test/post/TestRenderToMemory.java +++ b/jme3-examples/src/main/java/jme3test/post/TestRenderToMemory.java @@ -49,7 +49,6 @@ import com.jme3.scene.shape.Box; import com.jme3.system.AppSettings; import com.jme3.system.JmeContext.Type; import com.jme3.texture.FrameBuffer; -import com.jme3.texture.Image; import com.jme3.texture.Image.Format; import com.jme3.texture.Texture2D; import com.jme3.util.BufferUtils; diff --git a/jme3-examples/src/main/java/jme3test/renderer/TestDepthFuncChange.java b/jme3-examples/src/main/java/jme3test/renderer/TestDepthFuncChange.java index 1bacf782b..9f4f4cef8 100644 --- a/jme3-examples/src/main/java/jme3test/renderer/TestDepthFuncChange.java +++ b/jme3-examples/src/main/java/jme3test/renderer/TestDepthFuncChange.java @@ -32,7 +32,6 @@ package jme3test.renderer; import com.jme3.app.SimpleApplication; -import com.jme3.font.BitmapText; import com.jme3.material.Material; import com.jme3.material.RenderState; import com.jme3.math.ColorRGBA; diff --git a/jme3-examples/src/main/java/jme3test/stress/TestShaderNodesStress.java b/jme3-examples/src/main/java/jme3test/stress/TestShaderNodesStress.java index dc74d3c0d..e6fc35c74 100644 --- a/jme3-examples/src/main/java/jme3test/stress/TestShaderNodesStress.java +++ b/jme3-examples/src/main/java/jme3test/stress/TestShaderNodesStress.java @@ -1,6 +1,5 @@ package jme3test.stress; -import com.jme3.app.BasicProfilerState; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; diff --git a/jme3-examples/src/main/java/jme3test/terrain/TerrainGridSerializationTest.java b/jme3-examples/src/main/java/jme3test/terrain/TerrainGridSerializationTest.java index 27ce15785..b20357ded 100644 --- a/jme3-examples/src/main/java/jme3test/terrain/TerrainGridSerializationTest.java +++ b/jme3-examples/src/main/java/jme3test/terrain/TerrainGridSerializationTest.java @@ -12,7 +12,6 @@ import com.jme3.bullet.control.RigidBodyControl; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; import com.jme3.input.controls.KeyTrigger; -import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.math.Vector3f; import com.jme3.terrain.geomipmap.TerrainGrid; diff --git a/jme3-examples/src/main/java/jme3test/texture/TestAnisotropicFilter.java b/jme3-examples/src/main/java/jme3test/texture/TestAnisotropicFilter.java index c8633f596..b45e61332 100755 --- a/jme3-examples/src/main/java/jme3test/texture/TestAnisotropicFilter.java +++ b/jme3-examples/src/main/java/jme3test/texture/TestAnisotropicFilter.java @@ -1,7 +1,6 @@ package jme3test.texture; import com.jme3.app.SimpleApplication; -import com.jme3.app.state.ScreenshotAppState; import com.jme3.asset.AssetManager; import com.jme3.input.KeyInput; import com.jme3.input.controls.ActionListener; diff --git a/jme3-examples/src/main/java/jme3test/texture/ktx/TestLoadKtx.java b/jme3-examples/src/main/java/jme3test/texture/ktx/TestLoadKtx.java index 62330bea4..8c69c0a7a 100644 --- a/jme3-examples/src/main/java/jme3test/texture/ktx/TestLoadKtx.java +++ b/jme3-examples/src/main/java/jme3test/texture/ktx/TestLoadKtx.java @@ -32,13 +32,9 @@ package jme3test.texture.ktx; import com.jme3.app.SimpleApplication; -import com.jme3.asset.TextureKey; import com.jme3.math.ColorRGBA; import com.jme3.renderer.RenderManager; -import com.jme3.scene.Node; -import com.jme3.texture.Texture; import com.jme3.texture.Texture2D; -import com.jme3.texture.TextureCubeMap; import com.jme3.texture.plugins.ktx.KTXLoader; import com.jme3.ui.Picture; diff --git a/jme3-ios/src/main/java/com/jme3/renderer/ios/JmeIosGLES.java b/jme3-ios/src/main/java/com/jme3/renderer/ios/JmeIosGLES.java index b5cde6721..2a2eee5b5 100644 --- a/jme3-ios/src/main/java/com/jme3/renderer/ios/JmeIosGLES.java +++ b/jme3-ios/src/main/java/com/jme3/renderer/ios/JmeIosGLES.java @@ -5,7 +5,6 @@ import com.jme3.renderer.RendererException; import java.nio.Buffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; -import java.util.logging.Level; import java.util.logging.Logger; /** diff --git a/jme3-ios/src/main/java/com/jme3/system/ios/JmeIosSystem.java b/jme3-ios/src/main/java/com/jme3/system/ios/JmeIosSystem.java index d29f76f62..820e387e5 100644 --- a/jme3-ios/src/main/java/com/jme3/system/ios/JmeIosSystem.java +++ b/jme3-ios/src/main/java/com/jme3/system/ios/JmeIosSystem.java @@ -31,7 +31,6 @@ */ package com.jme3.system.ios; -import com.jme3.audio.AudioRenderer; import com.jme3.system.AppSettings; import com.jme3.system.JmeContext; import com.jme3.system.JmeSystemDelegate; @@ -43,7 +42,6 @@ import com.jme3.audio.ios.IosALC; import com.jme3.audio.openal.AL; import com.jme3.audio.openal.ALAudioRenderer; import com.jme3.audio.openal.ALC; -import com.jme3.audio.openal.EFX; import java.io.IOException; import java.io.OutputStream; import java.net.URL; diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java b/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java index a8fce13eb..09dceee17 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/CapsuleCollisionShape.java @@ -39,10 +39,7 @@ import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; -import com.jme3.math.Vector3f; import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; /** * Basic capsule collision shape diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/SphereCollisionShape.java b/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/SphereCollisionShape.java index fb6976aa3..1a568ddf4 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/SphereCollisionShape.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/SphereCollisionShape.java @@ -37,10 +37,7 @@ import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; -import com.jme3.math.Vector3f; import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; /** * Basic sphere collision shape 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 b21fa698c..30a6f065b 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 @@ -41,13 +41,9 @@ import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.math.Vector3f; -import com.jme3.scene.Geometry; -import com.jme3.scene.Node; import com.jme3.scene.Spatial; -import com.jme3.scene.debug.Arrow; import java.io.IOException; import java.util.ArrayList; -import java.util.Iterator; /** *

PhysicsVehicleNode - Special PhysicsNode that implements vehicle functions

diff --git a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclBuffer.java b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclBuffer.java index 1085ad7d2..6cee05af0 100644 --- a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclBuffer.java +++ b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclBuffer.java @@ -36,7 +36,6 @@ import java.nio.ByteBuffer; import com.jogamp.opencl.*; import com.jogamp.opencl.llb.CL; import com.jogamp.opencl.llb.gl.CLGL; -import java.util.EnumSet; /** * diff --git a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclDevice.java b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclDevice.java index d4d9b08e1..adeeb7720 100644 --- a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclDevice.java +++ b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclDevice.java @@ -32,9 +32,7 @@ package com.jme3.opencl.jocl; import com.jme3.opencl.Device; -import com.jme3.opencl.Platform; import com.jogamp.opencl.CLDevice; -import java.util.Arrays; import java.util.Collection; /** diff --git a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclEvent.java b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclEvent.java index c79504dfa..3354f71ef 100644 --- a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclEvent.java +++ b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclEvent.java @@ -32,7 +32,6 @@ package com.jme3.opencl.jocl; import com.jme3.opencl.Event; -import com.jme3.opencl.OpenCLObjectManager; import com.jogamp.opencl.CLPlatform; import com.jogamp.opencl.llb.CL; import java.util.logging.Logger; diff --git a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclPlatform.java b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclPlatform.java index a481e8818..65d572526 100644 --- a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclPlatform.java +++ b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclPlatform.java @@ -31,13 +31,10 @@ */ package com.jme3.opencl.jocl; -import com.jme3.opencl.Device; import com.jme3.opencl.Platform; import com.jogamp.opencl.CLDevice; import com.jogamp.opencl.CLPlatform; -import com.jogamp.opencl.llb.CL; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collection; import java.util.List; diff --git a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclProgram.java b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclProgram.java index e64341876..2f265290a 100644 --- a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclProgram.java +++ b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/JoclProgram.java @@ -35,7 +35,6 @@ import com.jme3.opencl.*; import com.jogamp.common.nio.Buffers; import com.jogamp.common.nio.PointerBuffer; import com.jogamp.opencl.CLPlatform; -import com.jogamp.opencl.CLProgram; import com.jogamp.opencl.llb.CL; import com.jogamp.opencl.util.CLUtil; import java.nio.ByteBuffer; diff --git a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/Utils.java b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/Utils.java index c1b8c91d7..eb9738f44 100644 --- a/jme3-jogl/src/main/java/com/jme3/opencl/jocl/Utils.java +++ b/jme3-jogl/src/main/java/com/jme3/opencl/jocl/Utils.java @@ -36,15 +36,9 @@ import com.jme3.opencl.MemoryAccess; import com.jme3.opencl.OpenCLException; import com.jme3.util.BufferUtils; import com.jogamp.common.nio.PointerBuffer; -import com.jogamp.opencl.CLEventList; import com.jogamp.opencl.CLException; -import com.jogamp.opencl.CLMemory; -import com.jogamp.opencl.CLVersion; import com.jogamp.opencl.llb.CL; -import java.lang.reflect.Field; import java.nio.*; -import java.util.EnumSet; -import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; diff --git a/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java b/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java index 12c1d10cb..0d3af3a70 100644 --- a/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java +++ b/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java @@ -64,7 +64,6 @@ import com.jme3.system.Timer; import com.jogamp.opencl.CLDevice; import com.jogamp.opencl.CLPlatform; import com.jogamp.opencl.gl.CLGLContext; -import com.jogamp.opencl.llb.CL; import java.nio.IntBuffer; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglCommandQueue.java b/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglCommandQueue.java index 28c867620..408b0d35b 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglCommandQueue.java +++ b/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglCommandQueue.java @@ -33,7 +33,6 @@ package com.jme3.opencl.lwjgl; import com.jme3.opencl.CommandQueue; import com.jme3.opencl.Device; -import com.jme3.opencl.OpenCLObjectManager; import org.lwjgl.opencl.CL10; import org.lwjgl.opencl.CLCommandQueue; diff --git a/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java b/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java index 7811e3a00..19ae98853 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java +++ b/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java @@ -32,7 +32,6 @@ package com.jme3.opencl.lwjgl; import com.jme3.opencl.Device; -import com.jme3.opencl.Platform; import java.util.Arrays; import java.util.Collection; import org.lwjgl.opencl.CL10; diff --git a/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java b/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java index 610b07e47..367aeafb0 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java +++ b/jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java @@ -31,7 +31,6 @@ */ package com.jme3.opencl.lwjgl; -import com.jme3.opencl.Device; import com.jme3.opencl.Platform; import java.util.ArrayList; import java.util.Arrays; diff --git a/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java b/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java index 5d66246b3..6289637f3 100644 --- a/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java +++ b/jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java @@ -58,7 +58,6 @@ import com.jme3.renderer.opengl.GLTiming; import com.jme3.renderer.opengl.GLTimingState; import com.jme3.renderer.opengl.GLTracer; import com.jme3.system.*; -import java.io.File; import java.util.ArrayList; import java.util.List; diff --git a/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java b/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java index d75cebd8e..a6acd255f 100644 --- a/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java +++ b/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglDevice.java @@ -32,7 +32,6 @@ package com.jme3.opencl.lwjgl; import com.jme3.opencl.Device; -import com.jme3.opencl.Platform; import com.jme3.opencl.lwjgl.info.Info; import java.util.Arrays; import java.util.Collection; diff --git a/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java b/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java index 6914cba19..7df32c44c 100644 --- a/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java +++ b/jme3-lwjgl3/src/main/java/com/jme3/opencl/lwjgl/LwjglPlatform.java @@ -31,20 +31,15 @@ */ package com.jme3.opencl.lwjgl; -import com.jme3.lwjgl3.utils.APIBuffer; -import static com.jme3.lwjgl3.utils.APIUtil.apiBuffer; -import com.jme3.opencl.Device; import com.jme3.opencl.Platform; import com.jme3.opencl.lwjgl.info.Info; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; -import java.util.Collections; import java.util.List; import org.lwjgl.PointerBuffer; import org.lwjgl.opencl.CL10; -import static org.lwjgl.system.Pointer.POINTER_SHIFT; /** * diff --git a/jme3-networking/src/main/java/com/jme3/network/serializing/Serializer.java b/jme3-networking/src/main/java/com/jme3/network/serializing/Serializer.java index 0e8307eb2..26374762e 100644 --- a/jme3-networking/src/main/java/com/jme3/network/serializing/Serializer.java +++ b/jme3-networking/src/main/java/com/jme3/network/serializing/Serializer.java @@ -45,7 +45,6 @@ import java.nio.ByteBuffer; import java.util.*; import java.util.jar.Attributes; import java.util.logging.Level; -import java.util.logging.LogManager; import java.util.logging.Logger; /** diff --git a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/ContentTextureKey.java b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/ContentTextureKey.java index 35375f9c5..2db439e40 100644 --- a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/ContentTextureKey.java +++ b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/ContentTextureKey.java @@ -33,7 +33,6 @@ package com.jme3.scene.plugins.fbx; import com.jme3.asset.TextureKey; import com.jme3.asset.cache.AssetCache; -import com.jme3.asset.cache.WeakRefCloneAssetCache; import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; diff --git a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/FbxLoader.java b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/FbxLoader.java index fd157cb48..ad1052764 100644 --- a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/FbxLoader.java +++ b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/FbxLoader.java @@ -44,7 +44,6 @@ import com.jme3.asset.AssetLoader; import com.jme3.asset.AssetManager; import com.jme3.asset.ModelKey; import com.jme3.math.Matrix4f; -import com.jme3.math.Transform; import com.jme3.scene.Node; import com.jme3.scene.Spatial; import com.jme3.scene.plugins.fbx.anim.FbxToJmeTrack; diff --git a/jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java b/jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java index 260e018e6..1fe895a29 100644 --- a/jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java +++ b/jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java @@ -21,7 +21,6 @@ import javax.xml.bind.DatatypeConverter; import java.io.*; import java.nio.Buffer; import java.nio.FloatBuffer; -import java.rmi.ServerError; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; diff --git a/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdExporter.java b/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdExporter.java index 108040e13..affb1215c 100644 --- a/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdExporter.java +++ b/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdExporter.java @@ -5,9 +5,6 @@ */ package com.jme3.material.plugin.export.materialdef; -import com.jme3.export.JmeExporter; -import com.jme3.export.OutputCapsule; -import com.jme3.export.Savable; import com.jme3.material.*; import java.io.*; diff --git a/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdMatParamWriter.java b/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdMatParamWriter.java index 0bce67782..9d9cc3ef5 100644 --- a/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdMatParamWriter.java +++ b/jme3-plugins/src/main/java/com/jme3/material/plugin/export/materialdef/J3mdMatParamWriter.java @@ -5,13 +5,11 @@ */ package com.jme3.material.plugin.export.materialdef; -import com.jme3.export.*; import com.jme3.material.*; import com.jme3.math.*; import com.jme3.texture.image.ColorSpace; import java.io.*; -import java.util.*; import static com.jme3.shader.VarType.Vector2; import static com.jme3.shader.VarType.Vector3; diff --git a/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SceneLoader.java b/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SceneLoader.java index bb63f3b93..4c26eb5f4 100644 --- a/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SceneLoader.java +++ b/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SceneLoader.java @@ -44,7 +44,6 @@ import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.renderer.Camera; import com.jme3.scene.CameraNode; -import com.jme3.scene.LightNode; import com.jme3.scene.Spatial; import com.jme3.scene.control.CameraControl.ControlDirection; import com.jme3.scene.plugins.ogre.matext.OgreMaterialKey; diff --git a/jme3-plugins/src/test/java/com/jme3/scene/plugins/gltf/GltfLoaderTest.java b/jme3-plugins/src/test/java/com/jme3/scene/plugins/gltf/GltfLoaderTest.java index 8dce19e13..06fda2718 100644 --- a/jme3-plugins/src/test/java/com/jme3/scene/plugins/gltf/GltfLoaderTest.java +++ b/jme3-plugins/src/test/java/com/jme3/scene/plugins/gltf/GltfLoaderTest.java @@ -8,7 +8,6 @@ import com.jme3.system.JmeSystem; import org.junit.Before; import org.junit.Test; -import static org.junit.Assert.*; /** * Created by Nehon on 07/08/2017. diff --git a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/LODGeomap.java b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/LODGeomap.java index 286c570d9..8d4a489d6 100644 --- a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/LODGeomap.java +++ b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/LODGeomap.java @@ -46,7 +46,6 @@ import com.jme3.util.BufferUtils; import com.jme3.util.TempVars; import java.io.IOException; import java.nio.Buffer; -import java.nio.BufferOverflowException; import java.nio.BufferUnderflowException; import java.nio.FloatBuffer; import java.nio.IntBuffer; diff --git a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainGrid.java b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainGrid.java index d232be924..fe754242e 100644 --- a/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainGrid.java +++ b/jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainGrid.java @@ -43,7 +43,6 @@ import com.jme3.math.Vector3f; import com.jme3.scene.Spatial; import com.jme3.scene.control.UpdateControl; import com.jme3.terrain.Terrain; -import com.jme3.terrain.heightmap.HeightMapGrid; import java.io.IOException; import java.util.HashSet; import java.util.List; 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 2ff8c50d5..cd00f40df 100644 --- a/jme3-vr/src/main/java/com/jme3/app/VRAppState.java +++ b/jme3-vr/src/main/java/com/jme3/app/VRAppState.java @@ -55,7 +55,6 @@ import java.awt.GraphicsEnvironment; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; -import java.util.Iterator; import java.util.Locale; import java.util.logging.Level; import java.util.logging.Logger;