Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish PropertiesRedisConnectionDetails #43825

Closed
wants to merge 1 commit into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Jan 15, 2025

No description provided.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
return Standalone.of(connectionInfo.getUri().getHost(), connectionInfo.getUri().getPort(),
this.properties.getDatabase());
}
return Standalone.of(this.properties.getHost(), this.properties.getPort(), this.properties.getDatabase());
}

private ConnectionInfo connectionInfo(String url) {
return (url != null) ? RedisConnectionConfiguration.parseUrl(url) : null;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url is never null here.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 15, 2025
@wilkinsona wilkinsona added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 15, 2025
@wilkinsona wilkinsona added this to the 3.3.x milestone Jan 15, 2025
@wilkinsona wilkinsona self-assigned this Jan 15, 2025
@wilkinsona wilkinsona modified the milestones: 3.3.x, 3.3.8 Jan 15, 2025
wilkinsona pushed a commit that referenced this pull request Jan 15, 2025
See gh-43825

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
wilkinsona added a commit that referenced this pull request Jan 15, 2025
@wilkinsona
Copy link
Member

Thanks, @quaff. Your changes inspired me to go a bit further and polish ConnectionInfo too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants