no message
This commit is contained in:
@@ -161,12 +161,12 @@ public class db_project_info extends DBObject {
|
||||
SapforProfile defaultProfile = Global.mainModule.getDb().getDefaultSapforProfile();
|
||||
if (defaultProfile == null) {
|
||||
System.out.println("Default profile not found!");
|
||||
sapforProperties = Utils_.ReadProperties(propertiesFile,SapforProperties.class);
|
||||
sapforProperties = new SapforProperties(propertiesFile);
|
||||
Utils_.jsonToFile(sapforProperties, propertiesFile);
|
||||
} else {
|
||||
System.out.println("Default profile is " + defaultProfile.description);
|
||||
sapforProperties = new SapforProperties(getPropertiesFile());
|
||||
sapforProperties.applyProfile(Global.mainModule.getDb().getVectorByFK(defaultProfile, SapforProfileSetting.class));
|
||||
sapforProperties.Update();
|
||||
}
|
||||
}
|
||||
}else System.out.println("properties object found");
|
||||
|
||||
Reference in New Issue
Block a user