Skip to content

Commit

Permalink
[pinpoint-apm#9380] add location field
Browse files Browse the repository at this point in the history
Fix intelliJ warning
   * Warning:(91, 29) 'StringBuilder sb' can be replaced with 'String'
  • Loading branch information
feelform committed Nov 21, 2022
1 parent 5dae10d commit 3c3979f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void stubToApiMetaData() {
ApiMetaDataService mockedService = mock(ApiMetaDataService.class);
GrpcApiMetaDataHandler dut = new GrpcApiMetaDataHandler(mockedService);

PApiMetaData actulStub = PApiMetaData.newBuilder()
PApiMetaData actualStub = PApiMetaData.newBuilder()
.setApiId(13)
.setApiInfo("express.Function.proto.get(path, callback)")
.setLine(177)
Expand All @@ -36,7 +36,7 @@ public void stubToApiMetaData() {
return null;
}).when(mockedService).insert(any());

dut.handleApiMetaData(actulStub);
dut.handleApiMetaData(actualStub);

mocked.verify(ServerContext::getAgentInfo);
}
Expand Down

0 comments on commit 3c3979f

Please sign in to comment.