mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
make sure there is one instance of CommentsConfig
This commit is contained in:
parent
4cea120b79
commit
8e012924cf
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user