use XDebugSessionListener directly

This commit is contained in:
Vladimir Krivosheev
2017-03-23 12:30:36 +01:00
parent 37cc7064c1
commit ca5884ffb5
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2016 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -163,7 +163,7 @@ public class JavaDebugProcess extends XDebugProcess {
return new DebuggerTreeNodeImpl(null, new MessageDescriptor(message));
}
};
session.addSessionListener(new XDebugSessionAdapter() {
session.addSessionListener(new XDebugSessionListener() {
@Override
public void sessionPaused() {
saveNodeHistory();