I tried looking around some around here and on Google, but unfortunatly found nothing.
Here is my code:
class DeleteLists
{
public static void main(String[] args)
{
TokenAuth auth = new TokenAuth("xxxxx", "xxxxx");
JKippt jkippt = new JKippt(auth);
ClipList[] lists = jkippt.getLists();
for (int i = 0; i <= lists.length - 1; i++)
{
if (lists[i].isPrivate() == false);
{
{System.out.println(lists[i].getTitle);
jkippt.deleteList(lists[i].getId());
}
}
}
}
When I try compiling it, it outputs this:
DeleteLists.java:18: error: incompatible types
ClipList[] lists = jkippt.getLists();
^
required: ClipList[]
found: Iterator<ClipList>
This could very possibly be a very basic mistake, but what am I doing wrong here?
Thank you very much in advance! Eden.