Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Jun 10, 2022
1 parent 112250e commit ad3d478
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,10 +1055,11 @@ public static <T> ArrayList<T> distinct(Collection<T> collection) {
* 根据函数生成的KEY去重集合,如根据Bean的某个或者某些字段完成去重。<br>
* 去重可选是保留最先加入的值还是后加入的值
*
* @param <T> 集合元素类型
* @param <K> 唯一键类型
* @param collection 集合
* @param override 是否覆盖模式,如果为{@code true},加入的新值会覆盖相同key的旧值,否则会忽略新加值
* @param <T> 集合元素类型
* @param <K> 唯一键类型
* @param collection 集合
* @param uniqueGenerator 唯一键生成器
* @param override 是否覆盖模式,如果为{@code true},加入的新值会覆盖相同key的旧值,否则会忽略新加值
* @return {@link ArrayList}
* @since 5.8.0
*/
Expand Down
6 changes: 2 additions & 4 deletions hutool-core/src/main/java/cn/hutool/core/date/DateUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2105,9 +2105,8 @@ public static LocalDateTime toLocalDateTime(Date date) {
* {@link Date} 转换时区
*
* @param date {@link Date}
* @param zoneId{@link zoneId}
* @param zoneId {@link ZoneId}
* @return {@link DateTime}
* @see DateTime(Date, ZoneId )
* @since 5.8.3
*/
public static DateTime convertTimeZone(Date date, ZoneId zoneId) {
Expand All @@ -2118,9 +2117,8 @@ public static DateTime convertTimeZone(Date date, ZoneId zoneId) {
* {@link Date} 转换时区
*
* @param date {@link Date}
* @param timeZone{@link timeZone}
* @param timeZone {@link TimeZone}
* @return {@link DateTime}
* @see DateTime(Date,ZoneId)
* @since 5.8.3
*/
public static DateTime convertTimeZone(Date date, TimeZone timeZone) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1648,6 +1648,7 @@ public static <T> T[] distinct(T[] array) {
* @param <T> 数组元素类型
* @param <K> 唯一键类型
* @param array 数组
* @param uniqueGenerator 唯一键生成器
* @param override 是否覆盖模式,如果为{@code true},加入的新值会覆盖相同key的旧值,否则会忽略新加值
* @return 去重后的数组
* @since 5.8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,8 @@ public static <T> T invoke(Object obj, Method method, Object... args) throws Inv
* @param method 方法(对象方法或static方法都可)
* @param args 参数对象
* @return 结果
* @throws InvocationTargetRuntimeException 目标方法执行异常
* @throws UtilException {@link IllegalAccessException}异常的包装
* @throws InvocationTargetException 目标方法执行异常
* @throws IllegalAccessException 访问异常
* @since 5.8.1
*/
@SuppressWarnings("unchecked")
Expand Down

0 comments on commit ad3d478

Please sign in to comment.