apache / apache/gravitino

[Improvement] In Distribution.java correct equals method

Open
#2,286 14 comments 0 reactions 0 assignees View on GitHub
good first issue improvement
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### What would you like to be improved?

The Object class contains an equals method, a method called equals should in general override Object.equals(Object).

### How should we improve?

A method called equals should override Object.equals(Object) or that is not its intent it should be renamed.

Contributor guide

Open the contributing guide

Research direction

Start by locating Distribution.java and reading the existing equals method and its callers. Determine whether the method is intended to override Object.equals(Object) or should be renamed, then inspect the relevant tests or run the project test suite. Done means the method's intent is unambiguous and the affected behavior is covered without regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.