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);
|
||||
}
|
||||
|
||||
private ScriptShellMethods() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -101,4 +101,8 @@ public class ExpressionFormatFunctions {
|
|||
return f;
|
||||
}
|
||||
|
||||
private ExpressionFormatFunctions() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -569,4 +569,8 @@ public class ExpressionFormatMethods {
|
|||
return null;
|
||||
}
|
||||
|
||||
private ExpressionFormatMethods() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -174,4 +174,8 @@ public class MacAppUtilities {
|
|||
return DropToUnlock.showUnlockFoldersDialog(owner, files);
|
||||
}
|
||||
|
||||
private MacAppUtilities() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -476,9 +476,6 @@ public final class SubtitleUtilities {
|
|||
return languageDetector.build();
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy constructor to prevent instantiation.
|
||||
*/
|
||||
private SubtitleUtilities() {
|
||||
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;
|
||||
}
|
||||
|
||||
private WinAppUtilities() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue