Fix gpx utilities
This commit is contained in:
parent
133f305ceb
commit
c2f51cd832
1 changed files with 3 additions and 3 deletions
|
@ -858,13 +858,13 @@ public class GPXUtilities {
|
||||||
public GPXFile(String title, String lang, String description) {
|
public GPXFile(String title, String lang, String description) {
|
||||||
this.metadata = new Metadata();
|
this.metadata = new Metadata();
|
||||||
if(description != null) {
|
if(description != null) {
|
||||||
metadata.extensions.put("desc", description);
|
metadata.getExtensionsToWrite().put("desc", description);
|
||||||
}
|
}
|
||||||
if(lang != null) {
|
if(lang != null) {
|
||||||
metadata.extensions.put("article_lang", lang);
|
metadata.getExtensionsToWrite().put("article_lang", lang);
|
||||||
}
|
}
|
||||||
if(title != null) {
|
if(title != null) {
|
||||||
metadata.extensions.put("article_title", title);
|
metadata.getExtensionsToWrite().put("article_title", title);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue