Skip to content

Remove commented out code#3722

Closed
50-Course wants to merge 2 commits intoredis:masterfrom
50-Course:master
Closed

Remove commented out code#3722
50-Course wants to merge 2 commits intoredis:masterfrom
50-Course:master

Conversation

@50-Course
Copy link

There is a commented code meant to initially invalidate client connection when the Connection is no longer listening.
However, it is currently being bypassed, and does not actually reference anything in the JVM.

This patch aims to remove it - therefore, and as such does not introduces breaking change to the actual module.

…e` module.

There is a commented code that invalidates a client connection when the Connection is no longer listening.

This patch aims to remove it
50-Course

This comment was marked as off-topic.

@50-Course 50-Course changed the title Remove dead code in src/main/java/redis/clients/jedis/JedisPubSubBase module. Remove dead code (unreferenced client) in src/main/java/redis/clients/jedis/JedisPubSubBase module. Feb 15, 2024
@ggivo ggivo self-requested a review May 28, 2025 04:43
@ggivo ggivo changed the title Remove dead code (unreferenced client) in src/main/java/redis/clients/jedis/JedisPubSubBase module. Remove commented out code May 28, 2025
@ggivo ggivo added skip-changelog Ignore pull request from release note churn Chore: Formatting and comment cleanup (non-functional change) labels May 28, 2025
@ggivo ggivo closed this May 28, 2025
@ggivo
Copy link
Collaborator

ggivo commented May 28, 2025

Clean up PR's. Removes 2 lines of commented-out code. Let's leave them for now as a hint till we review if they are actually needed,

@ggivo ggivo added this to the 6.1.0 milestone May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

churn Chore: Formatting and comment cleanup (non-functional change) skip-changelog Ignore pull request from release note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants