rename to ConsoleTable

This commit is contained in:
Looly 2020-09-30 01:47:48 +08:00
parent 61439c9138
commit 17cacc4a03

View File

@ -48,8 +48,8 @@ public class RandomUtil {
* ThreadLocalRandom是JDK 7之后提供并发产生随机数能够解决多个线程发生的竞争争夺
*
* <p>
* 注意此方法返回的{@link ThreadLocalRandom}不可以在多线程环境下共享对象否则有重复随机数问题
* https://www.jianshu.com/p/89dfe990295c
* 注意此方法返回的{@link ThreadLocalRandom}不可以在多线程环境下共享对象否则有重复随机数问题
* https://www.jianshu.com/p/89dfe990295c
* </p>
*
* @return {@link ThreadLocalRandom}
@ -522,9 +522,10 @@ public class RandomUtil {
*
* @return 随机颜色
* @since 4.1.5
* @deprecated 使用{@link ImgUtil#randomColor()}
* @deprecated 使用ImgUtil.randomColor()
*/
public static Color randomColor() {
@Deprecated
public static Color randomColor() {
final Random random = getRandom();
return new Color(random.nextInt(256), random.nextInt(256), random.nextInt(256));
}