REQ-3540: 惹名scope的子节点名可以重复
This commit is contained in:
parent
95e749fdd1
commit
3b5710fcb2
@ -17,6 +17,10 @@ public interface IndexNodeScope {
|
||||
return DatabaseScope.NONE;
|
||||
}
|
||||
|
||||
default String scopeCode() {
|
||||
return "";
|
||||
}
|
||||
|
||||
default boolean isChildrenNameDuplicatable() {
|
||||
switch (context()) {
|
||||
case FILE_TEMPLATE:
|
||||
@ -28,10 +32,6 @@ public interface IndexNodeScope {
|
||||
}
|
||||
}
|
||||
|
||||
default String scopeCode() {
|
||||
return "";
|
||||
}
|
||||
|
||||
// @formatter:off
|
||||
IndexNodeScope NONE = new IndexNodeScope() {};
|
||||
// @formatter:on
|
||||
|
||||
Loading…
Reference in New Issue
Block a user