This commit is contained in:
Edouard DUPIN 2022-02-21 18:20:06 +01:00
parent fcd755cd12
commit f7345bcfb2

View File

@ -30,20 +30,20 @@ public abstract class Resource {
} }
protected Resource(final String name) { protected Resource(final String name) {
//if (name == null) { if (name == null) {
// this.name = "---"; this.name = "---";
//} else { } else {
this.name = name; this.name = name;
//} }
getManager().localAdd(this); getManager().localAdd(this);
} }
protected Resource(final Uri uri) { protected Resource(final Uri uri) {
//if (uri == null) { if (uri == null) {
// this.name = "---"; this.name = "---";
//} else { } else {
this.name = uri.toString(); this.name = uri.toString();
//} }
getManager().localAdd(this); getManager().localAdd(this);
} }
@ -89,7 +89,7 @@ public abstract class Resource {
*/ */
public void reload() { public void reload() {
Log.debug("Not set for : [" + getId() + "]" + getName() + " loaded ??? time(s)"); Log.debug("Not set for : [" + getId() + "]" + getName() + " loaded ??? time(s)");
}; }
/** /**
* The current OpenGl context is removing ==> remove yout own system data * The current OpenGl context is removing ==> remove yout own system data