REQ-3540: 更新文件大小
This commit is contained in:
parent
b11893bb4f
commit
c8d9ccc25c
@ -132,6 +132,7 @@ public class IndexSupport {
|
|||||||
|
|
||||||
void ensureChildNameNotUsed(IndexNodeParentScope parentScope, IndexNodeType nodeType, String childName) {
|
void ensureChildNameNotUsed(IndexNodeParentScope parentScope, IndexNodeType nodeType, String childName) {
|
||||||
IndexNode child = indexNodeDao.findValidChildByName(parentScope, nodeType, childName);
|
IndexNode child = indexNodeDao.findValidChildByName(parentScope, nodeType, childName);
|
||||||
|
// don't use BizAssertions.assertNull
|
||||||
if (child != null)
|
if (child != null)
|
||||||
throw new NameUsedException("名称已被使用");
|
throw new NameUsedException("名称已被使用");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user