From f7345bcfb241e4ef2cc2cd114097476ccee5c2e3 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 21 Feb 2022 18:20:06 +0100 Subject: [PATCH] sdc --- src/org/atriasoft/gale/resource/Resource.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/org/atriasoft/gale/resource/Resource.java b/src/org/atriasoft/gale/resource/Resource.java index cdf821a..31b656d 100644 --- a/src/org/atriasoft/gale/resource/Resource.java +++ b/src/org/atriasoft/gale/resource/Resource.java @@ -30,20 +30,20 @@ public abstract class Resource { } protected Resource(final String name) { - //if (name == null) { - // this.name = "---"; - //} else { + if (name == null) { + this.name = "---"; + } else { this.name = name; - //} + } getManager().localAdd(this); } protected Resource(final Uri uri) { - //if (uri == null) { - // this.name = "---"; - //} else { + if (uri == null) { + this.name = "---"; + } else { this.name = uri.toString(); - //} + } getManager().localAdd(this); } @@ -89,7 +89,7 @@ public abstract class Resource { */ public void reload() { Log.debug("Not set for : [" + getId() + "]" + getName() + " loaded ??? time(s)"); - }; + } /** * The current OpenGl context is removing ==> remove yout own system data