Browse Source

Getting rid of a couple of compiler warnings.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
PSp..om 14 years ago
parent
commit
8858ccf2ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      engine/src/test/jme3test/TestChooser.java

+ 2 - 2
engine/src/test/jme3test/TestChooser.java

@@ -270,8 +270,8 @@ public class TestChooser extends JDialog {
                 			        final Method settingMethod = clazz.getMethod("setShowSettings", boolean.class);
                 			        final Method settingMethod = clazz.getMethod("setShowSettings", boolean.class);
                 			        settingMethod.invoke(app, showSetting);
                 			        settingMethod.invoke(app, showSetting);
                 			    }
                 			    }
-                			    final Method mainMethod = clazz.getMethod("start", null);
-                			    mainMethod.invoke(app, null);
+                			    final Method mainMethod = clazz.getMethod("start");
+                			    mainMethod.invoke(app);
                 			    Field contextField = Application.class.getDeclaredField("context");
                 			    Field contextField = Application.class.getDeclaredField("context");
                 			    contextField.setAccessible(true);
                 			    contextField.setAccessible(true);
                 			    JmeContext context = null; 
                 			    JmeContext context = null;