1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +02:00

Fix RemoteConnectionType#connectionRemoved()

The method should create an event of CONNECTION_REMOVED type.

Change-Id: I2d03146dd6df6b46f5e641b5c53d72b6ca73b210
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
This commit is contained in:
Wainer dos Santos Moschetta 2016-03-24 10:44:17 -03:00
parent cd186607af
commit eb4246980a

View file

@ -308,7 +308,7 @@ public class RemoteConnectionType implements IRemoteConnectionType {
*/
protected void connectionRemoved(final IRemoteConnection connection) {
RemoteConnectionChangeEvent event = new RemoteConnectionChangeEvent(connection,
RemoteConnectionChangeEvent.CONNECTION_ADDED);
RemoteConnectionChangeEvent.CONNECTION_REMOVED);
remoteServicesManager.fireRemoteConnectionChangeEvent(event);
}