Browse Source

更新lombok依赖以及修复warning.

NorthLan 6 years ago
parent
commit
38318d230f

+ 1 - 1
build.gradle

@@ -135,7 +135,7 @@ subprojects {
         compile("io.springfox:springfox-swagger-ui:$swagger_version")
 
         // utils
-        compile("org.projectlombok:lombok:1.16.18")
+        compile("org.projectlombok:lombok:1.18.2")
 //        compile("com.google.guava:guava:23.6-jre")
 //        compile("com.github.penggle:kaptcha:2.3.2")
         compile("com.alibaba:fastjson:$fastjson_version")

+ 1 - 1
zen-core/src/main/kotlin/com/gxzc/zen/common/util/upload/UploadUtil.kt

@@ -171,7 +171,7 @@ object UploadUtil {
      * 检查分片是否存在 (tmp目录)
      */
     private fun chunkExists(chunkNumber: Int?, md5: String): Boolean {
-        val tmpPath = uploadProperties!!.tmpPath!!
+        val tmpPath = uploadProperties.tmpPath
         return Files.exists(Paths.get(getChunkFilename(tmpPath, chunkNumber, md5)))
     }