From 81b23a63d24080a0e2b2197ad7def90706e6e530 Mon Sep 17 00:00:00 2001 From: Nipuna Ranasinghe Date: Wed, 4 Dec 2024 21:00:57 +0530 Subject: [PATCH] Fix spotbugs --- .../modules/debug-adapter-core/spotbugs-exclude.xml | 4 ++-- .../org/ballerinalang/debugadapter/JDIEventProcessor.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml b/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml index 834102614f91..7e528799f807 100644 --- a/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml +++ b/misc/debug-adapter/modules/debug-adapter-core/spotbugs-exclude.xml @@ -31,13 +31,13 @@ - + - + diff --git a/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java b/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java index db87cf0ee53e..57d06e2297da 100755 --- a/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java +++ b/misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java @@ -71,6 +71,7 @@ public class JDIEventProcessor { this.breakpointProcessor = new BreakpointProcessor(context, this); this.isRemoteVmAttached = true; this.interruptFlag = false; + this.listeningTask = null; } BreakpointProcessor getBreakpointProcessor() {