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 — Replace hardcoded `"null"` with `NULL_STRING` constant in `ObjectUtils.nullSafeConciseToString()` by nomoreFt · Pull Request #33625 · spring-projects/spring-framework

Conversation

@nomoreFt

@nomoreFt nomoreFt commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

Description:

This pull request replaces the hardcoded "null" string in the nullSafeConciseToString method with the existing NULL_STRING constant to improve maintainability and readability.

Changes:

Replaced occurrences of the hardcoded "null" string with the already declared NULL_STRING constant.

Sorry, something went wrong.

Uh oh!

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

All reactions
@nomoreFt
Replace hardcoded "null" with NULL_STRING In ObjectUtils#nullSafeToSt…
1a9ee7d
…ring
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 1, 2024
@sbrannen sbrannen self-assigned this Oct 1, 2024
@sbrannen sbrannen added type: task A general task in: core Issues in core modules (aop, beans, core, context, expression) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 1, 2024
@sbrannen sbrannen changed the title Replace hardcoded "null" with NULL_STRING constant in ObjectUtils#nullSafeConciseToString Replace hardcoded "null" with NULL_STRING constant in ObjectUtils.nullSafeConciseToString() Oct 1, 2024
@sbrannen
sbrannen merged commit 893f5dc into spring-projects:main Oct 1, 2024
@sbrannen

sbrannen commented Oct 1, 2024

Copy link
Copy Markdown
Member

Good catch!

That was an oversight on my part.

This has been merged into main.

Thanks

All reactions

Sorry, something went wrong.

Uh oh!

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

@sbrannen sbrannen added this to the 6.2.0-RC2 milestone Oct 19, 2024
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

@sbrannen sbrannen

Labels

in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task

Projects

None yet

Milestone

6.2.0-RC2

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

3 participants

@nomoreFt @sbrannen @spring-projects-issues
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.