постепенное выведение старой концепции текущих объектов, касаемо табличных лучше держать их в интерфейсе таблиц, чтобы не писать описание объекта дважды и не мучиться с типом. некоторые фиксы
This commit is contained in:
@@ -20,8 +20,10 @@ public class DownloadTest extends TestingSystemPass<Test> {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Global.mainModule.getAccount().CheckRegistered(Log) && Global.mainModule.Check(Log, Current.Test)) {
|
||||
target = Global.mainModule.getTest();
|
||||
if (Global.mainModule.getAccount().CheckRegistered(Log) &&
|
||||
Global.testingServer.db.tests.getUI().Check(Log)
|
||||
) {
|
||||
target = Global.testingServer.db.tests.getUI().getCurrent();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user