From ffa58be3d7f2c9076e4deb86d1ef25ba518a5af9 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sat, 9 Mar 2019 12:37:12 -0800 Subject: [PATCH] remove more unused imports --- .../main/java/jme3test/android/TestAndroidResources.java | 6 ------ .../org/jmonkeyengine/jme3androidexamples/JmeFragment.java | 4 ---- .../org/jmonkeyengine/jme3androidexamples/MainActivity.java | 1 - .../org/jmonkeyengine/jme3androidexamples/TestActivity.java | 3 +-- .../src/main/java/com/jme3/input/event/JoyAxisEvent.java | 1 - jme3-core/src/main/java/com/jme3/material/Material.java | 1 - .../java/com/jme3/material/logic/TechniqueDefLogic.java | 2 -- jme3-core/src/main/java/com/jme3/system/JmeSystem.java | 1 - 8 files changed, 1 insertion(+), 18 deletions(-) diff --git a/jme3-android-examples/src/main/java/jme3test/android/TestAndroidResources.java b/jme3-android-examples/src/main/java/jme3test/android/TestAndroidResources.java index 7484b1ec8..68e589779 100644 --- a/jme3-android-examples/src/main/java/jme3test/android/TestAndroidResources.java +++ b/jme3-android-examples/src/main/java/jme3test/android/TestAndroidResources.java @@ -1,15 +1,9 @@ package jme3test.android; 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; -import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; -import com.jme3.scene.shape.Sphere; -import com.jme3.util.TangentBinormalGenerator; /** * Test case to look for images stored in the Android drawable and mipmap directories. Image files are diff --git a/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/JmeFragment.java b/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/JmeFragment.java index 2dc91c2aa..907dd4e6a 100644 --- a/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/JmeFragment.java +++ b/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/JmeFragment.java @@ -1,14 +1,10 @@ package org.jmonkeyengine.jme3androidexamples; import android.os.Bundle; -import android.util.Log; import com.jme3.app.AndroidHarnessFragment; - import java.util.logging.Level; import java.util.logging.LogManager; -import static org.jmonkeyengine.jme3androidexamples.MainActivity.*; - /** * A placeholder fragment containing a jME GLSurfaceView. */ diff --git a/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/MainActivity.java b/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/MainActivity.java index 83a378ef8..81cb3f856 100644 --- a/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/MainActivity.java +++ b/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/MainActivity.java @@ -1,6 +1,5 @@ package org.jmonkeyengine.jme3androidexamples; -import android.app.Activity; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.os.Bundle; diff --git a/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/TestActivity.java b/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/TestActivity.java index 918bce4c0..70e707570 100644 --- a/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/TestActivity.java +++ b/jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/TestActivity.java @@ -1,9 +1,8 @@ package org.jmonkeyengine.jme3androidexamples; import android.app.FragmentTransaction; -import android.support.v7.app.AppCompatActivity; import android.os.Bundle; -import android.util.Log; +import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; diff --git a/jme3-core/src/main/java/com/jme3/input/event/JoyAxisEvent.java b/jme3-core/src/main/java/com/jme3/input/event/JoyAxisEvent.java index 724b7c1bb..7e63fc68f 100644 --- a/jme3-core/src/main/java/com/jme3/input/event/JoyAxisEvent.java +++ b/jme3-core/src/main/java/com/jme3/input/event/JoyAxisEvent.java @@ -32,7 +32,6 @@ package com.jme3.input.event; import com.jme3.input.InputManager; -import com.jme3.input.Joystick; import com.jme3.input.JoystickAxis; /** diff --git a/jme3-core/src/main/java/com/jme3/material/Material.java b/jme3-core/src/main/java/com/jme3/material/Material.java index 0f4528993..ea0ac70b9 100644 --- a/jme3-core/src/main/java/com/jme3/material/Material.java +++ b/jme3-core/src/main/java/com/jme3/material/Material.java @@ -39,7 +39,6 @@ import com.jme3.light.LightList; import com.jme3.material.RenderState.BlendMode; import com.jme3.material.RenderState.FaceCullMode; import com.jme3.material.TechniqueDef.LightMode; -import com.jme3.material.TechniqueDef.ShadowMode; import com.jme3.math.*; import com.jme3.renderer.Caps; import com.jme3.renderer.RenderManager; diff --git a/jme3-core/src/main/java/com/jme3/material/logic/TechniqueDefLogic.java b/jme3-core/src/main/java/com/jme3/material/logic/TechniqueDefLogic.java index 619e35a49..e0921e869 100644 --- a/jme3-core/src/main/java/com/jme3/material/logic/TechniqueDefLogic.java +++ b/jme3-core/src/main/java/com/jme3/material/logic/TechniqueDefLogic.java @@ -33,14 +33,12 @@ package com.jme3.material.logic; import com.jme3.asset.AssetManager; import com.jme3.light.LightList; -import com.jme3.material.TechniqueDef.LightMode; import com.jme3.renderer.Caps; import com.jme3.renderer.RenderManager; import com.jme3.scene.Geometry; import com.jme3.shader.DefineList; import com.jme3.shader.Shader; import com.jme3.shader.Uniform; -import com.jme3.shader.UniformBinding; import com.jme3.texture.Texture; import java.util.EnumSet; 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 45e3e9f3d..44ee83419 100644 --- a/jme3-core/src/main/java/com/jme3/system/JmeSystem.java +++ b/jme3-core/src/main/java/com/jme3/system/JmeSystem.java @@ -34,7 +34,6 @@ package com.jme3.system; import com.jme3.asset.AssetManager; import com.jme3.audio.AudioRenderer; import com.jme3.input.SoftTextDialogInput; -import com.jme3.texture.Image; import java.io.File; import java.io.IOException; import java.io.InputStream;