mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
Hide constructor in utility classes
This commit is contained in:
parent
d0d8b6396c
commit
133572f196
@ -432,4 +432,8 @@ public class ScriptShellMethods {
|
|||||||
return MediaDetection.isMovie(self, true);
|
return MediaDetection.isMovie(self, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private ScriptShellMethods() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -101,4 +101,8 @@ public class ExpressionFormatFunctions {
|
|||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private ExpressionFormatFunctions() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -569,4 +569,8 @@ public class ExpressionFormatMethods {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private ExpressionFormatMethods() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -174,4 +174,8 @@ public class MacAppUtilities {
|
|||||||
return DropToUnlock.showUnlockFoldersDialog(owner, files);
|
return DropToUnlock.showUnlockFoldersDialog(owner, files);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private MacAppUtilities() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -476,9 +476,6 @@ public final class SubtitleUtilities {
|
|||||||
return languageDetector.build();
|
return languageDetector.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Dummy constructor to prevent instantiation.
|
|
||||||
*/
|
|
||||||
private SubtitleUtilities() {
|
private SubtitleUtilities() {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
@ -148,4 +148,8 @@ public final class StringUtilities {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private StringUtilities() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,4 +31,8 @@ public class WinAppUtilities {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private WinAppUtilities() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user