Prevent Nullpointer Exception in toString()

This commit is contained in:
hns 2003-12-02 17:43:17 +00:00
parent 277d20ac2e
commit caf5bd02af

View file

@ -157,6 +157,6 @@ public final class SkinFile implements Updatable {
* @return ...
*/
public String toString() {
return prototype.getName() + "/" + file.getName();
return "[SkinFile "+prototype.getName() + "/" + name+"]";
}
}