Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8277120
Use Optional.isEmpty instead of !Optional.isPresent in java.net.http
Log In
Resolved
Export
null
XML
Word
Printable
Details
Type:
Enhancement
Resolution:
Fixed
Priority:
P5
Fix Version/s:
19
Affects Version/s:
None
Component/s:
core-libs
Labels:
None
Subcomponent:
java.net
Resolved In Build:
b07
Description
Optional.isEmpty() was introduced to avoid negation in long option chains.
Let's apply this new handy method to JDK code.
Attachments
Issue Links
links to
Commit
openjdk/jdk/47b1c51b
Review
openjdk/jdk/5985
Activity
People
Assignee:
Andrey Turbanov
Reporter:
Andrey Turbanov
Votes:
0
Vote for this issue
Watchers:
3
Start watching this issue
Dates
Created:
2021-11-15 04:38
Updated:
2022-01-26 17:21
Resolved:
2022-01-21 00:55