diff --git a/bpmn-intellij-plugin-commons/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/commons/actions/DefaultAttachBpmnDebuggerToDbAction.kt b/bpmn-intellij-plugin-commons/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/commons/actions/DefaultAttachBpmnDebuggerToDbAction.kt index 3898bbb50..5b52aec8c 100644 --- a/bpmn-intellij-plugin-commons/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/commons/actions/DefaultAttachBpmnDebuggerToDbAction.kt +++ b/bpmn-intellij-plugin-commons/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/commons/actions/DefaultAttachBpmnDebuggerToDbAction.kt @@ -74,7 +74,7 @@ abstract class IntelliJBpmnDebugger(private val schema: DbElement): BpmnDebugger private fun fetchFromDb(project: Project, processId: String): ExecutedElements? { try { val connProvider = DbImplUtil.getDatabaseConnection(schema, DGDepartment.INTROSPECTION)?.get() - // Old IntelliJ provides only getJdbcConnection + // TODO !COMPATIBILITY: Old IntelliJ provides only getJdbcConnection try { val jdbcSupplier = connProvider?.javaClass?.getMethod("getJdbcConnection") if (true != jdbcSupplier?.isAccessible) { diff --git a/bpmn-intellij-plugin-core/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/core/render/CanvasConstants.kt b/bpmn-intellij-plugin-core/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/core/render/CanvasConstants.kt index 123b25b64..02d12049a 100644 --- a/bpmn-intellij-plugin-core/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/core/render/CanvasConstants.kt +++ b/bpmn-intellij-plugin-core/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/core/render/CanvasConstants.kt @@ -23,7 +23,7 @@ fun isJreHiDPIEnabled(): Boolean { val jreHighDpiUtil = Class.forName("com.intellij.ui.JreHiDpiUtil") jreHighDpiUtil.getMethod("isJreHiDPIEnabled").invoke(null) as Boolean } catch (ex: Exception) { - // TODO com.intellij.util.ui.UIUtil.isJreHiDPIEnabled is scheduled for removal in 2021.3, keeping it as fallback for 2018.1 + // TODO !COMPATIBILITY: com.intellij.util.ui.UIUtil.isJreHiDPIEnabled is scheduled for removal in 2021.3, keeping it as fallback for 2018.1 val uiUtil = Class.forName("com.intellij.util.ui.UIUtil") uiUtil.getMethod("isJreHiDPIEnabled").invoke(null) as Boolean }