Skip to content
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

8253812: Cleanup AbstractMemberWriter #405

Conversation

jonathan-gibbons
Copy link
Contributor

@jonathan-gibbons jonathan-gibbons commented Sep 29, 2020

This is primarily a cosmetic cleanup for the doc comments on AbstractMemberWriter, but cleaning up some of the comments leaked into fixing up comments on overridden methods as well.


Progress

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

Issue

Reviewers

Download

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

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 29, 2020

👋 Welcome back jjg! 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.

boolean printedUseTableHeader = false;
if (members.size() > 0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The enclosing if statement is unnecessary.

@Override
public void addMemberSummary(TypeElement tElement, Element member,
List<? extends DocTree> firstSentenceTags) {
List<? extends DocTree> firstSentenceTrees) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This use of the word tags is a hangover from an older version of javadoc

@openjdk
Copy link

openjdk bot commented Sep 29, 2020

@jonathan-gibbons The following label will be automatically applied to this pull request:

  • javadoc

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 pull request command.

@openjdk openjdk bot added the javadoc javadoc-dev@openjdk.org label Sep 29, 2020
@jonathan-gibbons jonathan-gibbons changed the title Cleanup AbstractMemberWriter API 8253812: Cleanup AbstractMemberWriter API Sep 29, 2020
@openjdk openjdk bot added the rfr Pull request is ready for review label Sep 29, 2020
@mlbridge
Copy link

mlbridge bot commented Sep 29, 2020

Webrevs

Copy link
Member

@kusrinivasan kusrinivasan left a comment

Choose a reason for hiding this comment

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

Looks good.

@mlbridge
Copy link

mlbridge bot commented Sep 29, 2020

Mailing list message from Kumar Srinivasan on javadoc-dev:

Hi Jon,

I approved this in github, after I approved I noticed I had logged into github with my non-openjdk ID.
I will try to fix it.

Thanks
Kumar

On Sep 29, 2020, at 9:38 AM, Jonathan Gibbons <jjg at openjdk.java.net> wrote:

This is primarily a cosmetic cleanup for the doc comments on `AbstractMemberWriter`, but cleaning up some of the
comments leaked into fixing up comments on overridden methods as well.

-------------

Commit messages:
- Cleanup AbstractMemberWriter API

Changes: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.openjdk.java.net%2Fjdk%2Fpull%2F405%2Ffiles&amp;data=02%7C01%7Ckusrinivasan%40vmware.com%7C579d956bea354e97bce108d864966f70%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637369944567424189&amp;sdata=VL9f%2BSFIpktz83c%2BwnSxXzeDyGGqiSi%2BKi2mFy3kaOg%3D&amp;reserved=0
Webrev: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwebrevs.openjdk.java.net%2F%3Frepo%3Djdk%26pr%3D405%26range%3D00&amp;data=02%7C01%7Ckusrinivasan%40vmware.com%7C579d956bea354e97bce108d864966f70%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637369944567424189&amp;sdata=ilNB%2BZulVQz%2FrmBMH0lw4YJUdoHga4s7Vyr6bbXtZe0%3D&amp;reserved=0
Issue: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8253812&amp;data=02%7C01%7Ckusrinivasan%40vmware.com%7C579d956bea354e97bce108d864966f70%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637369944567424189&amp;sdata=j5wFW5y1rChsqkXPEYJZ5L6f7tIh4a%2BuAHJdvlMiLrE%3D&amp;reserved=0
Stats: 221 lines in 2 files changed: 23 ins; 70 del; 128 mod
Patch: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.openjdk.java.net%2Fjdk%2Fpull%2F405.diff&amp;data=02%7C01%7Ckusrinivasan%40vmware.com%7C579d956bea354e97bce108d864966f70%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637369944567434187&amp;sdata=63s6msfWtMi0n4hxKFmgNGQCj%2Boilsf9z7TLg7upO5s%3D&amp;reserved=0
Fetch: git fetch https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.openjdk.java.net%2Fjdk&amp;data=02%7C01%7Ckusrinivasan%40vmware.com%7C579d956bea354e97bce108d864966f70%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637369944567434187&amp;sdata=6gcb32NZ%2FqeWxugxrZ9QuuJfQbelYNEqMPL1xuTd%2FVc%3D&amp;reserved=0 pull/405/head:pull/405

PR: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.openjdk.java.net%2Fjdk%2Fpull%2F405&amp;data=02%7C01%7Ckusrinivasan%40vmware.com%7C579d956bea354e97bce108d864966f70%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637369944567434187&amp;sdata=fD5eCiR8SCoDR1E3N3QDOQwODP4BVZMfJZxhSVOlvwE%3D&amp;reserved=0

@jonathan-gibbons jonathan-gibbons changed the title 8253812: Cleanup AbstractMemberWriter API 8253812: Cleanup AbstractMemberWriter Sep 29, 2020
@openjdk
Copy link

openjdk bot commented Sep 30, 2020

@jonathan-gibbons This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for more details.

After integration, the commit message for the final commit will be:

8253812: Cleanup AbstractMemberWriter

Reviewed-by: ksrini

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 41 new commits pushed to the master branch:

  • 424d7d6: 8252881: [JVMCI] ResolvedJavaType.resolveMethod fails in fastdebug when invoked with a constructor
  • 2a406f3: 8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
  • 4b16f8a: 8253872: ArgumentHandler must use the same delimiters as in jvmti_tools.cpp
  • 4fb8c77: 8253733: Cleanup internal taglet API
  • e5ba020: 8253829: Wrong length compared in SSPI bridge
  • 9e453d9: 8239090: Improve CPU feature support in VM_Version
  • 8f7c9a7: 8252001: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdi
  • 8cf8e46: 8253700: spurious "extends Throwable" at end of Optional.orElseThrow method declaration
  • 8b3d676: 8238737: remove DeoptimizeAllClassesRate from CTW library
  • 709cfe5: 8253815: Remove unused HeapRegionManager::_num_committed from SA
  • ... and 31 more: https://git.openjdk.java.net/jdk/compare/527b0e44eba9ec70cc2b3622a1d1e94b06b8017d...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ 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 30, 2020
*
* @param member the member to add the type for
* @param code the content tree to which the modified will be added
* @param code the content tree to which the modified will be added
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be modifier not modified.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed; will fix

@jonathan-gibbons
Copy link
Contributor Author

/integrate

@openjdk openjdk bot closed this Sep 30, 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 30, 2020
@openjdk
Copy link

openjdk bot commented Sep 30, 2020

@jonathan-gibbons Since your change was applied there have been 41 commits pushed to the master branch:

  • 424d7d6: 8252881: [JVMCI] ResolvedJavaType.resolveMethod fails in fastdebug when invoked with a constructor
  • 2a406f3: 8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
  • 4b16f8a: 8253872: ArgumentHandler must use the same delimiters as in jvmti_tools.cpp
  • 4fb8c77: 8253733: Cleanup internal taglet API
  • e5ba020: 8253829: Wrong length compared in SSPI bridge
  • 9e453d9: 8239090: Improve CPU feature support in VM_Version
  • 8f7c9a7: 8252001: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdi
  • 8cf8e46: 8253700: spurious "extends Throwable" at end of Optional.orElseThrow method declaration
  • 8b3d676: 8238737: remove DeoptimizeAllClassesRate from CTW library
  • 709cfe5: 8253815: Remove unused HeapRegionManager::_num_committed from SA
  • ... and 31 more: https://git.openjdk.java.net/jdk/compare/527b0e44eba9ec70cc2b3622a1d1e94b06b8017d...master

Your commit was automatically rebased without conflicts.

Pushed as commit 06d8cf6.

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

@jonathan-gibbons jonathan-gibbons deleted the 8253812-AbstractMemberWriter branch November 4, 2020 00:37
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 javadoc javadoc-dev@openjdk.org
2 participants