package com.getbase.android.db.cursors;

import com.google.common.base.Function;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.Lists;

import android.database.Cursor;

import java.util.List;

public class Cursors {

  public static <T> FluentIterable<T> toFluentIterable(Cursor cursor, Function<Cursor, T> function) {
    List<T> transformed = Lists.newArrayList();
    for (int i = 0; cursor.moveToPosition(i); i++) {
      transformed.add(function.apply(cursor));
    }
    return FluentIterable.from(transformed);
  }

  public static <T> FluentIterable<T> toLazyFluentIterable(Cursor cursor, Function<Cursor, T> function) {
    return null;
  }

  public static void closeQuietly(Cursor cursor) {
    if (cursor != null) {
      cursor.close();
    }
  }
}

@@ -555,136 +555,8 @@
  %7D%0A%0A
-  public static %3CT%3E FluentIterable%3CT%3E toLazyFluentIterable(Cursor cursor, Function%3CCursor, T%3E function) %7B%0A    return null;%0A  %7D%0A%0A
   pu

Remove unused method