Removed CursorFlag

JAVA-1443