mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
explicit types to diamonds
This commit is contained in:
@@ -41,7 +41,7 @@ public class PyExecuteFileLineMarkerProvider implements LineMarkerProvider {
|
||||
final PyExecuteFileExtensionPoint[] extensions =
|
||||
ApplicationManager.getApplication().getExtensions(PyExecuteFileExtensionPoint.EP_NAME);
|
||||
|
||||
final List<AnAction> actions = new ArrayList<AnAction>();
|
||||
final List<AnAction> actions = new ArrayList<>();
|
||||
final DefaultActionGroup group = new DefaultActionGroup();
|
||||
if (PlatformUtils.isPyCharmEducational()) {
|
||||
group.add(runAction);
|
||||
|
||||
@@ -55,7 +55,7 @@ class PyEduDebugProcess extends PyDebugProcess {
|
||||
@NotNull
|
||||
@Override
|
||||
protected PySuspendContext createSuspendContext(PyThreadInfo threadInfo) {
|
||||
threadInfo.updateState(threadInfo.getState(), new ArrayList<PyStackFrameInfo>(filterFrames(threadInfo.getFrames())));
|
||||
threadInfo.updateState(threadInfo.getState(), new ArrayList<>(filterFrames(threadInfo.getFrames())));
|
||||
return new PySuspendContext(this, threadInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public class PyEduStackFrame extends PyStackFrame {
|
||||
node.addChildren(XValueChildrenList.EMPTY, true);
|
||||
return;
|
||||
}
|
||||
final Map<String, XValue> specialValues = new HashMap<String, XValue>();
|
||||
final Map<String, XValue> specialValues = new HashMap<>();
|
||||
XValueChildrenList filteredChildren = new XValueChildrenList();
|
||||
for (int i = 0; i < children.size(); i++) {
|
||||
String name = children.getName(i);
|
||||
|
||||
Reference in New Issue
Block a user