Skip to content

Commit f528124

Browse files
author
邱家榆
committed
删除Spring 关键字
1 parent a4178d6 commit f528124

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<version>4.16</version>
66
<packaging>jar</packaging>
77
<name>AutoLoadCache</name>
8-
<description>User Spring AOP and annotation to do with cache.</description>
8+
<description>User AOP and annotation to do with cache.</description>
99
<url>https://github.com/qiujiayu/AutoLoadCache</url>
1010
<licenses>
1111
<license>

src/main/java/com/jarvis/cache/annotation/Cache.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
int expire();
2323

2424
/**
25-
* 动态获取缓存过期时间的Spring EL表达式
25+
* 动态获取缓存过期时间的表达式
2626
* @return 时间
2727
*/
2828
String expireExpression() default "";
@@ -34,13 +34,13 @@
3434
int alarmTime() default 0;
3535

3636
/**
37-
* 自定义缓存Key,支持Spring EL表达式
37+
* 自定义缓存Key,支持表达式
3838
* @return String 自定义缓存Key
3939
*/
4040
String key();
4141

4242
/**
43-
* 设置哈希表中的字段,如果设置此项,则用哈希表进行存储,支持Spring EL表达式
43+
* 设置哈希表中的字段,如果设置此项,则用哈希表进行存储,支持表达式
4444
* @return String
4545
*/
4646
String hfield() default "";

src/main/java/com/jarvis/cache/annotation/ExCache.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
int expire();
2525

2626
/**
27-
* 动态获取缓存过期时间的Spring EL表达式
27+
* 动态获取缓存过期时间的表达式
2828
* @return 时间
2929
*/
3030
String expireExpression() default "";
3131

3232
/**
33-
* 自定义缓存Key,支持Spring EL表达式
33+
* 自定义缓存Key,支持表达式
3434
* @return String 自定义缓存Key
3535
*/
3636
String key();
3737

3838
/**
39-
* 设置哈希表中的字段,如果设置此项,则用哈希表进行存储,支持Spring EL表达式
39+
* 设置哈希表中的字段,如果设置此项,则用哈希表进行存储,支持表达式
4040
* @return String
4141
*/
4242
String hfield() default "";
@@ -48,7 +48,7 @@
4848
String condition() default "";
4949

5050
/**
51-
* 通过SpringEL表达式获取需要缓存的数据,如果没有设置,则默认使用 #retVal
51+
* 通过表达式获取需要缓存的数据,如果没有设置,则默认使用 #retVal
5252
* @return 缓存对象
5353
*/
5454
String cacheObject() default "";

src/main/java/com/jarvis/cache/script/AbstractScriptParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public abstract class AbstractScriptParser {
4242
public abstract <T> T getElValue(String exp, Object[] arguments, Object retVal, boolean hasRetVal, Class<T> valueType) throws Exception;
4343

4444
/**
45-
* 将Spring EL 表达式转换期望的值
46-
* @param keySpEL 生成缓存Key的Spring el表达式
45+
* 将表达式转换期望的值
46+
* @param keySpEL 生成缓存Key的表达式
4747
* @param arguments 参数
4848
* @param valueType 值类型
4949
* @return T Value 返回值
@@ -56,7 +56,7 @@ public <T> T getElValue(String keySpEL, Object[] arguments, Class<T> valueType)
5656

5757
/**
5858
* 根据请求参数和执行结果值,进行构造缓存Key
59-
* @param keySpEL 生成缓存Key的Spring el表达式
59+
* @param keySpEL 生成缓存Key的表达式
6060
* @param arguments 参数
6161
* @param retVal 结果值
6262
* @param hasRetVal 是否有retVal

0 commit comments

Comments
 (0)