Fixed empty uptimes case.

This commit is contained in:
Christian P. MOMON 2021-10-19 01:58:06 +02:00
parent b20071bb63
commit d8f66e3d66

View file

@ -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();
}
} }
// //