# HG changeset patch # User amenkov # Date 1293629183 -10800 # Node ID 7630450ac41e3b9829fc4d1d4d3cae8a9593ee95 # Parent a7b669e9b0f70a653c82aab181e6bd41e8af07b2 7006997: A typo in MidiSystem.getTransmitter() implementation code Reviewed-by: dav diff -r a7b669e9b0f7 -r 7630450ac41e jdk/src/share/classes/javax/sound/midi/MidiSystem.java --- a/jdk/src/share/classes/javax/sound/midi/MidiSystem.java Tue Dec 28 16:37:15 2010 +0300 +++ b/jdk/src/share/classes/javax/sound/midi/MidiSystem.java Wed Dec 29 16:26:23 2010 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -310,7 +310,7 @@ } else { transmitter = device.getTransmitter(); } - if (!(transmitter instanceof MidiDeviceReceiver)) { + if (!(transmitter instanceof MidiDeviceTransmitter)) { transmitter = new MidiDeviceTransmitterEnvelope(device, transmitter); } return transmitter;