|
@@ -39,7 +39,7 @@ public class TranslateAopAspect implements Ordered {
|
|
* 构造方法,初始化缓存
|
|
* 构造方法,初始化缓存
|
|
*/
|
|
*/
|
|
public TranslateAopAspect(){
|
|
public TranslateAopAspect(){
|
|
- int count = SpringHelper.getInt("tranlate.cache.size",100);
|
|
|
|
|
|
+ int count = SpringHelper.getInt("translate.cache.size",100);
|
|
transCach = CacheBuilder.newBuilder().initialCapacity(count/2).maximumSize(count).build();
|
|
transCach = CacheBuilder.newBuilder().initialCapacity(count/2).maximumSize(count).build();
|
|
}
|
|
}
|
|
|
|
|