Fix null case.

This commit is contained in:
Christian P. MOMON 2013-08-24 15:00:50 +02:00
parent ee8e4d4be2
commit bb3d9327bd

View file

@ -94,7 +94,27 @@ public class URLPresenter extends StringPresenter
{
String result;
if (this.source == null)
{
result = null;
}
else
{
result = this.source.toString();
}
//
return (result);
}
/**
*
*/
public URL getURL()
{
URL result;
result = this.source;
//
return (result);