- suppress more warnings in SDK

experimental
Normen Hansen 10 years ago
parent 886a9c6479
commit 5bc1595ab8
  1. 1
      sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/wizards/CreateProjectWizardPanel1.java
  2. 1
      sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/wizards/CreateProjectWizardPanel2.java
  3. 1
      sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/wizards/ImportWizardPanel1.java
  4. 1
      sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/wizards/ImportWizardPanel2.java
  5. 1
      sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/wizards/PublishAssetPackWizardPanel2.java
  6. 1
      sdk/jme3-core/src/com/jme3/gde/core/appstates/NewAppStateWizardAction.java
  7. 1
      sdk/jme3-core/src/com/jme3/gde/core/appstates/NewAppStateWizardPanel1.java
  8. 1
      sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataNode.java
  9. 1
      sdk/jme3-core/src/com/jme3/gde/core/assets/ProjectAssetsNodeFactory.java
  10. 1
      sdk/jme3-core/src/com/jme3/gde/core/assets/RelativeOnlyFileLocator.java
  11. 1
      sdk/jme3-core/src/com/jme3/gde/core/assets/RootLockingFileLocator.java
  12. 1
      sdk/jme3-core/src/com/jme3/gde/core/assets/SpatialAssetDataObject.java
  13. 2
      sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardAction.java
  14. 1
      sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardWizardPanel1.java
  15. 1
      sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardWizardPanel2.java
  16. 3
      sdk/jme3-core/src/com/jme3/gde/core/editor/SceneApplication.java
  17. 2
      sdk/jme3-core/src/com/jme3/gde/core/filters/AbstractFilterNode.java
  18. 2
      sdk/jme3-core/src/com/jme3/gde/core/filters/FilterExplorerTopComponent.java
  19. 1
      sdk/jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java
  20. 1
      sdk/jme3-core/src/com/jme3/gde/core/filters/impl/NewBloomFilterAction.java
  21. 1
      sdk/jme3-core/src/com/jme3/gde/core/filters/impl/bloom/BloomVisualPanel1.java
  22. 1
      sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ModelImporterWizardPanel3.java
  23. 1
      sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/CreateTerrainWizardPanel2.java

@ -10,6 +10,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class CreateProjectWizardPanel1 implements WizardDescriptor.Panel {
WizardDescriptor wiz;
/**

@ -9,6 +9,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class CreateProjectWizardPanel2 implements WizardDescriptor.Panel {
/**

@ -9,6 +9,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class ImportWizardPanel1 implements WizardDescriptor.Panel {
/**

@ -9,6 +9,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class ImportWizardPanel2 implements WizardDescriptor.Panel {
/**

@ -9,6 +9,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class PublishAssetPackWizardPanel2 implements WizardDescriptor.Panel {
/**

@ -52,6 +52,7 @@ import org.openide.util.Exceptions;
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.NewCustomControlWizardAction")
// @ActionRegistration(displayName="Open NewCustomControl Wizard")
// @ActionReference(path="Menu/Tools", position=...)
@SuppressWarnings({"unchecked", "rawtypes"})
public final class NewAppStateWizardAction implements ActionListener {
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 NewAppStateWizardPanel1 implements WizardDescriptor.Panel {
/**

@ -47,6 +47,7 @@ import org.openide.util.Lookup;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class AssetDataNode extends DataNode {
public AssetDataNode(DataObject obj, Children ch) {

@ -44,6 +44,7 @@ import org.openide.util.Exceptions;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class ProjectAssetsNodeFactory implements NodeFactory {
private Project proj;

@ -55,6 +55,7 @@ import java.io.InputStream;
*
* @author Kirill Vainer
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class RelativeOnlyFileLocator implements AssetLocator {
private File root;

@ -40,6 +40,7 @@ import com.jme3.asset.plugins.FileLocator;
* FileLocator that doesn't allow paths outside the AssetManager root.
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class RootLockingFileLocator extends FileLocator {
@Override

@ -51,6 +51,7 @@ import org.openide.util.Exceptions;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class SpatialAssetDataObject extends AssetDataObject {
public SpatialAssetDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {

@ -56,7 +56,7 @@ import org.openide.util.actions.CallableSystemAction;
// An example action demonstrating how the wizard could be called from within
// your code. You can copy-paste the code below wherever you need.
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "rawtypes"})
public final class CodelessProjectWizardAction extends CallableSystemAction {
private static final Logger logger = Logger.getLogger(CodelessProjectWizardAction.class.getName());

@ -41,6 +41,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class CodelessProjectWizardWizardPanel1 implements WizardDescriptor.Panel {
/**

@ -36,6 +36,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class CodelessProjectWizardWizardPanel2 implements WizardDescriptor.Panel {
/**

@ -2,7 +2,6 @@ package com.jme3.gde.core.editor;
import com.jme3.app.SimpleApplication;
import com.jme3.app.StatsAppState;
import com.jme3.gde.core.Installer;
import com.jme3.renderer.ViewPort;
import com.jme3.scene.Node;
import com.jme3.system.AppSettings;
@ -10,12 +9,12 @@ import com.jme3.system.awt.AwtPanel;
import com.jme3.system.awt.AwtPanelsContext;
import com.jme3.system.awt.PaintMode;
import java.util.concurrent.Callable;
import org.openide.util.NbPreferences;
/**
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class SceneApplication extends SimpleApplication {
private AwtPanel panel;

@ -59,7 +59,7 @@ import org.openide.util.actions.SystemAction;
*
* @author normenhansen
*/
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "rawtypes"})
public abstract class AbstractFilterNode extends AbstractNode implements FilterNode, ScenePropertyChangeListener, SceneSyncListener {
protected boolean readOnly = false;

@ -67,7 +67,7 @@ persistenceType = TopComponent.PERSISTENCE_ALWAYS)
@ActionReference(path = "Menu/Window" /*, position = 333 */)
@TopComponent.OpenActionRegistration(displayName = "#CTL_FilterExplorerAction",
preferredID = "FilterExplorerTopComponent")
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "rawtypes"})
public final class FilterExplorerTopComponent extends TopComponent implements ExplorerManager.Provider {
private static final Logger logger = Logger.getLogger(FilterExplorerTopComponent.class.getName());

@ -59,6 +59,7 @@ import org.openide.util.lookup.Lookups;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class FilterPostProcessorNode extends AbstractNode {
private FilterDataObject dataObject;

@ -48,6 +48,7 @@ import org.openide.nodes.Node;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service = NewFilterAction.class)
@SuppressWarnings({"unchecked", "rawtypes"})
public class NewBloomFilterAction extends AbstractNewFilterWizardAction {
private WizardDescriptor.Panel[] panels;

@ -4,6 +4,7 @@ package com.jme3.gde.core.filters.impl.bloom;
import javax.swing.JComboBox;
import javax.swing.JPanel;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class BloomVisualPanel1 extends JPanel {
/**

@ -13,6 +13,7 @@ import javax.swing.event.ChangeListener;
import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class ModelImporterWizardPanel3 implements WizardDescriptor.Panel {
/**

@ -45,6 +45,7 @@ import org.openide.WizardDescriptor;
import org.openide.util.Exceptions;
import org.openide.util.HelpCtx;
@SuppressWarnings({"unchecked", "rawtypes"})
public class CreateTerrainWizardPanel2 implements WizardDescriptor.Panel {
private int terrainTotalSize;

Loading…
Cancel
Save