Rename getLastTaskInfo to lastTaskInfo (aligned with currentTaskName)

See gh-25803
This commit is contained in:
Juergen Hoeller
2023-08-08 09:41:00 +02:00
parent 8e16e5ea35
commit 3b093754c8
2 changed files with 40 additions and 28 deletions

View File

@@ -47,7 +47,7 @@ class StopWatchTests {
@Test
void failureToStartBeforeGettingTimings() {
assertThatIllegalStateException().isThrownBy(stopWatch::getLastTaskInfo);
assertThatIllegalStateException().isThrownBy(stopWatch::lastTaskInfo);
}
@Test