package rx.android.samples.eventbus;

import rx.android.eventbus.EventBus;
import rx.android.samples.SamplesApplication;

import android.app.IntentService;
import android.content.Intent;
import android.os.SystemClock;

/**
 * An {@link IntentService} subclass for handling asynchronous task requests in
 * a service on a separate handler thread.
 * <p>
 * TODO: Customize class - update intent actions, extra parameters and static
 * helper methods.
 */
public class EventGeneratorService extends IntentService {

    public EventGeneratorService() {
        super("BackgroundService");

    }

    @Override
    protected void onHandleIntent(Intent intent) {
        final EventBus eventBus = ((SamplesApplication) getApplication()).getEventBus();

        for (int i = 0; i < 10; i++) {
            SystemClock.sleep(2000);
            eventBus.publish(EventQueue.STRING_QUEUE, "event " + i);
        }
    }

}

@@ -216,243 +216,8 @@
 k;%0A%0A
-/**%0A * An %7B@link IntentService%7D subclass for handling asynchronous task requests in%0A * a service on a separate handler thread.%0A * %3Cp%3E%0A * TODO: Customize class - update intent actions, extra parameters and static%0A * helper methods.%0A */%0A
 publ

Remove JavaDoc from sample service