Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions api/src/main/java/jakarta/mail/internet/ParameterList.java
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@ private void combineMultisegmentNames(boolean keepConsistentOnFailure)
} else {
if (charset == null) {
// should never happen
multisegmentNames.remove(name);
break;
it.remove(name);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Iterator remove doesn't take are arguments

it.remove()

}
}
decodeBytes(vv.value, bos);
Expand Down