This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 68edb5f90e06ae7f641ee7ef807d2b911f09a858 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Fri Jun 30 11:11:13 2023 +0200 (chores) camel-rest-openapi: reduce verbosity of generics code --- .../org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java index d16d26fc1eb..cdfbbe6bf6d 100644 --- a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java +++ b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java @@ -553,7 +553,7 @@ public final class RestOpenApiEndpoint extends DefaultEndpoint { } private Set<URI> getURIs(List<Server> servers) { - Set<URI> uris = new java.util.HashSet<URI>(); + Set<URI> uris = new java.util.HashSet<>(); if (servers != null) { for (Server server : servers) { try {