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 4eae6d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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

0 comments on commit 4eae6d4

Please sign in to comment.