- suppress more warnings in SDK

experimental
Normen Hansen 10 years ago
parent cd7cedbda9
commit fd3b918a11
  1. 1
      sdk/jme3-core/src/com/jme3/gde/core/scene/NodeSyncAppState.java
  2. 2
      sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java
  3. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/SceneExplorerTopComponent.java
  4. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAmbientLight.java
  5. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimControl.java
  6. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimation.java
  7. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAssetLinkNode.java
  8. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAudioNode.java
  9. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBitmapText.java
  10. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBone.java
  11. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java
  12. 1
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeSkeletonControl.java
  13. 2
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/ChannelDialog.java

@ -48,6 +48,7 @@ import org.openide.util.Utilities;
* *
* @author normenhansen * @author normenhansen
*/ */
@SuppressWarnings({"unchecked", "rawtypes"})
public class NodeSyncAppState extends AbstractAppState implements LookupListener { public class NodeSyncAppState extends AbstractAppState implements LookupListener {
private final List<SceneSyncListener> newNodes = Collections.synchronizedList(new LinkedList<SceneSyncListener>()); private final List<SceneSyncListener> newNodes = Collections.synchronizedList(new LinkedList<SceneSyncListener>());

@ -85,7 +85,7 @@ import org.openide.util.lookup.Lookups;
* *
* @author normenhansen * @author normenhansen
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings({"unchecked", "rawtypes"})
public class SceneApplication extends Application implements LookupProvider { public class SceneApplication extends Application implements LookupProvider {
private static final Logger logger = Logger.getLogger(SceneApplication.class.getName()); private static final Logger logger = Logger.getLogger(SceneApplication.class.getName());

@ -71,6 +71,7 @@ import org.openide.windows.WindowManager;
*/ */
@ConvertAsProperties(dtd = "-//com.jme3.gde.core.sceneexplorer//SceneExplorer//EN", @ConvertAsProperties(dtd = "-//com.jme3.gde.core.sceneexplorer//SceneExplorer//EN",
autostore = false) autostore = false)
@SuppressWarnings({"unchecked", "rawtypes"})
public final class SceneExplorerTopComponent extends TopComponent implements ExplorerManager.Provider, SceneListener/*, LookupListener */ { public final class SceneExplorerTopComponent extends TopComponent implements ExplorerManager.Provider, SceneListener/*, LookupListener */ {
private static final Logger logger = Logger.getLogger(SceneExplorerTopComponent.class.getName()); private static final Logger logger = Logger.getLogger(SceneExplorerTopComponent.class.getName());

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

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

@ -67,6 +67,7 @@ import org.openide.util.actions.SystemAction;
* @author nehon * @author nehon
*/ */
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class) @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class JmeAnimation extends AbstractSceneExplorerNode { public class JmeAnimation extends AbstractSceneExplorerNode {
private Animation animation; private Animation animation;

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

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

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

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

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

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

@ -39,7 +39,7 @@ import com.jme3.gde.core.sceneexplorer.nodes.JmeAnimation;
* @author Nehon * @author Nehon
*/ */
@SuppressWarnings({"unchecked", "rawtypes"})
public class ChannelDialog extends javax.swing.JDialog { public class ChannelDialog extends javax.swing.JDialog {
JmeAnimation jmeAnim; JmeAnimation jmeAnim;

Loading…
Cancel
Save