Skip to content

Conversation

@yuanchaodu
Copy link

Refine toString() format to use hex hash code for consistency with Object.toString()

What does this PR do?

Refine toString() format to use hex hash code for consistency with Object.toString()

Object.java

public String toString() {
    return getClass().getName() + "@" + Integer.toHexString(hashCode());
}

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Analyzing changes in this PR...

This might take a few minutes, please wait

📥 Commits

Analyzing changes from base (ede37bd) to latest commit (d9b387e):

  • d9b387e: Refine toString() format to use hex hash code for consistency with Object.toString()
📁 Files being considered (1)

🔄 singleton/src/main/java/com/iluwatar/singleton/EnumIvoryTower.java (1 hunk)


autogenerated by presubmit.ai

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant