spring-projects / spring-projects/spring-hateoas

String reference comparison

Open
#1,397 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
476
PR merge metrics
No merged PRs in 30d

Description

https://github.com/spring-projects/spring-hateoas/blob/2271dd718c64d29586406c4c3ce650d77065b41f/src/main/java/org/springframework/hateoas/Link.java#L536

What is the purpose of having the referential comparison. Does it make more sens to compare just the content ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/main/java/org/springframework/hateoas/Link.java around line 536 and inspect the referenced String comparison in context. Check the surrounding tests and Java's reference-versus-content comparison behavior. Done requires a maintainer-approved decision on whether the comparison should change or its purpose should be documented, followed by corresponding tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.