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:
Stephane Nicoll 2018-06-19 14:12:00 +02:00
parent deea8ebc0d
commit 7ae82b070b
1 changed files with 0 additions and 2 deletions

View File

@ -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();
}
}