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> {
73
73
/**
74
74
* A list of objects containing the results
75
75
*/
76
- List <? extends T > results ;
76
+ List <T > results ;
77
77
78
78
/**
79
79
* A list of warnings
80
80
*/
81
81
List <WarningEntity > warnings ;
82
82
83
- @ SuppressWarnings ("unchecked" )
84
83
@ Override
85
84
public Iterator <T > iterator () {
86
- return ( Iterator < T >) CollectionUtils .safetyIterator (results );
85
+ return CollectionUtils .safetyIterator (results );
87
86
}
88
87
89
88
/**
@@ -121,7 +120,7 @@ private void rangeCheck(int index) {
121
120
*
122
121
* @return list of DocumentEntity objects
123
122
*/
124
- public List <? extends T > getResults () {
123
+ public List <T > getResults () {
125
124
return results ;
126
125
}
127
126
You can’t perform that action at this time.
0 commit comments