harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r436657 - in /incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi: MidiSystem.java VoiceStatus.java
Date Fri, 25 Aug 2006 04:57:28 GMT
Author: mloenko
Date: Thu Aug 24 21:57:27 2006
New Revision: 436657

URL: http://svn.apache.org/viewvc?rev=436657&view=rev
Log:
changed behavior of not yet implemented methods to simplify app-driven development

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java
    incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java?rev=436657&r1=436656&r2=436657&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java
Thu Aug 24 21:57:27 2006
@@ -26,117 +26,117 @@
     public static MidiDevice getMidiDevice(MidiDevice.Info info)
             throws MidiUnavailableException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static MidiDevice.Info[] getMidiDeviceInfo() {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static MidiFileFormat getMidiFileFormat(File file) throws InvalidMidiDataException,
             IOException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static MidiFileFormat getMidiFileFormat(InputStream stream)
             throws InvalidMidiDataException, IOException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static MidiFileFormat getMidiFileFormat(URL url) throws InvalidMidiDataException,
             IOException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static int[] getMidiFileTypes() {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static int[] getMidiFileTypes(Sequence sequence) {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Receiver getReceiver() throws MidiUnavailableException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Sequence getSequence(File file) throws InvalidMidiDataException, IOException
{
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Sequence getSequence(InputStream stream) throws InvalidMidiDataException,
             IOException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Sequence getSequence(URL url) throws InvalidMidiDataException, IOException
{
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Sequencer getSequencer() throws MidiUnavailableException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Sequencer getSequencer(boolean connected) throws MidiUnavailableException
{
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Soundbank getSoundbank(File file) throws InvalidMidiDataException,
             IOException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Soundbank getSoundbank(InputStream stream) throws InvalidMidiDataException,
             IOException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Soundbank getSoundbank(URL url) throws InvalidMidiDataException, IOException
{
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Synthesizer getSynthesizer() throws MidiUnavailableException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static Transmitter getTransmitter() throws MidiUnavailableException {
         //TODO
-        return null;
+        throw new Error("not yet implemented");
     }
 
     public static boolean isFileTypeSupported(int fileType) {
         //TODO
-        return false;
+        throw new Error("not yet implemented");
     }
 
     public static boolean isFileTypeSupported(int fileType, Sequence sequence) {
         //TODO
-        return false;
+        throw new Error("not yet implemented");
     }
 
     public static int write(Sequence in, int type, File out) throws IOException {
         //TODO
-        return 1;
+        throw new Error("not yet implemented");
     }
 
     public static int write(Sequence in, int fileType, OutputStream out) throws IOException
{
         //TODO
-        return 1;
+        throw new Error("not yet implemented");
     }
 }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java?rev=436657&r1=436656&r2=436657&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java
Thu Aug 24 21:57:27 2006
@@ -31,5 +31,6 @@
 
     public VoiceStatus() {
         // TODO
+        throw new Error("not yet implemented");
     }
 }



Mime
View raw message