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 — [c#] Fix CPD suppression with comments doesn't work #2551 by LixonLookose · Pull Request #2567 · pmd/pmd

Conversation

@LixonLookose

@LixonLookose LixonLookose commented Jun 4, 2020 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

CPD Suppressions for c# fixed
test added

Describe the PR

CPD suppression with comments CPD-OFF/CPD-ON doesn't work for c#

Related issues

[c#] CPD suppression with comments doesn't work #2551

  • Fixes [c#] CPD suppression with comments doesn't work #2551

Ready?

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

Sorry, something went wrong.

Uh oh!

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

All reactions
@LixonLookose
[c#] CPD suppression with comments doesn't work pmd#2551
c7c31be
CPD Suppressions for c# fixed
test added
@ghost

ghost commented Jun 4, 2020 •
edited by ghost
Loading

Uh oh!

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

Copy link
Copy Markdown
1 Message
📖 This changeset introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report
✅ This changeset introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

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

@adangel adangel self-assigned this Jun 5, 2020
@adangel adangel added this to the 6.25.0 milestone Jun 5, 2020
adangel
adangel requested changes Jun 5, 2020
View reviewed changes

@adangel adangel left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks, this looks good!

Would you mind to update the documentation as well?
In https://github.com/pmd/pmd/blob/master/docs/pages/pmd/userdocs/cpd/cpd.md we should add "C#" to the list of languages, that support suppression that way.

Sorry, something went wrong.

Uh oh!

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

All reactions
@LixonLookose
LixonLookose marked this pull request as draft June 5, 2020 12:55
@LixonLookose
Updated documentation pmd#2551
e2a5264
Updated cpd.md with "C#" to the list of languages, that support suppression.
@LixonLookose
LixonLookose marked this pull request as ready for review June 5, 2020 13:03
@LixonLookose

LixonLookose commented Jun 5, 2020

Copy link
Copy Markdown
Contributor Author

@adangel Thank you for reviewing it!

All reactions

Sorry, something went wrong.

Uh oh!

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

@LixonLookose
LixonLookose requested a review from adangel June 9, 2020 17:32
adangel
adangel approved these changes Jun 9, 2020
View reviewed changes

@adangel adangel left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks, looks good!

Sorry, something went wrong.

Uh oh!

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

All reactions
@adangel adangel changed the title [c#] CPD suppression with comments doesn't work #2551 [c#] Fix CPD suppression with comments doesn't work #2551 Jun 12, 2020
@adangel
adangel merged commit e2a5264 into pmd:master Jun 12, 2020
adangel added a commit that referenced this pull request Jun 12, 2020
@adangel
[doc] Update release notes, fixes #2551, refs #2567
30ec282
adangel added a commit that referenced this pull request Jun 12, 2020
@adangel
Merge branch 'pr-2567'
28ea13e
[c#] Fix CPD suppression with comments doesn't work #2551 #2567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adangel adangel adangel approved these changes

Uh oh!

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

Assignees

@adangel adangel

Labels

None yet

Projects

None yet

Milestone

6.25.0

Development

Successfully merging this pull request may close these issues.

[c#] CPD suppression with comments doesn't work

Uh oh!

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

2 participants

@LixonLookose @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.