diff --git a/sdk/jme3-angelfont/src/com/jme3/gde/angelfont/AngelFontWizardIterator.java b/sdk/jme3-angelfont/src/com/jme3/gde/angelfont/AngelFontWizardIterator.java index 0b26ad715..cb371ef3e 100644 --- a/sdk/jme3-angelfont/src/com/jme3/gde/angelfont/AngelFontWizardIterator.java +++ b/sdk/jme3-angelfont/src/com/jme3/gde/angelfont/AngelFontWizardIterator.java @@ -74,6 +74,7 @@ public final class AngelFontWizardIterator implements WizardDescriptor.Instantia * @return * @throws IOException */ + @SuppressWarnings("unchecked") public Set instantiate() throws IOException { String name = (String) wizard.getProperty("font_name"); int fontSize = (Integer) wizard.getProperty("font_size"); diff --git a/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/AssetPackProject.java b/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/AssetPackProject.java index 0cbb013c7..5f0664940 100644 --- a/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/AssetPackProject.java +++ b/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/project/AssetPackProject.java @@ -42,6 +42,7 @@ import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.InputSource; +@SuppressWarnings("unchecked") public class AssetPackProject implements Project { private final FileObject projectDir; diff --git a/sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java b/sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java index 3ad3f3a49..06a3e452c 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java @@ -66,6 +66,7 @@ import org.openide.util.lookup.ProxyLookup; * * @author normenhansen */ +@SuppressWarnings("unchecked") public class AssetDataObject extends MultiDataObject { protected final Lookup lookup; diff --git a/sdk/jme3-core/src/com/jme3/gde/core/assets/ProjectAssetManager.java b/sdk/jme3-core/src/com/jme3/gde/core/assets/ProjectAssetManager.java index 936e6a31c..f630431dc 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/assets/ProjectAssetManager.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/assets/ProjectAssetManager.java @@ -51,6 +51,7 @@ import org.openide.util.lookup.Lookups; * * @author normenhansen */ +@SuppressWarnings("unchecked") public class ProjectAssetManager extends DesktopAssetManager { private Project project; diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index 1394f21f1..33fb6383c 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -77,6 +77,7 @@ import org.openide.util.lookup.Lookups; * * @author normenhansen */ +@SuppressWarnings("unchecked") public class SceneApplication extends Application implements LookupProvider, LookupListener { private PointLight camLight; diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialEditorTopComponent.java b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialEditorTopComponent.java index b6ec38564..3657ffe85 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialEditorTopComponent.java +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialEditorTopComponent.java @@ -620,6 +620,7 @@ public final class MaterialEditorTopComponent extends CloneableTopComponent impl } } + @SuppressWarnings("unchecked") private void showMaterial() { try { AssetKey key = new AssetKey(manager.getRelativeAssetPath(materialFileName)); diff --git a/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java b/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java index 7f672c9ab..84a9b4b44 100644 --- a/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java +++ b/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java @@ -34,6 +34,7 @@ import org.openide.loaders.DataObject; import org.openide.util.Exceptions; import org.openide.util.Lookup; +@SuppressWarnings("unchecked") public final class ImportModel implements ActionListener { private final Project context; diff --git a/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ModelImporterVisualPanel1.java b/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ModelImporterVisualPanel1.java index 6e5522e62..c4576a0e7 100644 --- a/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ModelImporterVisualPanel1.java +++ b/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ModelImporterVisualPanel1.java @@ -24,6 +24,7 @@ import org.openide.NotifyDescriptor.Message; import org.openide.WizardDescriptor; import org.openide.filesystems.FileChooserBuilder; +@SuppressWarnings("unchecked") public final class ModelImporterVisualPanel1 extends JPanel implements AssetEventListener { private OffScenePanel offPanel; diff --git a/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/blender/InstallBlenderExporterPanel.java b/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/blender/InstallBlenderExporterPanel.java index a5bb368bf..1275ab274 100644 --- a/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/blender/InstallBlenderExporterPanel.java +++ b/sdk/jme3-ogretools/src/com/jme3/gde/ogretools/blender/InstallBlenderExporterPanel.java @@ -168,6 +168,7 @@ public class InstallBlenderExporterPanel extends javax.swing.JDialog { } + @SuppressWarnings("unchecked") private static String getWindowsRegistryBlenderPath() { final int HKEY_CURRENT_USER = 0x80000001; diff --git a/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneEditorController.java b/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneEditorController.java index 15a8e5bbb..5633e9821 100644 --- a/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneEditorController.java +++ b/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneEditorController.java @@ -64,6 +64,7 @@ import org.openide.util.Lookup; * * @author normenhansen */ +@SuppressWarnings("unchecked") public class SceneEditorController implements PropertyChangeListener, NodeListener { private JmeSpatial jmeRootNode; diff --git a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java index 33fca28f5..9e27ec7c8 100644 --- a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java +++ b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java @@ -75,6 +75,7 @@ import org.openide.util.Exceptions; * * @author normenhansen, bowens */ +@SuppressWarnings("unchecked") public class TerrainEditorController { private JmeSpatial jmeRootNode; private Node terrainNode; diff --git a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/sky/AddSkyboxAction.java b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/sky/AddSkyboxAction.java index 459cd3417..ab1ad0611 100644 --- a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/sky/AddSkyboxAction.java +++ b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/sky/AddSkyboxAction.java @@ -54,7 +54,7 @@ public class AddSkyboxAction extends AbstractNewSpatialWizardAction { return null; } - public Spatial generateSkybox(WizardDescriptor wiz) { + private Spatial generateSkybox(WizardDescriptor wiz) { if ((Boolean) wiz.getProperty("multipleTextures")) { Texture south = (Texture) wiz.getProperty("textureSouth"); Texture north = (Texture) wiz.getProperty("textureNorth"); diff --git a/sdk/jme3-vehicle-creator/src/com/jme3/gde/vehiclecreator/VehicleEditorController.java b/sdk/jme3-vehicle-creator/src/com/jme3/gde/vehiclecreator/VehicleEditorController.java index d3074a56d..182aca95b 100644 --- a/sdk/jme3-vehicle-creator/src/com/jme3/gde/vehiclecreator/VehicleEditorController.java +++ b/sdk/jme3-vehicle-creator/src/com/jme3/gde/vehiclecreator/VehicleEditorController.java @@ -48,6 +48,7 @@ import org.openide.util.Utilities; * * @author normenhansen */ +@SuppressWarnings("unchecked") public class VehicleEditorController implements LookupListener, ActionListener { private JmeSpatial jmeRootNode;