Skip to content

Commit

Permalink
remove MINUTES for 1.5 compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Mar 1, 2010
1 parent ecb45d2 commit 1c5fd94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* limitations under the License.
*/

import static java.util.concurrent.TimeUnit.MINUTES;
import static java.util.concurrent.TimeUnit.NANOSECONDS;
import static java.util.concurrent.TimeUnit.SECONDS;

import java.io.BufferedReader;
import java.io.IOException;
Expand Down Expand Up @@ -286,7 +286,7 @@ private void setPendingCommit(final boolean pendingCommit) {

}

private static final long COMMIT_INTERVAL = MINUTES.toNanos(1);
private static final long COMMIT_INTERVAL = SECONDS.toNanos(60);
private HttpClient client;
private Context context;
private Database database;
Expand Down

0 comments on commit 1c5fd94

Please sign in to comment.