Fix typos in code and documentation
See gh-31734
This commit is contained in:
committed by
Phillip Webb
parent
4bcec6e0ee
commit
dbfc6bded4
@@ -327,7 +327,7 @@ public class Restarter {
|
||||
}
|
||||
|
||||
private void cleanupKnownCaches() {
|
||||
// Whilst not strictly necessary it helps to cleanup soft reference caches
|
||||
// Whilst not strictly necessary it helps to clean up soft reference caches
|
||||
// early rather than waiting for memory limits to be reached
|
||||
ResolvableType.clearCache();
|
||||
cleanCachedIntrospectionResultsCache();
|
||||
|
||||
@@ -89,7 +89,7 @@ class RestartServerTests {
|
||||
@Test
|
||||
void updateReplacesLocalFilesWhenPossible(@TempDir File directory) throws Exception {
|
||||
// This is critical for Cloud Foundry support where the application is
|
||||
// run exploded and resources can be found from the servlet root (outside of the
|
||||
// run exploded and resources can be found from the servlet root (outside the
|
||||
// classloader)
|
||||
File classFile = new File(directory, "ClassA.class");
|
||||
FileCopyUtils.copy("abc".getBytes(), classFile);
|
||||
|
||||
Reference in New Issue
Block a user