fix: fix typo

This commit is contained in:
Frank.R.Wu 2021-11-05 14:06:04 +08:00
parent 705305a9d8
commit a70d1ca14e

View File

@ -60,8 +60,8 @@ public class ContractProcess {
public static ContractProcess instance; public static ContractProcess instance;
public final String cmi; public final String cmi;
private final Set<String> cachedRequests = new HashSet<>();
public final ContractHandler handler; public final ContractHandler handler;
private final Set<String> cachedRequests = new HashSet<>();
public ServiceServer server; public ServiceServer server;
public DesktopEngine engine; public DesktopEngine engine;
String dbPath; String dbPath;
@ -455,8 +455,8 @@ public class ContractProcess {
JavaScriptEntry.invokeID = 0L; JavaScriptEntry.invokeID = 0L;
JavaScriptEntry.random.setSeed(Integer.parseInt(contract.getID())); JavaScriptEntry.random.setSeed(Integer.parseInt(contract.getID()));
JavaScriptEntry.numOfCopies = this.contract.getNumOfCopies(); JavaScriptEntry.numOfCopies = this.contract.getNumOfCopies();
JavaScriptEntry.shadingId = JavaScriptEntry.shardingID =
this.contract.getShadingId(); // 设置javaScriptEntry中的shadingID this.contract.getShardingId(); // 设置javaScriptEntry中的shadingID
// JavaScriptEntry // JavaScriptEntry
String zipPath = contract.getScriptStr(); String zipPath = contract.getScriptStr();
if (isArchiveFile(new File(zipPath))) { if (isArchiveFile(new File(zipPath))) {