Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
anjaliInfy1822 closed pull request #13921: Reduced Cognitive complexity of the code. URL: https://github.com/apache/camel/pull/13921 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
orpiske commented on code in PR #13921: URL: https://github.com/apache/camel/pull/13921#discussion_r1579081967 ## catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java: ## @@ -659,4 +654,15 @@ private String loadResource(String file) { }

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
orpiske commented on code in PR #13921: URL: https://github.com/apache/camel/pull/13921#discussion_r1579081967 ## catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java: ## @@ -659,4 +654,15 @@ private String loadResource(String file) { }

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
anjaliInfy1822 closed pull request #13921: Reduced Cognitive complexity of the code. URL: https://github.com/apache/camel/pull/13921 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
anjaliInfy1822 commented on code in PR #13921: URL: https://github.com/apache/camel/pull/13921#discussion_r1579000323 ## catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java: ## @@ -659,4 +654,15 @@ private String loadResource(String file) {

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
anjaliInfy1822 closed pull request #13921: Reduced Cognitive complexity of the code. URL: https://github.com/apache/camel/pull/13921 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
davsclaus commented on code in PR #13921: URL: https://github.com/apache/camel/pull/13921#discussion_r1578997116 ## catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java: ## @@ -659,4 +654,15 @@ private String loadResource(String file) {

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
anjaliInfy1822 commented on code in PR #13921: URL: https://github.com/apache/camel/pull/13921#discussion_r1578983860 ## catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java: ## @@ -659,4 +654,15 @@ private String loadResource(String file) {

Re: [PR] Reduced Cognitive complexity of the code. [camel]

2024-04-25 Thread via GitHub
davsclaus commented on code in PR #13921: URL: https://github.com/apache/camel/pull/13921#discussion_r1578971277 ## catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java: ## @@ -659,4 +654,15 @@ private String loadResource(String file) {

[PR] Reduced Cognitive complexity of the code. [camel]

2024-04-24 Thread via GitHub
anjaliInfy1822 opened a new pull request, #13921: URL: https://github.com/apache/camel/pull/13921 Reduced the cognitive complexity of the code, by reducing the if else and for loop nesting multiple times. -- This is an automated message from the Apache Git Service. To respond to the