Skip to content

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
wyouflf committed Apr 13, 2014
1 parent 2f7eccd commit 98eac73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ public void onFailure(HttpException error, String msg) {
private class HttpHandlerStateConverter implements ColumnConverter<HttpHandler.State> {

@Override
public HttpHandler.State getFiledValue(Cursor cursor, int index) {
public HttpHandler.State getFieldValue(Cursor cursor, int index) {
return HttpHandler.State.valueOf(cursor.getInt(index));
}

@Override
public HttpHandler.State getFiledValue(String fieldStringValue) {
public HttpHandler.State getFieldValue(String fieldStringValue) {
if (fieldStringValue == null) return null;
return HttpHandler.State.valueOf(fieldStringValue);
}
Expand Down

0 comments on commit 98eac73

Please sign in to comment.