forked from External/mage
Made utility classes final to explicitly forbid it's inheritance
This commit is contained in:
parent
f309717616
commit
498c8cf60c
80 changed files with 83 additions and 83 deletions
|
|
@ -37,7 +37,7 @@ import java.util.Scanner;
|
|||
/**
|
||||
* @author Lymia
|
||||
*/
|
||||
public class ExtensionPackageLoader {
|
||||
public final class ExtensionPackageLoader {
|
||||
public static ExtensionPackage loadExtension(File directory) throws IOException {
|
||||
if(!directory.exists ()) throw new RuntimeException("File not found "+directory);
|
||||
if(!directory.isDirectory()) throw new RuntimeException(directory+" is not a directory");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue