Issue #642 remove debugging code
Former-commit-id: 23669c3d390b3cc0aeb6228247ea0b0512bdfb80
This commit is contained in:
parent
4e9b3ca786
commit
385d7e3d7f
1 changed files with 4 additions and 32 deletions
|
@ -24,7 +24,6 @@ import java.io.FileInputStream;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.lang.reflect.Field;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -390,32 +389,6 @@ public abstract class AbstractSessionView extends ViewPart {
|
||||||
as = new AudioStream(in);
|
as = new AudioStream(in);
|
||||||
data = as.getData();
|
data = as.getData();
|
||||||
ads = new AudioDataStream(data);
|
ads = new AudioDataStream(data);
|
||||||
Field field = null;
|
|
||||||
try {
|
|
||||||
field = AudioPlayer.player.getClass().getDeclaredField("DEBUG");
|
|
||||||
field.setAccessible(true);
|
|
||||||
field.setBoolean(field, true);
|
|
||||||
} catch (SecurityException e) {
|
|
||||||
// TODO Auto-generated catch block. Please revise as
|
|
||||||
// appropriate.
|
|
||||||
statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(),
|
|
||||||
e);
|
|
||||||
} catch (NoSuchFieldException e) {
|
|
||||||
// TODO Auto-generated catch block. Please revise as
|
|
||||||
// appropriate.
|
|
||||||
statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(),
|
|
||||||
e);
|
|
||||||
} catch (IllegalArgumentException e) {
|
|
||||||
// TODO Auto-generated catch block. Please revise as
|
|
||||||
// appropriate.
|
|
||||||
statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(),
|
|
||||||
e);
|
|
||||||
} catch (IllegalAccessException e) {
|
|
||||||
// TODO Auto-generated catch block. Please revise as
|
|
||||||
// appropriate.
|
|
||||||
statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(),
|
|
||||||
e);
|
|
||||||
}
|
|
||||||
AudioPlayer.player.start(ads);
|
AudioPlayer.player.start(ads);
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
statusHandler.handle(Priority.PROBLEM, "Unable to find sound file",
|
statusHandler.handle(Priority.PROBLEM, "Unable to find sound file",
|
||||||
|
@ -424,7 +397,6 @@ public abstract class AbstractSessionView extends ViewPart {
|
||||||
statusHandler.handle(Priority.PROBLEM, "Unable to read sound file",
|
statusHandler.handle(Priority.PROBLEM, "Unable to read sound file",
|
||||||
e);
|
e);
|
||||||
}
|
}
|
||||||
System.out.println("\n\nNew\n\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue