# | Line 47 | Line 47 | public class WebFeeder extends Thread { | |
---|---|---|
47 | * Return a reference to the single class. | |
48 | * Construct it if it does not already exist, otherwise just return the reference. | |
49 | */ | |
50 | < | public static WebFeeder getInstance() { |
50 | > | public synchronized static WebFeeder getInstance() { |
51 | if (_instance == null){ | |
52 | _instance = new WebFeeder(); | |
53 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |