From c4cc9f85899221a8819f767d0a7872594ae824ba Mon Sep 17 00:00:00 2001 From: moritzfl Date: Fri, 21 Jun 2019 23:26:50 +0200 Subject: [PATCH] Cleanup unused imports --- build.gradle | 2 +- src/main/java/de/moritzf/latexhelper/Export.java | 1 - src/main/java/mathpix/MathPixSettings.java | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index b83e8b7..31f93f9 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ run { } group = 'com.github.moritzfl' -version = '2.2.1.0' +version = '2.2.2.0' description = 'mathematicallatexhelper' sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 diff --git a/src/main/java/de/moritzf/latexhelper/Export.java b/src/main/java/de/moritzf/latexhelper/Export.java index 5d0f6da..f45408a 100755 --- a/src/main/java/de/moritzf/latexhelper/Export.java +++ b/src/main/java/de/moritzf/latexhelper/Export.java @@ -32,7 +32,6 @@ import javax.imageio.ImageIO; -import javax.swing.filechooser.FileSystemView; import com.itextpdf.text.*; diff --git a/src/main/java/mathpix/MathPixSettings.java b/src/main/java/mathpix/MathPixSettings.java index 9e3d489..fa661ce 100755 --- a/src/main/java/mathpix/MathPixSettings.java +++ b/src/main/java/mathpix/MathPixSettings.java @@ -1,8 +1,6 @@ package mathpix; -import de.moritzf.latexhelper.util.OsUtil; import io.github.soc.directories.ProjectDirectories; -import io.github.soc.directories.UserDirectories; import java.io.*; import java.nio.file.Path; @@ -64,8 +62,6 @@ public static void load() { * @return the user data file */ public static File getUserDataFile() { - Path userHome = Paths.get(System.getProperty("user.home")); - ProjectDirectories myProjDirs = ProjectDirectories.from("de", "moritzf", "mathematicallatexhelper"); Path settingsPath = Paths.get(myProjDirs.configDir).resolve(Paths.get("mathpix.properties"));