Upgrade to Boot 3 for eclipse

This commit is contained in:
BoykoAlex
2022-05-11 13:47:48 -04:00
parent f009d68349
commit 873f1cb985
6 changed files with 201 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ public class BasicJandexIndex {
private static final Logger log = LoggerFactory.getLogger(BasicJandexIndex.class);
private static final String JAVA_IO_TMPDIR = "java.io.tmpdir";
private static final String USER_HOME = "user.home";
@FunctionalInterface
public static interface IndexFileFinder {
@@ -53,7 +53,7 @@ public class BasicJandexIndex {
}
public static File getIndexFolder() {
File folder = new File(System.getProperty(JAVA_IO_TMPDIR), "jandex");
File folder = new File(System.getProperty(USER_HOME), ".sts-jandex");
if (!folder.isDirectory()) {
folder.mkdirs();
}