Skip to content

Commit d123427

Browse files
fix: correct method location typo
1 parent 3f03453 commit d123427

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/Breakpoint.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,16 +329,16 @@ private CompletableFuture<List<Location>> collectLocations(List<ReferenceType> r
329329
List<CompletableFuture<Location>> futures = new ArrayList<>();
330330
for (ReferenceType refType : refTypes) {
331331
if (async()) {
332-
futures.add(AsyncJdwpUtils.supplyAsync(() -> findMethodLocaiton(refType, methodName, methodSiguature)));
332+
futures.add(AsyncJdwpUtils.supplyAsync(() -> findMethodLocation(refType, methodName, methodSiguature)));
333333
} else {
334-
futures.add(CompletableFuture.completedFuture(findMethodLocaiton(refType, methodName, methodSiguature)));
334+
futures.add(CompletableFuture.completedFuture(findMethodLocation(refType, methodName, methodSiguature)));
335335
}
336336
}
337337

338338
return AsyncJdwpUtils.all(futures);
339339
}
340340

341-
private Location findMethodLocaiton(ReferenceType refType, String methodName, String methodSiguature) {
341+
private Location findMethodLocation(ReferenceType refType, String methodName, String methodSiguature) {
342342
List<Method> methods = refType.methods();
343343
Location location = null;
344344
for (Method method : methods) {

0 commit comments

Comments
 (0)