CommandParser: synchronize access to getInstance()

This commit is contained in:
Sebastian Kaspari 2010-04-25 12:42:34 +02:00
parent 84fdcd8249
commit 4d3a7c2ecc
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class CommandParser
*
* @return
*/
public static CommandParser getInstance()
public static synchronized CommandParser getInstance()
{
if (instance == null) {
instance = new CommandParser();