Skip to content

8251496: Fix doclint warnings in jdk.net.httpserver #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

pconcannon
Copy link
Contributor

@pconcannon pconcannon commented Sep 8, 2020

Hi,

Could someone please review my doc-only fix for JDK-8251496 - ‘Fix doclint warnings in jdk.net.httpserver’ ?

This fix addresses the warnings generated by javadoc -Xdoclint due to missing/incomplete API documentation for several classes within jdk.net.httpserver.

Kind regards,
Patrick


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

  • JDK-8251496: Fix doclint warnings in jdk.net.httpserver

Reviewers

Download

$ git fetch https://git.openjdk.java.net/jdk pull/81/head:pull/81
$ git checkout pull/81

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 8, 2020

👋 Welcome back pconcannon! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Pull request is ready for review label Sep 8, 2020
@openjdk
Copy link

openjdk bot commented Sep 8, 2020

@pconcannon The following label will be automatically applied to this pull request: net.

When this pull request is ready to be reviewed, an RFR email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label (add|remove) "label" command.

@openjdk openjdk bot added the net net-dev@openjdk.org label Sep 8, 2020
@mlbridge
Copy link

mlbridge bot commented Sep 8, 2020

Webrevs

Copy link
Member

@dfuch dfuch left a comment

Choose a reason for hiding this comment

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

Thanks for taking this on Patrick. This mostly looks good to me, with the comments below. Thanks for adding the new tests to cover the added assertion. That's a nice touch 👍

best regards,

-- daniel

import java.net.InetSocketAddress;

//BEGIN_TIGER_EXCLUDE
Copy link
Member

Choose a reason for hiding this comment

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

I don't have the context here - but if we're removing this import then I guess we should be removing the // BEGIN and // END comments too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for spotting this. IntelliJ re-arranged the imports automatically. I reverted it back to its original state

Copy link
Contributor

Choose a reason for hiding this comment

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

I suspect the commented lines are obsolete TIGER was a long time ago.
That looks like some markup for a tool to use a non-ssl version as a demo.
@AlanBateman Alan might know.

@dfuch
Copy link
Member

dfuch commented Sep 8, 2020

/csr needed

@openjdk openjdk bot added the csr Pull request needs approved CSR before integration label Sep 8, 2020
@openjdk
Copy link

openjdk bot commented Sep 8, 2020

@dfuch this pull request will not be integrated until the CSR request JDK-8252585 for issue JDK-8251496 has been approved.

Copy link
Contributor

@RogerRiggs RogerRiggs left a comment

Choose a reason for hiding this comment

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

The @param and @return lines that start with a capital letter seem out of place.
The contents of most @tags are usually phrases without capitalization or period.

import java.net.InetSocketAddress;

//BEGIN_TIGER_EXCLUDE
Copy link
Contributor

Choose a reason for hiding this comment

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

I suspect the commented lines are obsolete TIGER was a long time ago.
That looks like some markup for a tool to use a non-ssl version as a demo.
@AlanBateman Alan might know.

@ChrisHegarty
Copy link
Member

@RogerRiggs There are many many formatting and cleanup tasks that could be done to this particular code. My advise to Patrick was (and continues to be) to just focus on the particular issue at hand - clean up the doclint warnings. Other annoyances can be fixed up later during another pass. This issue is already overloaded with cleanup and semantic spec changes. It will just increase the cognitive complexity to continue to fix (arguably) unrelated annoyances.

@openjdk
Copy link

openjdk bot commented Sep 9, 2020

@pconcannon This change now passes all automated pre-integration checks. In addition to the automated checks, the change must also fulfill all project specific requirements

After integration, the commit message will be:

8251496: Fix doclint warnings in jdk.net.httpserver

Reviewed-by: dfuchs, rriggs, chegar
  • If you would like to add a summary, use the /summary command.
  • To credit additional contributors, use the /contributor command.
  • To add additional solved issues, use the /issue command.

Since the source branch of this PR was last updated there have been 129 commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge master into your branch, and then specify the current head hash when integrating, like this: /integrate b9729cb43202eb65a9d08aecc4eb8f63b744f9e0.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Sep 9, 2020
…ders; to be dealt with in separate issue (JDK-8253005)
@openjdk openjdk bot removed the csr Pull request needs approved CSR before integration label Sep 14, 2020
@pconcannon
Copy link
Contributor Author

/integrate

@openjdk openjdk bot closed this Sep 22, 2020
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 22, 2020
@openjdk
Copy link

openjdk bot commented Sep 22, 2020

@pconcannon Since your change was applied there have been 129 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

Pushed as commit ae20dd6.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@pconcannon pconcannon deleted the JDK-8251496 branch September 22, 2020 09:23
cushon pushed a commit to cushon/jdk that referenced this pull request Apr 2, 2021
caojoshua added a commit to caojoshua/jdk that referenced this pull request Nov 21, 2023
…sent (openjdk#81)

Also convert keys to custom Key object to have more fine grained control
over constructor, equals, and hashCode methods. Integer::valueOf pulls
from a global cache which makes PEA optimizations harder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated net net-dev@openjdk.org
Development

Successfully merging this pull request may close these issues.

4 participants