GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [java] Flatten body declarations by oowekyala · Pull Request #2300 · pmd/pmd

Conversation

@oowekyala

@oowekyala oowekyala commented Feb 19, 2020

Copy link
Copy Markdown
Member

Removes ClassOrInterfaceBodyDeclaration and TypeDeclaration. These were unnecessary since #1875, since now they just have one child. Instead this adds a couple of marker interfaces implemented by eg FieldDeclaration, MethodDeclaration, etc.

AFAIK this the last PR altering the grammar.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
oowekyala added 5 commits February 19, 2020 18:38
@oowekyala
Remove ASTClassOrInterfaceBodyDeclaration
297b177
@oowekyala
Remove TypeDeclaration
05e1ba0
@oowekyala
Update more code
32faa6b
@oowekyala
Doc
b4eaeb6
@oowekyala
Simplify VariableDeclaratorId
53cc2d0
@oowekyala oowekyala added the in:ast About the AST structure or API, the parsing step label Feb 19, 2020
@oowekyala oowekyala added this to the 7.0.0 milestone Feb 19, 2020
@ghost

ghost commented Feb 19, 2020

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

oowekyala added 3 commits February 21, 2020 14:56
@oowekyala
Delete old method
e32589e
@oowekyala
Merge branch 'java-grammar' into grammar-flatten-body-declarations
326784f
@oowekyala
Fix merge
b3aad20
@oowekyala
oowekyala merged commit 9b720c8 into pmd:java-grammar Mar 17, 2020
@adangel

adangel commented Mar 24, 2020

Copy link
Copy Markdown
Member

Updated https://github.com/pmd/pmd/wiki/Java_clean_changes#flattened-body-declarations

oowekyala reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@oowekyala
oowekyala deleted the grammar-flatten-body-declarations branch March 25, 2020 02:24
@adangel adangel mentioned this pull request Jan 23, 2023
PMD 7 Tracking Issue #3898
Closed
55 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

in:ast About the AST structure or API, the parsing step

Projects

None yet

Milestone

7.0.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@oowekyala @adangel
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.