Skip to content

Commit 9b811a0

Browse files
committed
Polishing
1 parent 2b23d16 commit 9b811a0

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

spring-orm/src/main/java/org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientAdapter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@
1616

1717
package org.springframework.web.reactive.function.client.support;
1818

19-
2019
import reactor.core.publisher.Flux;
2120
import reactor.core.publisher.Mono;
2221

@@ -30,7 +29,6 @@
3029
import org.springframework.web.service.invoker.HttpRequestValues;
3130
import org.springframework.web.service.invoker.HttpServiceProxyFactory;
3231

33-
3432
/**
3533
* {@link HttpClientAdapter} that enables an {@link HttpServiceProxyFactory} to
3634
* use {@link WebClient} for request execution.

spring-webflux/src/main/java/org/springframework/web/reactive/result/HandlerResultHandlerSupport.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@
1717
package org.springframework.web.reactive.result;
1818

1919
import java.util.ArrayList;
20-
import java.util.Arrays;
2120
import java.util.LinkedHashSet;
2221
import java.util.List;
2322
import java.util.Set;
@@ -49,7 +48,7 @@
4948
public abstract class HandlerResultHandlerSupport implements Ordered {
5049

5150
private static final List<MediaType> ALL_APPLICATION_MEDIA_TYPES =
52-
Arrays.asList(MediaType.ALL, new MediaType("application"));
51+
List.of(MediaType.ALL, new MediaType("application"));
5352

5453

5554
protected final Log logger = LogFactory.getLog(getClass());

spring-webflux/src/main/java/org/springframework/web/reactive/socket/server/upgrade/ReactorNetty2RequestUpgradeStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@
3838
* A WebSocket {@code RequestUpgradeStrategy} for Reactor Netty for Netty 5.
3939
*
4040
* <p>This class is based on {@link ReactorNettyRequestUpgradeStrategy}.
41-
*\
41+
*
4242
* @author Violeta Georgieva
4343
* @since 6.0
4444
*/

0 commit comments

Comments
 (0)