From 3f956bef4b69fc452d6f29cdef6a74e9691d8b61 Mon Sep 17 00:00:00 2001 From: yfh0918 Date: Tue, 26 May 2020 16:51:32 +0800 Subject: [PATCH] #2896 bugfix --- .../service/repository/ExternalStoragePersistServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ExternalStoragePersistServiceImpl.java b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ExternalStoragePersistServiceImpl.java index 042bdb51b..172b923d6 100644 --- a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ExternalStoragePersistServiceImpl.java +++ b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/ExternalStoragePersistServiceImpl.java @@ -630,7 +630,7 @@ public class ExternalStoragePersistServiceImpl implements PersistService { try { return jt.queryForObject(sql, Long.class); } catch (NullPointerException e) { - return 0l; + return 0; } }