Stop calling Charset.availableCharsets() early
This is no longer required as Spring Framework has been updated to invoke this method lazily as well. Closes gh-13423
This commit is contained in:
parent
deea8ebc0d
commit
7ae82b070b
|
@ -16,7 +16,6 @@
|
|||
|
||||
package org.springframework.boot.autoconfigure;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
@ -173,7 +172,6 @@ public class BackgroundPreinitializer
|
|||
@Override
|
||||
public void run() {
|
||||
StandardCharsets.UTF_8.name();
|
||||
Charset.availableCharsets();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue