From 89441ea0067398e75a9a1de868a6f8b529e4116a Mon Sep 17 00:00:00 2001 From: Dillon Regimbal Date: Tue, 25 May 2021 16:30:23 -0400 Subject: [PATCH 1/2] Fix typo See gh-26973 --- .../java/org/springframework/http/codec/ServerSentEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java b/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java index c3a1571110f..08280e4015c 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java +++ b/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java @@ -119,7 +119,7 @@ public final class ServerSentEvent { } /** - * Return a builder for a {@code SseEvent}, populated with the give {@linkplain #data() data}. + * Return a builder for a {@code SseEvent}, populated with the given {@linkplain #data() data}. * @param the type of data that this event contains * @return the builder */ From 4049951c039ef08b3047cbf1db264b6090fc09dd Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 26 May 2021 08:50:15 +0200 Subject: [PATCH 2/2] Update copyright year of changed file See gh-26973 --- .../java/org/springframework/http/codec/ServerSentEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java b/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java index 08280e4015c..b2bf41162dd 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java +++ b/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.