Skip to content

Code cleanup #2990

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

Closed
wants to merge 2 commits into from
Closed

Conversation

omercelikceng
Copy link
Contributor

No description provided.

@@ -193,7 +193,7 @@ void parentConnectionFactoryInheritedByDefault() throws Exception {
private void checkCustomizedArgs() throws MalformedURLException, URISyntaxException, InterruptedException {
List<Map<String, Object>> bindings = RestUtils.getBindingsBySource(client, uri, "/", "process-in-0");
int n = 0;
while (n++ < 100 && bindings == null || bindings.size() < 1) {
Copy link
Contributor

@olegz olegz Aug 19, 2024

Choose a reason for hiding this comment

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

I have not looked at this code, but usually < 1 implies that there may be two or more bindings, for which there would be additional handling. Please take a look. While < 1 is effectively the same as empty, i just want to make sure we're not missing something

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you very much @olegz . I hadn't looked at the situation from this perspective. I'm reverting my change right away.

@olegz olegz closed this in 8e5f67a Aug 20, 2024
@omercelikceng omercelikceng deleted the codeCleanup branch October 4, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants