From e259f6dd3b49611f20e0a281967a71f99bdfe4b4 Mon Sep 17 00:00:00 2001 From: Wizell <31036346+Wizell@users.noreply.github.com> Date: Sat, 12 Jan 2019 20:29:36 +0100 Subject: [PATCH] Make javlibrary browser static. This avoid loading many browsers in amalgamation engine --- .../siteparsingprofile/specific/JavLibraryParsingProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/moviescraper/doctord/controller/siteparsingprofile/specific/JavLibraryParsingProfile.java b/src/main/java/moviescraper/doctord/controller/siteparsingprofile/specific/JavLibraryParsingProfile.java index c8718cc2..5a484f42 100644 --- a/src/main/java/moviescraper/doctord/controller/siteparsingprofile/specific/JavLibraryParsingProfile.java +++ b/src/main/java/moviescraper/doctord/controller/siteparsingprofile/specific/JavLibraryParsingProfile.java @@ -56,7 +56,7 @@ public class JavLibraryParsingProfile extends SiteParsingProfile implements Spec public static final String chineseLanguageCode = "cn"; private static final boolean reverseAsianNameInEnglish = true; private String overrideURLJavLibrary; - private DitzyHeadlessBrowser browser; + private static DitzyHeadlessBrowser browser; private static final SimpleDateFormat javLibraryReleaseDateFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH);