mirror of
https://gitee.com/BDWare/common
synced 2025-01-25 01:04:16 +00:00
Merge branch 'master' of https://gitee.com/BDWare/common
This commit is contained in:
commit
5265631022
@ -53,6 +53,7 @@ dependencies {
|
||||
}
|
||||
group = "org.bdware.sc"
|
||||
version = "1.5.8"
|
||||
|
||||
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
||||
|
||||
task copyLibs(type: Copy) {
|
||||
|
@ -192,4 +192,8 @@ public class ContractNode {
|
||||
public void setInstrumentBranch(boolean b) {
|
||||
instrumentBranch = b;
|
||||
}
|
||||
|
||||
public void resetContractName(String name) {
|
||||
contractName = name;
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ public class FunctionNode extends Script {
|
||||
|
||||
public void addArg(String arg) {
|
||||
args.add(arg);
|
||||
if (arg.equals("requester")) {
|
||||
if (isExport && arg.equals("requester")) {
|
||||
throw new IllegalArgumentException("The argument shouldn't be requester");
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,8 @@ public enum Permission {
|
||||
CM,
|
||||
DOIP,
|
||||
IRP,
|
||||
Async;
|
||||
Async,
|
||||
Cluster;
|
||||
|
||||
public static Permission parse(String str) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user