From 54d30062e3f4f4b25794ae36578de66ba6ba6b0e Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 30 Oct 2024 15:52:07 +0900 Subject: [PATCH] =?UTF-8?q?Relation.setInfo(..)=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/base/file/FileInfo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/file/FileInfo.java b/src/main/java/cokr/xit/base/file/FileInfo.java index 63d684e..89a003b 100644 --- a/src/main/java/cokr/xit/base/file/FileInfo.java +++ b/src/main/java/cokr/xit/base/file/FileInfo.java @@ -98,7 +98,8 @@ public class FileInfo extends AbstractEntity { public void setInfo(FileInfo fileInfo) { fileInfo.setInfoType(Assert.notEmpty(infoType, "infoType")); fileInfo.setInfoKey(Assert.notEmpty(infoKey, "infoKey")); - fileInfo.setSubType(subType); + if (!Assert.isEmpty(subType)) + fileInfo.setSubType(subType); } }