1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Hide constructor in utility classes

This commit is contained in:
Reinhard Pointner 2017-02-14 21:26:04 +08:00
parent d0d8b6396c
commit 133572f196
7 changed files with 24 additions and 3 deletions

View File

@ -432,4 +432,8 @@ public class ScriptShellMethods {
return MediaDetection.isMovie(self, true);
}
private ScriptShellMethods() {
throw new UnsupportedOperationException();
}
}

View File

@ -101,4 +101,8 @@ public class ExpressionFormatFunctions {
return f;
}
private ExpressionFormatFunctions() {
throw new UnsupportedOperationException();
}
}

View File

@ -569,4 +569,8 @@ public class ExpressionFormatMethods {
return null;
}
private ExpressionFormatMethods() {
throw new UnsupportedOperationException();
}
}

View File

@ -174,4 +174,8 @@ public class MacAppUtilities {
return DropToUnlock.showUnlockFoldersDialog(owner, files);
}
private MacAppUtilities() {
throw new UnsupportedOperationException();
}
}

View File

@ -476,9 +476,6 @@ public final class SubtitleUtilities {
return languageDetector.build();
}
/**
* Dummy constructor to prevent instantiation.
*/
private SubtitleUtilities() {
throw new UnsupportedOperationException();
}

View File

@ -148,4 +148,8 @@ public final class StringUtilities {
}
private StringUtilities() {
throw new UnsupportedOperationException();
}
}

View File

@ -31,4 +31,8 @@ public class WinAppUtilities {
return null;
}
private WinAppUtilities() {
throw new UnsupportedOperationException();
}
}