diff --git a/source/net/filebot/cli/ScriptShellMethods.java b/source/net/filebot/cli/ScriptShellMethods.java index a4c4de20..4b2985a4 100644 --- a/source/net/filebot/cli/ScriptShellMethods.java +++ b/source/net/filebot/cli/ScriptShellMethods.java @@ -432,4 +432,8 @@ public class ScriptShellMethods { return MediaDetection.isMovie(self, true); } + private ScriptShellMethods() { + throw new UnsupportedOperationException(); + } + } diff --git a/source/net/filebot/format/ExpressionFormatFunctions.java b/source/net/filebot/format/ExpressionFormatFunctions.java index 1595e1a6..75ac4148 100644 --- a/source/net/filebot/format/ExpressionFormatFunctions.java +++ b/source/net/filebot/format/ExpressionFormatFunctions.java @@ -101,4 +101,8 @@ public class ExpressionFormatFunctions { return f; } + private ExpressionFormatFunctions() { + throw new UnsupportedOperationException(); + } + } diff --git a/source/net/filebot/format/ExpressionFormatMethods.java b/source/net/filebot/format/ExpressionFormatMethods.java index 6acd199c..11484fa0 100644 --- a/source/net/filebot/format/ExpressionFormatMethods.java +++ b/source/net/filebot/format/ExpressionFormatMethods.java @@ -569,4 +569,8 @@ public class ExpressionFormatMethods { return null; } + private ExpressionFormatMethods() { + throw new UnsupportedOperationException(); + } + } diff --git a/source/net/filebot/mac/MacAppUtilities.java b/source/net/filebot/mac/MacAppUtilities.java index 02483073..4c750cc3 100644 --- a/source/net/filebot/mac/MacAppUtilities.java +++ b/source/net/filebot/mac/MacAppUtilities.java @@ -174,4 +174,8 @@ public class MacAppUtilities { return DropToUnlock.showUnlockFoldersDialog(owner, files); } + private MacAppUtilities() { + throw new UnsupportedOperationException(); + } + } diff --git a/source/net/filebot/subtitle/SubtitleUtilities.java b/source/net/filebot/subtitle/SubtitleUtilities.java index c3a2d91d..0461cdac 100644 --- a/source/net/filebot/subtitle/SubtitleUtilities.java +++ b/source/net/filebot/subtitle/SubtitleUtilities.java @@ -476,9 +476,6 @@ public final class SubtitleUtilities { return languageDetector.build(); } - /** - * Dummy constructor to prevent instantiation. - */ private SubtitleUtilities() { throw new UnsupportedOperationException(); } diff --git a/source/net/filebot/util/StringUtilities.java b/source/net/filebot/util/StringUtilities.java index a596b3c2..f6713242 100644 --- a/source/net/filebot/util/StringUtilities.java +++ b/source/net/filebot/util/StringUtilities.java @@ -148,4 +148,8 @@ public final class StringUtilities { } + private StringUtilities() { + throw new UnsupportedOperationException(); + } + } diff --git a/source/net/filebot/win/WinAppUtilities.java b/source/net/filebot/win/WinAppUtilities.java index 529caad5..238465f6 100644 --- a/source/net/filebot/win/WinAppUtilities.java +++ b/source/net/filebot/win/WinAppUtilities.java @@ -31,4 +31,8 @@ public class WinAppUtilities { return null; } + private WinAppUtilities() { + throw new UnsupportedOperationException(); + } + }