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 — [apex] Cleanup after #3581 by oowekyala · Pull Request #3582 · pmd/pmd

Conversation

@oowekyala

@oowekyala oowekyala commented Oct 24, 2021

Copy link
Copy Markdown
Member

Describe the PR

Addresses my concerns about #3581

Related issues

  • [apex] #3569 - Requested changes for code review feedback #3581
  • [apex] Fix for #3569 - Added new configuration properties allowCommentedBlocks and allowExceptionNameRegex to EmptyCatchBlock #3574 (comment)

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Sorry, something went wrong.

Uh oh!

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

All reactions
@oowekyala
Cleanup after pmd#3581
7a9d0db
@ghost

ghost commented Oct 24, 2021

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 oowekyala mentioned this pull request Oct 25, 2021
[apex] #3569 - Check for commented lines now uses binary search against indexed list #3583
Closed
4 tasks done
jsotuyod
jsotuyod reviewed Oct 25, 2021
View reviewed changes
Comment thread pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java Resolved

Uh oh!

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

@adangel
adangel self-requested a review October 26, 2021 18:21
SCWells72 and others added 4 commits October 28, 2021 09:22
@SCWells72 @adangel
Added a new test case verifying the expected boundary condition behav…
aa271e5
…ior for allowing commented blocks.
@adangel
[apex] EmptyCatchBlock: Improve test case
f3c17a0
also test for doc comments
@adangel
[apex] comments: consider position index in the same line
e05e0df
@adangel
[apex] comments: use index instead of line/column to map to node
b70b981
@adangel adangel added this to the 6.40.0 milestone Oct 28, 2021
@adangel adangel self-assigned this Oct 28, 2021
adangel
adangel reviewed Oct 28, 2021
View reviewed changes
Comment thread pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java Resolved

Uh oh!

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

Comment thread pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java Resolved

Uh oh!

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

Comment thread pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java Resolved

Uh oh!

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

@adangel
adangel merged commit f5fd79d into pmd:master Oct 29, 2021
@oowekyala
oowekyala deleted the cleanup-3581 branch October 29, 2021 10:06
@oowekyala

oowekyala commented Oct 29, 2021

Copy link
Copy Markdown
Member Author

Thanks for finishing this @adangel !

All reactions

Sorry, something went wrong.

Uh oh!

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

@adangel adangel mentioned this pull request Apr 4, 2024
[apex] EmptyCatchBlock: Fix FP with doc comments #4871
Merged
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jsotuyod jsotuyod jsotuyod left review comments
@adangel adangel adangel left review comments

Uh oh!

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

Assignees

@adangel adangel

Labels

None yet

Projects

None yet

Milestone

6.40.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

4 participants

@oowekyala @jsotuyod @adangel @SCWells72
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.