diff options
Diffstat (limited to 'libjava/classpath/javax/sound/midi/Instrument.java')
-rw-r--r-- | libjava/classpath/javax/sound/midi/Instrument.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libjava/classpath/javax/sound/midi/Instrument.java b/libjava/classpath/javax/sound/midi/Instrument.java index f2821db..a8626fa 100644 --- a/libjava/classpath/javax/sound/midi/Instrument.java +++ b/libjava/classpath/javax/sound/midi/Instrument.java @@ -40,7 +40,7 @@ package javax.sound.midi; /** * The abstract base class for all MIDI instruments. - * + * * @author Anthony Green (green@redhat.com) * @since 1.3 * @@ -49,29 +49,29 @@ public abstract class Instrument extends SoundbankResource { // The instrument patch. private Patch patch; - + /** * Create a new Instrument. - * + * * @param soundbank the Soundbank containing the instrument. * @param patch the patch for this instrument * @param name the name of this instrument * @param dataClass the class used to represent sample data for this instrument */ - protected Instrument(Soundbank soundbank, Patch patch, + protected Instrument(Soundbank soundbank, Patch patch, String name, Class<?> dataClass) { super(soundbank, name, dataClass); - this.patch = patch; + this.patch = patch; } - + /** * Get the patch for this instrument. - * + * * @return the patch for this instrument */ public Patch getPatch() { return patch; - } + } } |