рефакторинг. вынес в обобщенную часть бд, но еще не все
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package GlobalData.Machine;
|
||||
import Common.Database.Objects.iDBObject;
|
||||
import Common.Utils.CommonUtils;
|
||||
import _VisualDVM.Global;
|
||||
import GlobalData.Compiler.Compiler;
|
||||
import GlobalData.User.User;
|
||||
|
||||
@@ -27,10 +26,10 @@ public class Machine extends iDBObject {
|
||||
"Машина по адресу " + CommonUtils.Brackets(getURL());
|
||||
}
|
||||
public LinkedHashMap<Integer, Compiler> getCompilers() {
|
||||
return Global.db.getMapByFKi(this, Compiler.class);
|
||||
return CommonUtils.db.getMapByFKi(this, Compiler.class);
|
||||
}
|
||||
public LinkedHashMap<Integer, User> getUsers() {
|
||||
return Global.db.getMapByFKi(this, User.class);
|
||||
return CommonUtils.db.getMapByFKi(this, User.class);
|
||||
}
|
||||
@Override
|
||||
public String getDialogName() {
|
||||
|
||||
Reference in New Issue
Block a user