Fixed empty uptimes case.
This commit is contained in:
parent
b20071bb63
commit
d8f66e3d66
1 changed files with 5 additions and 1 deletions
|
@ -206,11 +206,15 @@ public class UptimeJournal
|
||||||
|
|
||||||
if (url == null)
|
if (url == null)
|
||||||
{
|
{
|
||||||
result = null;
|
result = new Uptimes();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
result = this.map.get(url.toString());
|
result = this.map.get(url.toString());
|
||||||
|
if (result == null)
|
||||||
|
{
|
||||||
|
result = new Uptimes();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue