diff options
author | Julien Gouesse <[email protected]> | 2014-08-08 22:02:24 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2014-08-08 22:02:24 +0200 |
commit | d8553c06068332a2e604f1336238e5cdf12c762c (patch) | |
tree | cbd1b37833a82868bd30621ba1cf053f2853c6ed /ardor3d-collada/src | |
parent | 2835439b704b945e3121b5a9f17d207bc5b2c5ea (diff) |
Removes tons of warnings
Diffstat (limited to 'ardor3d-collada/src')
3 files changed, 0 insertions, 8 deletions
diff --git a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaInputPipe.java b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaInputPipe.java index d883756..f42d2e5 100644 --- a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaInputPipe.java +++ b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaInputPipe.java @@ -77,7 +77,6 @@ public class ColladaInputPipe { float_param, bool_param, int_param, name_param, idref_param } - @SuppressWarnings("unchecked") public ColladaInputPipe(final ColladaDOMUtil colladaDOMUtil, final Element input) { // Setup our type try { diff --git a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaMaterialUtils.java b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaMaterialUtils.java index e4572ff..2f1edce 100644 --- a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaMaterialUtils.java +++ b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaMaterialUtils.java @@ -359,7 +359,6 @@ public class ColladaMaterialUtils { if ("texture".equals(element.getName()) && _loadTextures) { populateTextureState(mesh, element, effect, loadedTextures, info, null); } - @SuppressWarnings("unchecked") final List<Element> children = element.getChildren(); if (children != null) { for (final Element child : children) { @@ -535,7 +534,6 @@ public class ColladaMaterialUtils { } } - @SuppressWarnings("unchecked") public void bindMaterials(final Element bindMaterial) { if (bindMaterial == null || bindMaterial.getChildren().isEmpty()) { return; @@ -553,7 +551,6 @@ public class ColladaMaterialUtils { } } - @SuppressWarnings("unchecked") public void unbindMaterials(final Element bindMaterial) { if (bindMaterial == null || bindMaterial.getChildren().isEmpty()) { return; diff --git a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaNodeUtils.java b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaNodeUtils.java index 165ad89..049fd18 100644 --- a/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaNodeUtils.java +++ b/ardor3d-collada/src/main/java/com/ardor3d/extension/model/collada/jdom/ColladaNodeUtils.java @@ -64,7 +64,6 @@ public class ColladaNodeUtils { * The collada root element * @return Scene as an Node or null if not found */ - @SuppressWarnings("unchecked") public Node getVisualScene(final Element colladaRoot) { if (colladaRoot.getChild("scene") == null) { logger.warning("No scene found in collada file!"); @@ -159,7 +158,6 @@ public class ColladaNodeUtils { * @param asset * @return */ - @SuppressWarnings("unchecked") public AssetData parseAsset(final Element asset) { final AssetData assetData = new AssetData(); @@ -202,7 +200,6 @@ public class ColladaNodeUtils { return assetData; } - @SuppressWarnings("unchecked") private void parseContributor(final AssetData assetData, final Element contributor) { for (final Element child : contributor.getChildren()) { if ("author".equals(child.getName())) { @@ -240,7 +237,6 @@ public class ColladaNodeUtils { * @param dNode * @return a new Ardor3D node, created from the given <node> element */ - @SuppressWarnings("unchecked") private Node buildNode(final Element dNode, JointNode jointNode) { final NodeType nodeType = getNodeType(dNode); final JointNode jointChildNode; |