make sure there is one instance of CommentsConfig

This commit is contained in:
Anton Keks 2016-01-09 18:34:45 +02:00
parent 4cea120b79
commit 8e012924cf

View File

@ -11,6 +11,7 @@ import net.azib.ipscan.core.ScanningResultList;
import net.azib.ipscan.fetchers.MACFetcher;
import javax.inject.Inject;
import javax.inject.Singleton;
import java.net.InetAddress;
import java.util.prefs.Preferences;
@ -19,6 +20,7 @@ import java.util.prefs.Preferences;
*
* @author Anton Keks
*/
@Singleton
public class CommentsConfig {
private Preferences preferences;