no message
This commit is contained in:
@@ -13,9 +13,9 @@ public class SPF_GetMaxMinBlockDistribution extends SilentSapforPass {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (super.canStart(args)){
|
||||
if (super.canStart(args)) {
|
||||
SPF_ParseFilesWithOrder.silent = true;
|
||||
return ( Global.mainModule.getPass(PassCode.SPF_ParseFilesWithOrder).isDone() || Global.mainModule.getPass(PassCode.SPF_ParseFilesWithOrder).Do());
|
||||
return (Global.mainModule.getPass(PassCode.SPF_ParseFilesWithOrder).isDone() || Global.mainModule.getPass(PassCode.SPF_ParseFilesWithOrder).Do());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -27,7 +27,6 @@ public class SPF_GetMaxMinBlockDistribution extends SilentSapforPass {
|
||||
Global.packSapforSettings(),
|
||||
target.getProjFile().getAbsolutePath());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void performFinish() throws Exception {
|
||||
super.performFinish();
|
||||
@@ -38,8 +37,8 @@ public class SPF_GetMaxMinBlockDistribution extends SilentSapforPass {
|
||||
super.performDone();
|
||||
target.testMaxDim = 0;
|
||||
String packed = sapfor.getResult();
|
||||
String [] data = packed.split(" ");
|
||||
if (data.length>0)
|
||||
target.testMaxDim = Integer.parseInt(data[data.length-1]);
|
||||
String[] data = packed.split(" ");
|
||||
if (data.length > 0)
|
||||
target.testMaxDim = Integer.parseInt(data[data.length - 1]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user