Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor bugfix. License is changed to ASL 2.0.

  • Loading branch information...
commit 6977c3d07b803093e7686d565f3575d5b8b35787 1 parent 5524575
@analytically authored
View
2  README.md
@@ -94,4 +94,4 @@ Click [here](https://github.com/coenrecruitment/capsulecrm-java/tree/master/src/
License
-------
-Licensed under the [WTFPL](http://en.wikipedia.org/wiki/WTFPL).
+Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
View
3  src/main/java/com/zestia/capsule/restapi/CTasks.java
@@ -2,6 +2,7 @@
import com.google.common.base.Objects;
+import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@@ -14,7 +15,7 @@
@Override
public Iterator<CTask> iterator() {
- return tasks.iterator();
+ return tasks != null ? tasks.iterator() : new ArrayList<CTask>().iterator();
}
@Override
Please sign in to comment.
Something went wrong with that request. Please try again.