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] Created fix for UselessStringValueOf false positive by johnra2 · Pull Request #3612 · pmd/pmd

Conversation

@johnra2

@johnra2 johnra2 commented Nov 12, 2021 •
edited by adangel
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
  • Fixes [java] UselessStringValueOf: False positive when valueOf(char [], int, int) is used #3491

Sorry, something went wrong.

Uh oh!

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

All reactions
@johnra2
Created fix for UselessStringValueOf false positive
668136c
@adangel adangel changed the title Created fix for UselessStringValueOf false positive [java] Created fix for UselessStringValueOf false positive Nov 12, 2021
adangel
adangel requested changes Nov 12, 2021
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 for your PR!
Please have a look at my comment

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...a/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UselessStringValueOfRule.java Resolved

Uh oh!

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

@adangel
[java] UselessStringValueOf - skip String.valueOf with more than one arg
1393e7d
@adangel adangel added this to the 6.41.0 milestone Nov 18, 2021
@adangel adangel self-assigned this Nov 18, 2021
@ghost

ghost commented Nov 18, 2021

Copy link
Copy Markdown
1 Message
📖 This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 3 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 added a commit that referenced this pull request Nov 18, 2021
@adangel
[doc] Update release notes (#3491, #3612)
2e2ad6e
adangel added a commit that referenced this pull request Nov 18, 2021
@adangel
Merge pull request #3612 from johnra2:3491-uselessstringvalueof-fp-ch…
7609a24
…ar-array

[java] Created fix for UselessStringValueOf false positive #3612

* pr-3612:
  [doc] Update release notes (#3491, #3612)
  Add @johnra2 as a contributor
  [java] UselessStringValueOf - skip String.valueOf with more than one arg
  Created fix for UselessStringValueOf false positive
@adangel
adangel merged commit 1393e7d into pmd:master Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adangel adangel adangel requested changes

Uh oh!

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

Assignees

@adangel adangel

Labels

None yet

Projects

None yet

Milestone

6.41.0

Development

Successfully merging this pull request may close these issues.

[java] UselessStringValueOf: False positive when valueOf(char [], int, int) is used

Uh oh!

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

2 participants

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