From c0fbf6fca152449c7380dc8ebeba8354616428f9 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 24 Feb 2020 19:50:12 +0100 Subject: [PATCH] Polishing --- .../beans/factory/config/DependencyDescriptor.java | 4 ++-- .../web/reactive/socket/WebSocketMessage.java | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java index c934f89a3f..d5fd082162 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 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. @@ -371,7 +371,7 @@ public class DependencyDescriptor extends InjectionPoint implements Serializable /** * Determine the name of the wrapped parameter/field. - * @return the declared name (may be {@code null}) + * @return the declared name (may be {@code null} if unresolvable) */ @Nullable public String getDependencyName() { diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketMessage.java b/spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketMessage.java index 9d939de0d9..4815fec486 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketMessage.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketMessage.java @@ -26,9 +26,9 @@ import org.springframework.util.ObjectUtils; /** * Representation of a WebSocket message. - *

See static factory methods in {@link WebSocketSession} for creating messages - * with the {@link org.springframework.core.io.buffer.DataBufferFactory - * DataBufferFactory} for the session. + * + *

See static factory methods in {@link WebSocketSession} for creating messages with + * the {@link org.springframework.core.io.buffer.DataBufferFactory} for the session. * * @author Rossen Stoyanchev * @since 5.0 @@ -140,6 +140,7 @@ public class WebSocketMessage { return "WebSocket " + this.type.name() + " message (" + this.payload.readableByteCount() + " bytes)"; } + /** * WebSocket message types. */