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] Fix invalid apex in documentation by gwilymatgearset · Pull Request #2383 · pmd/pmd

Conversation

@gwilymatgearset

@gwilymatgearset gwilymatgearset commented Mar 27, 2020

Copy link
Copy Markdown
Collaborator

Before submitting a PR, please check that:

  • The PR is submitted against master. The PMD team will merge back to support branches as needed.
  • ./mvnw clean verify passes. This will build and test PMD, execute PMD and checkstyle rules. Check this for more info

PR Description:

@rsoesemann spotted in #2358 that some of the examples in the apex rules documentation are wrong. This fixes all the ones I spotted (there are some more that won't compile because they refer to variables that don't exist, but I think they are okay to leave as is).

Closes #2358.

Sorry, something went wrong.

Uh oh!

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

All reactions
gwilymatgearset added 7 commits March 27, 2020 16:44
@gwilymatgearset
Add returns to setPhoneNumberIfNotExisting in documentation
22c66fd
@gwilymatgearset
Fixup indentation in apex/bestpractices.xml
1e286ed
@gwilymatgearset
Integer rather than int
4139fd4
@gwilymatgearset
Fix typo in method
0bd1523
@gwilymatgearset
int -> Integer and float -> Double
25139da
@gwilymatgearset
Fixup whitespace
315afea
@gwilymatgearset
int -> Integer in apex/errorprone.xml
954f6b0
@gwilymatgearset
gwilymatgearset requested a review from rsoesemann March 27, 2020 16:58
@gwilymatgearset gwilymatgearset assigned rsoesemann Mar 27, 2020
@ghost

ghost commented Mar 27, 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.

rsoesemann
rsoesemann approved these changes Mar 27, 2020
View reviewed changes
@rsoesemann
rsoesemann merged commit 6042b69 into pmd:master Mar 27, 2020
@adangel adangel added this to the 6.23.0 milestone Mar 27, 2020
adangel added a commit that referenced this pull request Mar 27, 2020
@adangel
[doc] Update release notes, refs #2383, fixes #2358
409b35d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rsoesemann rsoesemann rsoesemann approved these changes

Uh oh!

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

Assignees

@rsoesemann rsoesemann

Labels

None yet

Projects

None yet

Milestone

6.23.0

Development

Successfully merging this pull request may close these issues.

[apex] Invalid Apex in Cognitive Complexity tests

Uh oh!

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

3 participants

@gwilymatgearset @rsoesemann @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.