parent
da036809e9
commit
6da891529b
|
@ -303,7 +303,7 @@ public class CharUtils {
|
|||
if (ch < CHAR_STRING_ARRAY.length) {
|
||||
return CHAR_STRING_ARRAY[ch];
|
||||
}
|
||||
return new String(new char[] {ch});
|
||||
return String.valueOf(ch);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -467,7 +467,7 @@ public class ThreadUtils {
|
|||
public static void sleepQuietly(final long millis) {
|
||||
try {
|
||||
sleep(Duration.ofMillis(millis));
|
||||
} catch (InterruptedException e) {
|
||||
} catch (final InterruptedException e) {
|
||||
// be quiet.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue