From 5d2cdb44b66a0e7326548949de9de71237eff526 Mon Sep 17 00:00:00 2001 From: Alexander Doroshko Date: Fri, 24 Apr 2020 19:03:25 +0300 Subject: [PATCH] Remove Dartium support GitOrigin-RevId: 7d1ccbc1c1e263203029323987af8fe3a36536a8 --- .../debugger/ScriptRegExpBreakpointTarget.kt | 20 +++---------------- .../debugger-ui/src/DebugProcessImpl.kt | 2 -- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/platform/script-debugger/backend/src/debugger/ScriptRegExpBreakpointTarget.kt b/platform/script-debugger/backend/src/debugger/ScriptRegExpBreakpointTarget.kt index bfd9d98e65e8..ac4209296e00 100644 --- a/platform/script-debugger/backend/src/debugger/ScriptRegExpBreakpointTarget.kt +++ b/platform/script-debugger/backend/src/debugger/ScriptRegExpBreakpointTarget.kt @@ -1,22 +1,8 @@ -/* - * 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.debugger -class ScriptRegExpBreakpointTarget(private val regExp: String, val language: String? = null) : BreakpointTarget() { - override fun accept(visitor: BreakpointTarget.Visitor): R { +class ScriptRegExpBreakpointTarget(private val regExp: String) : BreakpointTarget() { + override fun accept(visitor: Visitor): R { if (visitor is ScriptRegExpSupportVisitor<*>) { return (visitor as ScriptRegExpSupportVisitor).visitRegExp(this) } diff --git a/platform/script-debugger/debugger-ui/src/DebugProcessImpl.kt b/platform/script-debugger/debugger-ui/src/DebugProcessImpl.kt index c76e7daeb6c4..13c9d8221178 100644 --- a/platform/script-debugger/debugger-ui/src/DebugProcessImpl.kt +++ b/platform/script-debugger/debugger-ui/src/DebugProcessImpl.kt @@ -58,8 +58,6 @@ abstract class DebugProcessImpl>(session: XDebugSession, // todo: file resolving: check that urlToFileCache still needed protected val urlToFileCache: ConcurrentMap = ConcurrentHashMap() - var processBreakpointConditionsAtIdeSide: Boolean = false - private val connectedListenerAdded = AtomicBoolean() private val breakpointsInitiated = AtomicBoolean()