Skip to content

Commit

Permalink
Re-specify Iterator<Attribute> type
Browse files Browse the repository at this point in the history
(Weird that it compiles & runs OK in editor without the seemingly redundant type, but blows up in the runner.)
  • Loading branch information
jhy committed Nov 23, 2023
1 parent 4669e14 commit 0a73767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jsoup/nodes/Attributes.java
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public Range.AttributeRange sourceRange(String key) {

@Override
public Iterator<Attribute> iterator() {
return new Iterator<>() {
return new Iterator<Attribute>() {
int expectedSize = size;
int i = 0;

Expand Down

0 comments on commit 0a73767

Please sign in to comment.