diff --git a/astrid/astrid.launch b/astrid/astrid.launch index 6b1f50845..72aa24a68 100644 --- a/astrid/astrid.launch +++ b/astrid/astrid.launch @@ -4,7 +4,7 @@ - + diff --git a/astrid/plugin-src/com/todoroo/astrid/rmilk/api/data/RtmList.java b/astrid/plugin-src/com/todoroo/astrid/rmilk/api/data/RtmList.java index f208efd98..ee128d525 100644 --- a/astrid/plugin-src/com/todoroo/astrid/rmilk/api/data/RtmList.java +++ b/astrid/plugin-src/com/todoroo/astrid/rmilk/api/data/RtmList.java @@ -41,8 +41,8 @@ public class RtmList extends RtmData { public RtmList(Element elt) { id = elt.getAttribute("id"); name = elt.getAttribute("name"); - smart = elt.getAttribute("smart") == "1"; - archived = elt.getAttribute("archived") == "1"; + smart = elt.getAttribute("smart").equals("1"); + archived = elt.getAttribute("archived").equals("1"); position = Integer.parseInt(elt.getAttribute("position")); }