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

Commit

Permalink
Converted callbacks back to interfaces instead of abstract classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anup Cowkur committed Jan 30, 2014
1 parent a62bb5f commit 4bd02ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
package com.anupcowkur.reservoir;

/**
*
*/
public abstract class ReservoirGetCallback<T> {
public void onSuccess(T object) {
public interface ReservoirGetCallback<T> {
public void onSuccess(T object);

}

public void onFailure(Exception e) {

}
public void onFailure(Exception e);
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
package com.anupcowkur.reservoir;

/**
*
*/
public abstract class ReservoirPutCallback {
public void onSuccess() {
public interface ReservoirPutCallback {
public void onSuccess();

}

public void onFailure(Exception e) {

}
public void onFailure(Exception e);
}

0 comments on commit 4bd02ef

Please sign in to comment.