File tree Expand file tree Collapse file tree
com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments