We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 771f0a4 + baa782e commit a15cb6fCopy full SHA for a15cb6f
hutool-core/src/main/java/cn/hutool/core/lang/Singleton.java
@@ -42,7 +42,6 @@ public static <T> T get(Class<T> clazz, Object... params) {
42
/**
43
* 获得指定类的单例对象<br>
44
* 对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象<br>
45
- * 注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
46
*
47
* @param <T> 单例对象类型
48
* @param key 自定义键
0 commit comments