You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2022/06/09 22:14:36 UTC

[cxf] branch master updated: Fixing JDK-19 source compatibility issue introduced by https://bugs.openjdk.org/browse/JDK-8287968

This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new aada64db93 Fixing JDK-19 source compatibility issue introduced by https://bugs.openjdk.org/browse/JDK-8287968
aada64db93 is described below

commit aada64db93a9625a4aa7af60755840d16219d580
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Thu Jun 9 18:14:21 2022 -0400

    Fixing JDK-19 source compatibility issue introduced by https://bugs.openjdk.org/browse/JDK-8287968
---
 .../src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java    | 5 +++--
 .../src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore2.java   | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java b/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
index c6561bd12c..e603bb24e3 100644
--- a/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
+++ b/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore.java
@@ -37,6 +37,7 @@ import javax.ws.rs.core.Context;
 import javax.ws.rs.core.HttpHeaders;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.sse.OutboundSseEvent.Builder;
+import javax.ws.rs.sse.OutboundSseEvent;
 import javax.ws.rs.sse.Sse;
 import javax.ws.rs.sse.SseBroadcaster;
 import javax.ws.rs.sse.SseEventSink;
@@ -77,7 +78,7 @@ public class BookStore extends BookStoreClientCloseable {
             public void run() {
                 try {
                     final Integer id = Integer.valueOf(lastEventId);
-                    final Builder builder = sse.newEventBuilder();
+                    final OutboundSseEvent.Builder builder = sse.newEventBuilder();
 
                     sink.send(createEvent(builder.name("book"), id + 1));
                     Thread.sleep(200);
@@ -105,7 +106,7 @@ public class BookStore extends BookStoreClientCloseable {
             public void run() {
                 try {
                     final Integer id = Integer.valueOf(lastEventId);
-                    final Builder builder = sse.newEventBuilder();
+                    final OutboundSseEvent.Builder builder = sse.newEventBuilder();
 
                     sink.send(createEvent(builder.name("book"), id + 1));
                     Thread.sleep(200);
diff --git a/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore2.java b/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore2.java
index 414d84f7ce..720f3eda5f 100644
--- a/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore2.java
+++ b/systests/rs-sse/rs-sse-base/src/main/java/org/apache/cxf/systest/jaxrs/sse/BookStore2.java
@@ -37,6 +37,7 @@ import javax.ws.rs.core.Context;
 import javax.ws.rs.core.HttpHeaders;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.sse.OutboundSseEvent.Builder;
+import javax.ws.rs.sse.OutboundSseEvent;
 import javax.ws.rs.sse.Sse;
 import javax.ws.rs.sse.SseBroadcaster;
 import javax.ws.rs.sse.SseEventSink;
@@ -76,7 +77,7 @@ public class BookStore2 extends BookStoreClientCloseable {
             public void run() {
                 try {
                     final Integer id = Integer.valueOf(lastEventId);
-                    final Builder builder = sse.newEventBuilder();
+                    final OutboundSseEvent.Builder builder = sse.newEventBuilder();
 
                     sink.send(createEvent(builder.name("book"), id + 1));
                     Thread.sleep(200);
@@ -104,7 +105,7 @@ public class BookStore2 extends BookStoreClientCloseable {
             public void run() {
                 try {
                     final Integer id = Integer.valueOf(lastEventId);
-                    final Builder builder = sse.newEventBuilder();
+                    final OutboundSseEvent.Builder builder = sse.newEventBuilder();
 
                     sink.send(createEvent(builder.name("book"), id + 1));
                     Thread.sleep(200);