File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/com/arangodb/entity Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,16 @@ public class CursorEntity<T> extends BaseEntity implements Iterable<T> {
7373 /**
7474 * A list of objects containing the results
7575 */
76- List <? extends T > results ;
76+ List <T > results ;
7777
7878 /**
7979 * A list of warnings
8080 */
8181 List <WarningEntity > warnings ;
8282
83- @ SuppressWarnings ("unchecked" )
8483 @ Override
8584 public Iterator <T > iterator () {
86- return ( Iterator < T >) CollectionUtils .safetyIterator (results );
85+ return CollectionUtils .safetyIterator (results );
8786 }
8887
8988 /**
@@ -121,7 +120,7 @@ private void rangeCheck(int index) {
121120 *
122121 * @return list of DocumentEntity objects
123122 */
124- public List <? extends T > getResults () {
123+ public List <T > getResults () {
125124 return results ;
126125 }
127126
You can’t perform that action at this time.
0 commit comments