fix nullpointerexcpetion on first login

This commit is contained in:
Sebastian Sdorra
2011-02-15 19:19:05 +01:00
parent ac0c127af5
commit 92883e4f50
6 changed files with 45 additions and 5 deletions

View File

@@ -59,6 +59,20 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
public class XmlGroupDatabase
{
/**
* Constructs ...
*
*/
public XmlGroupDatabase()
{
long c = System.currentTimeMillis();
creationTime = c;
lastModified = c;
}
//~--- methods --------------------------------------------------------------
/**
* Method description
*

View File

@@ -209,7 +209,6 @@ public class XmlGroupManager extends AbstractGroupManager
if (groupDB == null)
{
groupDB = new XmlGroupDatabase();
groupDB.setCreationTime(System.currentTimeMillis());
}
}