remove trash from resourceLoader
This commit is contained in:
parent
3363bb398b
commit
71d9eb27a5
@ -6,7 +6,6 @@ import java.net.URL;
|
||||
public class ResourceLoader {
|
||||
private static final ResourceLoader instance = new ResourceLoader();
|
||||
public static final String RESOURCE_FOLDER = "resource/";
|
||||
String name;
|
||||
|
||||
public URL getResource(String name) {
|
||||
return getClass().getClassLoader().getResource(RESOURCE_FOLDER + name);
|
||||
@ -23,12 +22,4 @@ public class ResourceLoader {
|
||||
public static ResourceLoader getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public void test(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String get() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user