From 4cdb4037d1c4b92fd3a64226dd8f7ba6515bc8d1 Mon Sep 17 00:00:00 2001 From: Jeddunk Date: Fri, 15 Nov 2019 17:58:44 +0100 Subject: [PATCH] Rename Steam's DLLs and copy CreamAPI's DLLs to target path --- src/main/java/Controller.java | 2 ++ src/main/java/{ => util}/CreamApiConfig.java | 3 ++- src/main/java/{ => util}/SteamAppsListCache.java | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) rename src/main/java/{ => util}/CreamApiConfig.java (99%) rename src/main/java/{ => util}/SteamAppsListCache.java (98%) diff --git a/src/main/java/Controller.java b/src/main/java/Controller.java index 6231ada..45a66d3 100644 --- a/src/main/java/Controller.java +++ b/src/main/java/Controller.java @@ -11,6 +11,8 @@ import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import pojo.App; +import util.CreamApiConfig; +import util.SteamAppsListCache; import java.io.File; import java.io.IOException; diff --git a/src/main/java/CreamApiConfig.java b/src/main/java/util/CreamApiConfig.java similarity index 99% rename from src/main/java/CreamApiConfig.java rename to src/main/java/util/CreamApiConfig.java index a3f7752..06acf13 100644 --- a/src/main/java/CreamApiConfig.java +++ b/src/main/java/util/CreamApiConfig.java @@ -1,3 +1,5 @@ +package util; + import org.apache.commons.configuration2.*; import org.apache.commons.configuration2.builder.FileBasedConfigurationBuilder; import org.apache.commons.configuration2.builder.fluent.Configurations; @@ -7,7 +9,6 @@ import java.io.*; import java.text.MessageFormat; import java.util.*; -@SuppressWarnings("WeakerAccess") public class CreamApiConfig { private static CreamApiConfig configInstance; private static final Configurations CONFIGS = new Configurations(); diff --git a/src/main/java/SteamAppsListCache.java b/src/main/java/util/SteamAppsListCache.java similarity index 98% rename from src/main/java/SteamAppsListCache.java rename to src/main/java/util/SteamAppsListCache.java index 62b702d..3a54867 100644 --- a/src/main/java/SteamAppsListCache.java +++ b/src/main/java/util/SteamAppsListCache.java @@ -1,3 +1,5 @@ +package util; + import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import kong.unirest.HttpResponse; @@ -13,7 +15,6 @@ import java.time.Instant; import java.util.List; import java.util.stream.Collectors; -@SuppressWarnings("WeakerAccess") public class SteamAppsListCache { private SteamAppsList list = new SteamAppsList();