From d1234278b64869a703e5f7df3a86eeaf7baad5ff Mon Sep 17 00:00:00 2001 From: titanniya542-spec Date: Tue, 9 Jun 2026 18:16:35 +0800 Subject: [PATCH] fix: correct method location typo --- .../main/java/com/microsoft/java/debug/core/Breakpoint.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/Breakpoint.java b/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/Breakpoint.java index d8316c2e..3a1fa19f 100644 --- a/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/Breakpoint.java +++ b/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/Breakpoint.java @@ -329,16 +329,16 @@ private CompletableFuture> collectLocations(List r List> futures = new ArrayList<>(); for (ReferenceType refType : refTypes) { if (async()) { - futures.add(AsyncJdwpUtils.supplyAsync(() -> findMethodLocaiton(refType, methodName, methodSiguature))); + futures.add(AsyncJdwpUtils.supplyAsync(() -> findMethodLocation(refType, methodName, methodSiguature))); } else { - futures.add(CompletableFuture.completedFuture(findMethodLocaiton(refType, methodName, methodSiguature))); + futures.add(CompletableFuture.completedFuture(findMethodLocation(refType, methodName, methodSiguature))); } } return AsyncJdwpUtils.all(futures); } - private Location findMethodLocaiton(ReferenceType refType, String methodName, String methodSiguature) { + private Location findMethodLocation(ReferenceType refType, String methodName, String methodSiguature) { List methods = refType.methods(); Location location = null; for (Method method : methods) {