mirror of
https://gitee.com/BDWare/common
synced 2025-06-28 04:29:03 +00:00
add ClusterUtil
update @Router arguments add DOIPUtilTest update log4j2.properties
This commit is contained in:
parent
f74c4f040f
commit
46e5644cf2
@ -52,7 +52,7 @@ dependencies {
|
|||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'junit:junit:4.13.2'
|
||||||
}
|
}
|
||||||
group = "org.bdware.sc"
|
group = "org.bdware.sc"
|
||||||
version = "1.5.6"
|
version = "1.5.7"
|
||||||
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
||||||
|
|
||||||
task copyLibs(type: Copy) {
|
task copyLibs(type: Copy) {
|
||||||
|
@ -192,4 +192,8 @@ public class ContractNode {
|
|||||||
public void setInstrumentBranch(boolean b) {
|
public void setInstrumentBranch(boolean b) {
|
||||||
instrumentBranch = b;
|
instrumentBranch = b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void resetContractName(String name) {
|
||||||
|
contractName = name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ public class FunctionNode extends Script {
|
|||||||
|
|
||||||
public void addArg(String arg) {
|
public void addArg(String arg) {
|
||||||
args.add(arg);
|
args.add(arg);
|
||||||
if (arg.equals("requester")) {
|
if (isExport && arg.equals("requester")) {
|
||||||
throw new IllegalArgumentException("The argument shouldn't be requester");
|
throw new IllegalArgumentException("The argument shouldn't be requester");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,8 @@ public enum Permission {
|
|||||||
CM,
|
CM,
|
||||||
DOIP,
|
DOIP,
|
||||||
IRP,
|
IRP,
|
||||||
Async;
|
Async,
|
||||||
|
Cluster;
|
||||||
|
|
||||||
public static Permission parse(String str) {
|
public static Permission parse(String str) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user