file save

This commit is contained in:
boy0001 2015-05-02 01:21:21 +10:00
parent aa74a0fadd
commit 62073fa488

View File

@ -137,6 +137,10 @@ public class YamlTranslationFile extends TranslationFile {
@Override
public void saveFile() {
try {
if (!this.file.exists()) {
this.file.getParentFile().mkdirs();
this.file.createNewFile();
}
final FileWriter writer = new FileWriter(this.file);
// String s = getYaml().dump(map);
if ((this.header != null) && !this.fancyHead) {