Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Commit

Permalink
Fix checkstyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Aracem committed Jul 25, 2018
1 parent db01788 commit 9d942a5
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private static class OnErrorCallbackToErrorHandlerAdapter implements OnErrorCall
private final WeakReference<ErrorHandler> errorHandler;
private final WeakReference<OnErrorCallback> useCaseOnErrorCallback;

public OnErrorCallbackToErrorHandlerAdapter(ErrorHandler errorHandler,
private OnErrorCallbackToErrorHandlerAdapter(ErrorHandler errorHandler,
OnErrorCallback useCaseOnErrorCallback) {
this.errorHandler = new WeakReference<>(errorHandler);
this.useCaseOnErrorCallback = new WeakReference<>(useCaseOnErrorCallback);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class UseCaseWrapperJob extends Job {
private static final int PRIORITY_NORMAL = 3;
private final UseCaseWrapper useCaseWrapper;

public UseCaseWrapperJob(UseCaseWrapper useCaseWrapper) {
UseCaseWrapperJob(UseCaseWrapper useCaseWrapper) {
super(new Params(PRIORITY_NORMAL));
this.useCaseWrapper = useCaseWrapper;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ private class NoUseCase extends RosieUseCase {

private class EmptyResponseUseCase extends RosieUseCase {

public EmptyResponseUseCase() {
private EmptyResponseUseCase() {
setCallbackScheduler(new FakeCallbackScheduler());
}

Expand All @@ -416,7 +416,7 @@ public EmptyResponseUseCase() {

private class ErrorUseCase extends RosieUseCase {

public ErrorUseCase() {
private ErrorUseCase() {
setCallbackScheduler(new FakeCallbackScheduler());
}

Expand All @@ -431,12 +431,12 @@ public ErrorUseCase() {

private class SuccessUseCase extends RosieUseCase {

public SuccessUseCase() {
private SuccessUseCase() {
setCallbackScheduler(new FakeCallbackScheduler());
}

@UseCase public void execute() {
notifySuccess();
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private RosiePresenter givenARosiePresenterWithRegisteredCallback() {

private static class RosiePresenterWithRegisteredCallback extends RosiePresenter
implements OnErrorCallback {
public RosiePresenterWithRegisteredCallback(UseCaseHandler useCaseHandler) {
private RosiePresenterWithRegisteredCallback(UseCaseHandler useCaseHandler) {
super(useCaseHandler);
registerOnErrorCallback(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class CharacterDataSourceFactory {

@Inject public CharacterDataSourceFactory() {
@Inject CharacterDataSourceFactory() {
}

PaginatedReadableDataSource<String, Character> createDataSource() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

class ComicSeriesDataSourceFactory {

@Inject public ComicSeriesDataSourceFactory() {
@Inject ComicSeriesDataSourceFactory() {
}

ComicSeriesDataSource createDataSource() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public void addFragment(Fragment fragment, String pageTitle) {

private static class ViewPagerFragmentHolder {
public final Fragment fragment;
public final String pageTitle;
private final String pageTitle;

public ViewPagerFragmentHolder(Fragment fragment, String pageTitle) {
private ViewPagerFragmentHolder(Fragment fragment, String pageTitle) {
this.fragment = fragment;
this.pageTitle = pageTitle;
}
Expand Down

0 comments on commit 9d942a5

Please sign in to comment.