Skip to content

Commit

Permalink
标识 PartitionRunnableBuilder @FunctionalInterface fix #634
Browse files Browse the repository at this point in the history
标识 PartitionPerHandler @FunctionalInterface fix #633

标识 PartitionEachSizeBuilder @FunctionalInterface fix #632
  • Loading branch information
venusdrogon committed Nov 19, 2023
1 parent 3b16706 commit 4261106
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
*
* @author <a href="https://github.com/ifeilong/feilong">feilong</a>
* @since 2.0.0
* @since 4.0.3 mark '@FunctionalInterface'
*/
@FunctionalInterface // 该注解加不加,对于接口是不是函数式接口没有影响;只是提醒编译器去检查该接口是否仅包含一个抽象方法
public interface PartitionEachSizeBuilder{

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
* the generic type
* @see com.feilong.core.lang.thread.DefaultPartitionRunnableBuilder
* @since 2.0.0
* @since 4.0.3 mark '@FunctionalInterface'
*/
@FunctionalInterface // 该注解加不加,对于接口是不是函数式接口没有影响;只是提醒编译器去检查该接口是否仅包含一个抽象方法
public interface PartitionPerHandler<T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
* @param <T>
* the generic type
* @since 1.10.3
* @since 4.0.3 mark '@FunctionalInterface'
*/
@FunctionalInterface // 该注解加不加,对于接口是不是函数式接口没有影响;只是提醒编译器去检查该接口是否仅包含一个抽象方法
public interface PartitionRunnableBuilder<T> {

/**
Expand Down

0 comments on commit 4261106

Please sign in to comment.