Skip to content

Commit 5c4ff53

Browse files
rename formatMethodSig
1 parent 798d5f7 commit 5c4ff53

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/IStepFilterProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
public interface IStepFilterProvider extends IProvider {
2020
boolean shouldSkipOver(Method method, Requests.StepFilters filters);
2121
boolean shouldSkipFrame(Method method);
22-
Optional<String> formatMethodName(Method method );
22+
Optional<String> formatMethodSig(Method method );
2323

2424
boolean shouldSkipOut(Location upperLocation, Method method);
2525
}

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/StepFilterProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public boolean shouldSkipFrame(Method method) {
5151

5252

5353
@Override
54-
public Optional<String> formatMethodName(Method method) {
54+
public Optional<String> formatMethodSig(Method method) {
5555
return Optional.of(method.name());
5656
}
5757

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/StackTraceRequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public CompletableFuture<Response> handle(Command command, Arguments arguments,
7979
StackFrameReference stackframe = new StackFrameReference(thread, i);
8080
int frameId = context.getRecyclableIdPool().addObject(thread.uniqueID(), stackframe);
8181
IStepFilterProvider stackTraceFilterProvider = context.getProvider(IStepFilterProvider.class);
82-
Optional<String> optionalFormattedName = stackTraceFilterProvider.formatMethodName(thread.frame(i).location().method());
82+
Optional<String> optionalFormattedName = stackTraceFilterProvider.formatMethodSig(thread.frame(i).location().method());
8383

8484

8585
if(!stackTraceFilterProvider.shouldSkipFrame(thread.frame(i).location().method()) && !optionalFormattedName.isEmpty() )

0 commit comments

Comments
 (0)