Getting rid of a couple of compiler warnings.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 14 years ago
parent 109c6b4ef7
commit 8858ccf2ef
  1. 4
      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); final Method mainMethod = clazz.getMethod("start");
mainMethod.invoke(app, null); 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;

Loading…
Cancel
Save