ソースを参照

jfinal 5.0.7 release ^_^

James 3 年 前
コミット
9d8df5652b

+ 1 - 0
.gitignore

@@ -56,3 +56,4 @@ dev_plan.txt
 
 
 
+

+ 0 - 2
LICENSE

@@ -190,5 +190,3 @@ third-party archives.
    See the License for the specific language governing permissions and
    limitations under the License.
 
-
-

+ 1 - 1
src/main/java/com/jfinal/core/Const.java

@@ -23,7 +23,7 @@ import com.jfinal.render.ViewType;
  */
 public interface Const {
 
-	String JFINAL_VERSION = "5.0.6";
+	String JFINAL_VERSION = "5.0.7";
 
 	ViewType DEFAULT_VIEW_TYPE = ViewType.JFINAL_TEMPLATE;
 

+ 1 - 1
src/main/java/com/jfinal/plugin/redis/Cache.java

@@ -1561,9 +1561,9 @@ public class Cache {
         }
         
         Jedis jedis = getJedis();
+        Boolean continueScan;
         ScanResult<String> scanResult;
         try {
-            Boolean continueScan;
             do {
                 scanResult = jedis.scan(cursorStr, scanParams);
                 // 更新 cursorStr 用于 scan 继续迭代。注意,cursorStr 为 "0" 时,scanResult.getResult() 可以有数据