Skip to content

Commit

Permalink
Remove suppress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Rota committed Apr 5, 2024
1 parent 283a674 commit 71b5b71
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public boolean hasNext() {
}

@Override
@SuppressWarnings({"rawtypes", "unchecked"})
public List<ColumnMap<String, Object>> next() {
try {
Map.Entry<List<List<ForceResultField>>, String> resultEntry;
Expand All @@ -209,7 +208,7 @@ public List<ColumnMap<String, Object>> next() {
return Collections.emptyList();
}
this.queryMoreLocator = resultEntry.getValue();
List result = Collections.synchronizedList(new LinkedList<>());
List<ColumnMap<String, Object>> result = Collections.synchronizedList(new LinkedList<>());
Optional.ofNullable(resultEntry.getKey())
.orElseGet(Collections::emptyList)
.forEach(rec -> result.add(convertToColumnMap(rec)));
Expand Down

0 comments on commit 71b5b71

Please sign in to comment.