package com.battlelancer.seriesguide.modules;

import android.app.Application;
import dagger.Module;
import dagger.Provides;
import javax.inject.Singleton;

@Module
public class AppModule {

    private Application application;

    public AppModule(Application application) {
        this.application = application;
    }

    @Provides
    @Singleton
    Application providesApplication() {
        return application;
    }
}

package com.battlelancer.seriesguide.modules;

import android.app.Application;
import dagger.Module;
import dagger.Provides;
import javax.inject.Singleton;

@Module
public class AppModule {

    Application application;

    public AppModule(Application application) {
        this.application = application;
    }

    @Provides
    @Singleton
    Application providesApplication() {
        return application;
    }
}

--- 
+++ 
@@ -8,7 +8,7 @@
 @Module
 public class AppModule {
 
-    Application application;
+    private Application application;
 
     public AppModule(Application application) {
         this.application = application;
Make app module field private.
