diff --git a/src/fr/devinsy/xidyn/presenters/URLPresenter.java b/src/fr/devinsy/xidyn/presenters/URLPresenter.java index 458b04f..105ff7d 100644 --- a/src/fr/devinsy/xidyn/presenters/URLPresenter.java +++ b/src/fr/devinsy/xidyn/presenters/URLPresenter.java @@ -94,7 +94,27 @@ public class URLPresenter extends StringPresenter { String result; - result = this.source.toString(); + if (this.source == null) + { + result = null; + } + else + { + result = this.source.toString(); + } + + // + return (result); + } + + /** + * + */ + public URL getURL() + { + URL result; + + result = this.source; // return (result);