Append options metadata while creating project
This commit is contained in:
parent
eeb8ade5c0
commit
278f24c147
@ -1008,6 +1008,8 @@ public class ImportingUtilities {
|
|||||||
ProjectMetadata pm = new ProjectMetadata();
|
ProjectMetadata pm = new ProjectMetadata();
|
||||||
pm.setName(JSONUtilities.getString(optionObj, "projectName", "Untitled"));
|
pm.setName(JSONUtilities.getString(optionObj, "projectName", "Untitled"));
|
||||||
pm.setTags(JSONUtilities.getStringArray(optionObj, "projectTags"));
|
pm.setTags(JSONUtilities.getStringArray(optionObj, "projectTags"));
|
||||||
|
pm.appendImportOptionMetadata(optionObj);
|
||||||
|
|
||||||
String encoding = JSONUtilities.getString(optionObj, "encoding", "UTF-8");
|
String encoding = JSONUtilities.getString(optionObj, "encoding", "UTF-8");
|
||||||
if ("".equals(encoding)) {
|
if ("".equals(encoding)) {
|
||||||
// encoding can be present, but empty, which won't trigger JSONUtilities default processing
|
// encoding can be present, but empty, which won't trigger JSONUtilities default processing
|
||||||
|
Loading…
Reference in New Issue
Block a user