aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-03-05 09:46:08 -0800
committerHarvey Harrison <[email protected]>2012-03-05 09:46:08 -0800
commita2740c308967094271cebfb18554984e7ee4464b (patch)
treebdd30ffa6e7c8806daed14215717eee9b956a1d2 /src/classes/share
parente2ff394bc2cded654137d9cedfab760362a7a450 (diff)
j3dcore: remove unneeded casts to View in SoundStructure
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share')
-rw-r--r--src/classes/share/javax/media/j3d/SoundStructure.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/javax/media/j3d/SoundStructure.java b/src/classes/share/javax/media/j3d/SoundStructure.java
index 26f47d5..832897e 100644
--- a/src/classes/share/javax/media/j3d/SoundStructure.java
+++ b/src/classes/share/javax/media/j3d/SoundStructure.java
@@ -421,7 +421,7 @@ class SoundStructure extends J3dStructure {
for (int i=viewPlatforms.arraySize()- 1; i>=0; i--) {
View[] views = vpLists[i].getViewList();
for (int j=(views.length-1); j>=0; j--) {
- View v = (View)(views[j]);
+ View v = views[j];
// XXXX: Shouldn't this be done with messages??
v.soundScheduler.loadSound(sound, forceLoad);
}
@@ -434,7 +434,7 @@ class SoundStructure extends J3dStructure {
for (int i=viewPlatforms.arraySize()- 1; i>=0; i--) {
View[] views = vpLists[i].getViewList();
for (int j=(views.length-1); j>=0; j--) {
- View v = (View)(views[j]);
+ View v = views[j];
v.soundScheduler.enableSound(sound);
}
}
@@ -446,7 +446,7 @@ class SoundStructure extends J3dStructure {
for (int i=viewPlatforms.arraySize()- 1; i>=0; i--) {
View[] views = vpLists[i].getViewList();
for (int j=(views.length-1); j>=0; j--) {
- View v = (View)(views[j]);
+ View v = views[j];
v.soundScheduler.muteSound(sound);
}
}
@@ -458,7 +458,7 @@ class SoundStructure extends J3dStructure {
for (int i=viewPlatforms.arraySize()- 1; i>=0; i--) {
View[] views = vpLists[i].getViewList();
for (int j=(views.length-1); j>=0; j--) {
- View v = (View)(views[j]);
+ View v = views[j];
v.soundScheduler.pauseSound(sound);
}
}