Error in java class ArrayConnectorResultSet

Hi, Im using the scheduler. It´s working now, but I have an error in this class:

[code]import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Iterator;

public class ArrayConnectorResultSet extends ConnectorResultSet implements
Iterable {

protected Iterable<Object> result = null;
protected Iterator<Object> it = null;


public ArrayConnectorResultSet(Iterable<Object> data) {
	super(null);
	result = data;
	it = result.iterator();
}

/**
 * Gets the next record in result set
 * 
 * @return the hash of data for the next record in result set
 */
public HashMap<String,String> get_next() {
	HashMap<String,String> data = new HashMap<String,String>();
	if (!it.hasNext()) return null;
	Object item = it.next();
	Field[] fields = item.getClass().getFields();
	try {
		for (Field field : fields)
			data.put(field.getName(), field.get(item).toString());
	} catch (IllegalArgumentException e) {
		e.printStackTrace();
	} catch (IllegalAccessException e) {
		e.printStackTrace();
	}
	return data;
}

@Override
public Iterator<Object> iterator() {
	return null;
}

}[/code]

specifically on this part:

[code]
@Override
public Iterator iterator() {
return null;
}

}[/code]

Whats wrong??

Can you help me?

Hi,
could you provide error stacktrace or any other details?

Thanks for your answer, my app works correctly, so there isnt an stacktrace. But in my Flex Project marks the iterator with a red underline. Is there a new version for the class??
Regards

It must provide some message with red line. Could you provide it?
No, it’s the last version and usually it works correctly.

The message is:
The method iterator() of type ArrayConnectorResultSet must override a superclass method

What´s wrong??

thanks again.

Hi,
please, try to remove keyword @Override before method definition:

@Override
public Iterator<Object> iterator() {
	return null;
}

Thanks so much.