AppModule: clean up line breaks
@@ -36,17 +36,13 @@ public class AppModule {
@Provides
@Singleton
public OkHttpClient provideOKHttpClient() {
- return new OkHttpClient.Builder()
- .connectTimeout(15, TimeUnit.SECONDS)
- .build();
+ return new OkHttpClient.Builder().connectTimeout(15, TimeUnit.SECONDS).build();
}
@Provides
@Singleton
public Picasso providePicasso(App app, OkHttpClient client) {
- return new Picasso.Builder(app)
- .downloader(new OkHttp3Downloader(client))
- .build();
+ return new Picasso.Builder(app).downloader(new OkHttp3Downloader(client)).build();
}
@Provides
@@ -76,7 +72,10 @@ public class AppModule {
@Provides
@Singleton
- public ServerResponseProcessor serverResponseProcessor(OtherUsersLocationModel otherUsersLocationModel, EventBusProvider eventService, ChatModel chatModel) {
+ public ServerResponseProcessor serverResponseProcessor(
+ OtherUsersLocationModel otherUsersLocationModel,
+ EventBusProvider eventService,
+ ChatModel chatModel) {
return new ServerResponseProcessor(otherUsersLocationModel, eventService, chatModel);
}
@@ -94,11 +93,10 @@ public class AppModule {
@Provides
@Singleton
- public LocationUpdateManager provideLocationUpdatesService(
+ public LocationUpdateManager provideLocationUpdateManager(
OwnLocationModel ownLocationModel,
EventBusProvider eventBusProvider) {
- return new LocationUpdateManager(
- app, ownLocationModel, eventBusProvider);
+ return new LocationUpdateManager(app, ownLocationModel, eventBusProvider);
}
@Provides
