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");
|
||||
|
||||
@@ -60,7 +60,7 @@ public class Visualiser extends Component {
|
||||
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
|
||||
@Override
|
||||
public void GetVersionInfo() {
|
||||
version = 1135;
|
||||
version = 1136;
|
||||
String pattern = "MMM dd yyyy HH:mm:ss";
|
||||
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
||||
date_text = df.format(getClassBuildTime());
|
||||
|
||||
Reference in New Issue
Block a user