bootsrc / bootsrc/jseckill

这一行代码不多余吗?

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
825
Forks
301
PR merge metrics
No merged PRs in 30d

Description

https://github.com/bootsrc/jseckill/blob/8ff949954fd2bb184b032bed2e782c37a053454a/jseckill-backend/src/main/java/com/liushaoming/jseckill/backend/mq/MQConsumer.java#L92
83行已经写了一遍
https://github.com/bootsrc/jseckill/blob/8ff949954fd2bb184b032bed2e782c37a053454a/jseckill-backend/src/main/java/com/liushaoming/jseckill/backend/mq/MQConsumer.java#L83

Contributor guide

No contributing guide indexed for this repository

Research direction

Open jseckill-backend/src/main/java/com/liushaoming/jseckill/backend/mq/MQConsumer.java and compare the code at lines 83 and 92. Check whether the second occurrence has any distinct side effect or context before deciding whether it is redundant. Done means the duplicate is removed only if behavior is unchanged, followed by the project’s available tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.