zuse12345 / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Unneeded import in LODGeomap.java #587

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
LODGeomap.java unnecessarily imports the Logger defined in Eventbus.
The import isn't actually used, but it prevents projects from building if they
- do not use Nifty
- use terrain (or bullet)
- do not use Eventbus directly.

Index: LODGeomap.java
===================================================================
--- LODGeomap.java      (Revision 10493)
+++ LODGeomap.java      (Arbeitskopie)
@@ -51,7 +51,6 @@
 import java.nio.FloatBuffer;
 import java.nio.IntBuffer;
 import java.nio.ShortBuffer;
-import org.bushe.swing.event.Logger;

 /**
  * Produces the mesh for the TerrainPatch.

Original issue reported on code.google.com by toolfor...@gmail.com on 21 Mar 2013 at 12:40

GoogleCodeExporter commented 9 years ago
The code should actually be importing java.util.logging.Logger.
And initialize it statically.
And have it all commented out while put(int) stays commented out, too :-)

Original comment by toolfor...@gmail.com on 21 Mar 2013 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by ShadowIs...@gmail.com on 19 Apr 2013 at 5:18