v1.35.0.RC

This commit is contained in:
click33
2023-06-23 19:41:26 +08:00
parent 1251cd19c5
commit d1ef107662
60 changed files with 142 additions and 64 deletions

View File

@@ -26,7 +26,7 @@ import java.lang.annotation.Target;
* <p> 可标注在方法、类上(效果等同于标注在此类的所有方法上)
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })

View File

@@ -25,7 +25,7 @@ import java.util.function.Consumer;
* <p> 返回:无 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCheckElementAnnotationFunction extends Consumer<AnnotatedElement> {

View File

@@ -25,7 +25,7 @@ import java.util.function.Consumer;
* <p> 返回:无 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCheckMethodAnnotationFunction extends Consumer<Method> {

View File

@@ -26,7 +26,7 @@ import java.util.function.Consumer;
* <p> 返回:无 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCheckOrAnnotationFunction extends Consumer<SaCheckOr> {

View File

@@ -26,7 +26,7 @@ import java.util.function.Function;
* <p> 返回SaSession对象 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCreateSessionFunction extends Function<String, SaSession> {

View File

@@ -26,7 +26,7 @@ import java.util.function.Function;
* <p> 返回:创建好的 StpLogic 对象 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCreateStpLogicFunction extends Function<String, StpLogic> {

View File

@@ -24,7 +24,7 @@ import java.util.function.BiFunction;
* <p> 返回token 值 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCreateTokenFunction extends BiFunction<Object, String, String> {

View File

@@ -25,7 +25,7 @@ import java.util.function.Supplier;
* <p> 返回生成的token </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaGenerateUniqueTokenFunction {

View File

@@ -26,7 +26,7 @@ import java.util.function.BiFunction;
* <p> 返回:注解对象 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaGetAnnotationFunction extends BiFunction<AnnotatedElement, Class<? extends Annotation> , Annotation> {

View File

@@ -25,7 +25,7 @@ import java.util.function.BiFunction;
* <p> 返回:是否包含 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaHasElementFunction extends BiFunction<List<String>, String, Boolean> {

View File

@@ -26,7 +26,7 @@ import java.util.function.BiFunction;
* <p> 返回:是否包含 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaIsAnnotationPresentFunction extends BiFunction<Method, Class<? extends Annotation>, Boolean> {

View File

@@ -36,7 +36,7 @@ public class SaTokenConsts {
/**
* Sa-Token 当前版本号
*/
public static final String VERSION_NO = "v1.34.1";
public static final String VERSION_NO = "v1.35.0.RC";
/**
* Sa-Token 开源地址 Gitee

View File

@@ -20,7 +20,7 @@ package cn.dev33.satoken.util;
* 封装两个值的容器方便取值、写值等操作value1 和 value2 用逗号隔开形如123,abc
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
public class SaValue2Box {