From bc80be1b892f104d07f7d7ee64213f560460f41b Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 27 Jun 2023 01:09:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=82=E5=B8=B8=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/xyz/zhouxy/plusone/commons/jdbc/DbRecord.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/DbRecord.java b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/DbRecord.java index 120d26e..a57327c 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/DbRecord.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/DbRecord.java @@ -39,11 +39,11 @@ import xyz.zhouxy.plusone.commons.util.OptionalUtil; public class DbRecord extends AbstractMapWrapper { public DbRecord() { - super(new HashMap<>(), k -> Assert.isNotBlank(k, "Key can not be null."), null); + super(new HashMap<>(), k -> Assert.isNotBlank(k, "Key must has text."), null); } public DbRecord(Map map) { - super(map, k -> Assert.isNotBlank(k, "Key can not be null."), null); + super(map, k -> Assert.isNotBlank(k, "Key must has text."), null); } public Optional getValueAsString(String key) {