summaryrefslogtreecommitdiff
path: root/javax/sound
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2006-07-02 01:30:42 +0000
committerAnthony Green <green@redhat.com>2006-07-02 01:30:42 +0000
commitc5e33a88e56fc6d2a021c812dee0082cdf7eb3d0 (patch)
treebb55ec04f460da67d78c850ce9e5a29b80101000 /javax/sound
parent14a22ddd94da5b3356f2dea66f391e00645be4d4 (diff)
downloadclasspath-c5e33a88e56fc6d2a021c812dee0082cdf7eb3d0.tar.gz
Fix trivial bug.
Diffstat (limited to 'javax/sound')
-rw-r--r--javax/sound/midi/SysexMessage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/sound/midi/SysexMessage.java b/javax/sound/midi/SysexMessage.java
index 6471a3eb2..a91fc77d7 100644
--- a/javax/sound/midi/SysexMessage.java
+++ b/javax/sound/midi/SysexMessage.java
@@ -86,7 +86,7 @@ public class SysexMessage extends MidiMessage
throws InvalidMidiDataException
{
if (data[0] != SYSTEM_EXCLUSIVE
- || data[0] != SPECIAL_SYSTEM_EXCLUSIVE)
+ && data[0] != SPECIAL_SYSTEM_EXCLUSIVE)
throw new InvalidMidiDataException("Sysex message starts with 0x"
+ Integer.toHexString(data[0])
+ " instead of 0xF0 or 0xF7");