Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Fixed bug with UTF-8 encoding of XML documents.

AuthorU-Dave-PC\Dave <email>
Date2017-04-09 17:37:39 GMT-0700
Commit0429a966dd383df0f96ef916745c1aaeb1e2d75d
Parent12ebcf8
Delta9 lines added, 0 lines removed, 9-line increase
src/main/java/com/scrivenvar/service/events/impl/DefaultNotifier.java
package com.scrivenvar.service.events.impl;
+import static com.scrivenvar.Constants.APP_TITLE;
import static com.scrivenvar.Constants.STATUS_BAR_DEFAULT;
import com.scrivenvar.service.events.Notification;
import com.scrivenvar.service.events.Notifier;
+import java.io.File;
+import java.nio.file.Paths;
import java.util.Observable;
import javafx.scene.control.Alert;
public Alert createError( final Window parent, final Notification message ) {
return createAlertDialog( parent, ERROR, message );
+ }
+
+ @Override
+ public File getLogPath() {
+ return Paths.get(
+ System.getProperty("java.io.tmpdir"), APP_TITLE + ".log").toFile();
}
}