Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 73a0e05

Browse files
authored
Merge pull request #365 from cloudant/fix-sample-project
Fix sample project
2 parents 8d31389 + cd920fa commit 73a0e05

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sample/todo-sync/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.1.0'
6+
classpath 'com.android.tools.build:gradle:2.2.0'
77
}
88
}
99
apply plugin: 'com.android.application'
@@ -24,11 +24,11 @@ dependencies {
2424
}
2525

2626
android {
27-
compileSdkVersion 19
27+
compileSdkVersion 21
2828
defaultConfig {
2929
minSdkVersion 14
3030
}
31-
buildToolsVersion "19.1"
31+
buildToolsVersion "21.0"
3232

3333
packagingOptions {
3434
exclude 'META-INF/LICENSE.txt'

sample/todo-sync/src/com/cloudant/todo/TaskAdapter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public class TaskAdapter extends BaseAdapter implements ListAdapter {
3434

3535
public TaskAdapter(Context context, List<Task> tasks) {
3636
if (context == null) {
37-
throw new IllegalArgumentException("Context must not be null.")
37+
throw new IllegalArgumentException("Context must not be null.");
3838
}
3939
if (tasks == null) {
40-
throw new IllegalArgumentException("List of tasks must not be null.")
40+
throw new IllegalArgumentException("List of tasks must not be null.");
4141
}
4242
this.context = context;
4343
this.tasks = tasks;

0 commit comments

Comments
 (0)