From 5b7c764fc8406d0daf13e11531f61ecc5bdd2005 Mon Sep 17 00:00:00 2001 From: Antonio Musarra Date: Tue, 16 Apr 2024 00:39:40 +0200 Subject: [PATCH] Fix the JavaDoc links --- .../java/it/dontesta/eventbus/ws/EventBusApplication.java | 3 ++- .../eventbus/ws/filter/TraceJaxRsRequestResponseFilter.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/it/dontesta/eventbus/ws/EventBusApplication.java b/src/main/java/it/dontesta/eventbus/ws/EventBusApplication.java index 115fb10..9059ffc 100644 --- a/src/main/java/it/dontesta/eventbus/ws/EventBusApplication.java +++ b/src/main/java/it/dontesta/eventbus/ws/EventBusApplication.java @@ -6,7 +6,8 @@ /** * JAX-RS Application class that defines the base URI for the RESTful web services. * - *

https://jakarta.ee/specifications/restful-ws/3.1/jakarta-restful-ws-spec-3.1.html#application + *

+ * JAX-RS Application * * @author Antonio Musarra */ diff --git a/src/main/java/it/dontesta/eventbus/ws/filter/TraceJaxRsRequestResponseFilter.java b/src/main/java/it/dontesta/eventbus/ws/filter/TraceJaxRsRequestResponseFilter.java index 1353202..b8e27b4 100644 --- a/src/main/java/it/dontesta/eventbus/ws/filter/TraceJaxRsRequestResponseFilter.java +++ b/src/main/java/it/dontesta/eventbus/ws/filter/TraceJaxRsRequestResponseFilter.java @@ -48,7 +48,7 @@ *

L'elenco delle URI da filtrare รจ definito nel parametro di configurazione * {@code app.filter.uris}. * - *

Per ulteriori informazioni sui filtri JAX-RS, vedere la specifica Jakarta EE: https://jakarta.ee/specifications/restful-ws/3.1/jakarta-restful-ws-spec-3.1.html#filters + *

Per ulteriori informazioni sui filtri JAX-RS, vedere la specifica Jakarta EE: JAX-RS Filter * * @author Antonio Musarra */ @@ -193,7 +193,7 @@ private Map getResponseHeaders(ContainerResponseContext response StringBuilder valueBuilder = new StringBuilder(); for (Object value : values) { if (value != null) { - if (valueBuilder.length() > 0) { + if (!valueBuilder.isEmpty()) { valueBuilder.append(", "); } valueBuilder.append(value);