рефакторинг. вынес в обобщенную часть бд, но еще не все
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Database.Database;
|
||||
import _VisualDVM.Global;
|
||||
import Common.Utils.CommonUtils;
|
||||
import GlobalData.SapforProfile.SapforProfile;
|
||||
import Visual_DVM_2021.Passes.DeleteObjectPass;
|
||||
public class DeleteProfile extends DeleteObjectPass<SapforProfile> {
|
||||
@@ -9,6 +9,6 @@ public class DeleteProfile extends DeleteObjectPass<SapforProfile> {
|
||||
}
|
||||
@Override
|
||||
protected Database getDb() {
|
||||
return Global.db;
|
||||
return CommonUtils.db;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user