- suppress more warnings in SDK

This commit is contained in:
Normen Hansen 2015-01-25 23:56:07 +01:00
parent cd7cedbda9
commit fd3b918a11
13 changed files with 13 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 JmeLight extends AbstractSceneExplorerNode {
private Spatial spatial;

View File

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

View File

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