- suppress more warnings in SDK

experimental
Normen Hansen 10 years ago
parent fd3b918a11
commit 5c738c6a8a
  1. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeCharacterControl.java
  2. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeDirectionalLight.java
  3. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeDistanceLodCalculator.java
  4. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGenericControl.java
  5. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGhostControl.java
  6. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeMesh.java
  7. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmePicture.java
  8. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmePointLight.java
  9. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeRigidBodyControl.java
  10. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeSpotLight.java
  11. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainGrid.java
  12. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainLodControl.java
  13. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainQuad.java
  14. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTrack.java
  15. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleControl.java
  16. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleWheel.java
  17. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/ParticleInfluencerPicker.java
  18. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/UserDataDialog.java
  19. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/UserDataPicker.java
  20. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/GenerateLODVisualPanel1.java
  21. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/NewCustomControlVisualPanel1.java
  22. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/NewCustomControlWizardAction.java
  23. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/NewCustomControlWizardPanel1.java
  24. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/NewGeometrySettingsTopComponent.java
  25. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.java
  26. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackWizardAction.java
  27. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackWizardPanel1.java
  28. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.java
  29. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackWizardAction.java
  30. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackWizardPanel1.java
  31. 1
      sdk/jme3-core/src/com/jme3/gde/core/util/ProjectSelection.java
  32. 1
      sdk/jme3-core/src/com/jme3/gde/core/util/PropertyUtils.java
  33. 1
      sdk/jme3-core/src/com/jme3/gde/core/util/SpatialUtil.java
  34. 1
      sdk/jme3-core/src/com/jme3/gde/core/util/TreeUtil.java

@ -55,6 +55,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeCharacterControl extends AbstractSceneExplorerNode {
private static Image smallImage = IconList.player.getImage();

@ -42,6 +42,7 @@ import org.openide.nodes.Sheet;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeDirectionalLight extends JmeLight{
protected DirectionalLight directionalLight;

@ -52,6 +52,7 @@ import org.openide.util.actions.SystemAction;
* @author Brent Owens
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeDistanceLodCalculator extends AbstractSceneExplorerNode {
private DistanceLodCalculator lodCalculator;

@ -51,6 +51,7 @@ import org.openide.util.actions.SystemAction;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeGenericControl extends AbstractSceneExplorerNode {
private final Control control;

@ -54,6 +54,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeGhostControl extends AbstractSceneExplorerNode {
private static Image smallImage = IconList.ghostControl.getImage();

@ -53,6 +53,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeMesh extends AbstractSceneExplorerNode{
private Geometry geom;

@ -42,6 +42,7 @@ import org.openide.nodes.Sheet;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmePicture extends JmeGeometry {
private static Image smallImage = IconList.texture.getImage();

@ -42,6 +42,7 @@ import org.openide.nodes.Sheet;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmePointLight extends JmeLight{
PointLight pointLight;

@ -54,6 +54,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeRigidBodyControl extends AbstractSceneExplorerNode {
private static Image smallImage = IconList.physicsControl.getImage();

@ -44,6 +44,7 @@ import org.openide.nodes.Sheet;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeSpotLight extends JmeLight{
SpotLight spotLight;

@ -47,6 +47,7 @@ import org.openide.nodes.Sheet;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeTerrainGrid extends JmeTerrainQuad implements TerrainGridListener {
private static final Logger logger = Logger.getLogger(JmeTerrainGrid.class.getName());

@ -57,6 +57,7 @@ import org.openide.util.actions.SystemAction;
* @author Brent Owens
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeTerrainLodControl extends AbstractSceneExplorerNode {
private static Image smallImage = IconList.wheel.getImage();

@ -45,6 +45,7 @@ import org.openide.nodes.Sheet;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeTerrainQuad extends JmeNode {
private static Image smallImage = IconList.terrain.getImage();

@ -61,6 +61,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeTrack extends AbstractSceneExplorerNode {
private static Image iconBoneTrack = IconList.boneTrack.getImage();

@ -59,6 +59,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeVehicleControl extends AbstractSceneExplorerNode {
private static Image smallImage = IconList.vehicle.getImage();

@ -53,6 +53,7 @@ import org.openide.util.actions.SystemAction;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeVehicleWheel extends AbstractSceneExplorerNode{
private VehicleWheel wheel;

@ -67,6 +67,7 @@ import org.openide.util.Exceptions;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class ParticleInfluencerPicker extends javax.swing.JDialog {
JmeParticleEmitter jmePE;

@ -63,6 +63,7 @@ import org.openide.util.Exceptions;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class UserDataDialog extends javax.swing.JDialog {
JmeSpatial spat;

@ -66,6 +66,7 @@ import org.openide.util.Exceptions;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class UserDataPicker extends javax.swing.JDialog {
UserDataDialog parentDialog;

@ -39,6 +39,7 @@ import javax.swing.JPanel;
import javax.swing.JTextField;
import jme3tools.optimize.LodGenerator;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class GenerateLODVisualPanel1 extends JPanel {
private List<JTextField> valuesFields = new ArrayList<JTextField>();

@ -55,6 +55,7 @@ import org.netbeans.api.project.SourceGroup;
import org.netbeans.api.project.Sources;
import org.openide.util.Exceptions;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class NewCustomControlVisualPanel1 extends JPanel {
Project proj;

@ -53,6 +53,7 @@ import org.openide.util.Exceptions;
// @ActionRegistration(displayName="Open NewCustomControl Wizard")
// @ActionReference(path="Menu/Tools", position=...)
@org.openide.util.lookup.ServiceProvider(service = NewControlAction.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public final class NewCustomControlWizardAction extends AbstractNewControlWizardAction {
private WizardDescriptor.Panel[] panels;

@ -37,6 +37,7 @@ import org.netbeans.api.project.Project;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class NewCustomControlWizardPanel1 implements WizardDescriptor.Panel {
/**

@ -65,6 +65,7 @@ import org.openide.windows.TopComponent;
"CTL_NewGeometrySettingsTopComponent=NewGeometrySettings",
"HINT_NewGeometrySettingsTopComponent=This is a NewGeometrySettings window"
})
@SuppressWarnings({"unchecked", "rawtypes"})
public final class NewGeometrySettingsTopComponent extends TopComponent {
public NewGeometrySettingsTopComponent() {

@ -44,6 +44,7 @@ import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.ListCellRenderer;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class AudioTrackVisualPanel1 extends JPanel {
Spatial rootNode;

@ -50,6 +50,7 @@ import org.openide.WizardDescriptor;
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks.EffectTrackWizardAction")
// @ActionRegistration(displayName="Open EffectTrack Wizard")
// @ActionReference(path="Menu/Tools", position=...)
@SuppressWarnings({"unchecked", "rawtypes"})
public final class AudioTrackWizardAction implements ActionListener {
private WizardDescriptor.Panel[] panels;

@ -38,6 +38,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class AudioTrackWizardPanel1 implements WizardDescriptor.Panel {
Spatial rootNode;

@ -44,6 +44,7 @@ import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.ListCellRenderer;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class EffectTrackVisualPanel1 extends JPanel {
Spatial rootNode;

@ -50,6 +50,7 @@ import org.openide.WizardDescriptor;
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks.EffectTrackWizardAction")
// @ActionRegistration(displayName="Open EffectTrack Wizard")
// @ActionReference(path="Menu/Tools", position=...)
@SuppressWarnings({"unchecked", "rawtypes"})
public final class EffectTrackWizardAction implements ActionListener {
private WizardDescriptor.Panel[] panels;

@ -38,6 +38,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class EffectTrackWizardPanel1 implements WizardDescriptor.Panel {
Spatial rootNode;

@ -20,6 +20,7 @@ import org.netbeans.api.project.ui.OpenProjects;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class ProjectSelection extends javax.swing.JDialog {
private Project[] projects;

@ -40,6 +40,7 @@ import java.lang.reflect.Method;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class PropertyUtils {
public static PropertyDescriptor getPropertyDescriptor(Class c, Field field) {

@ -51,6 +51,7 @@ import java.util.logging.Logger;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class SpatialUtil {
private static final Logger logger = Logger.getLogger(SpatialUtil.class.getName());

@ -13,6 +13,7 @@ import javax.swing.tree.TreePath;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class TreeUtil {
public static void createTree(JTree jTree1, String[] leaves) {

Loading…
Cancel
Save