Browse Source

Polishing

pull/24591/head
Juergen Hoeller 5 years ago
parent
commit
c0fbf6fca1
  1. 4
      spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java
  2. 7
      spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketMessage.java

4
spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java

@ -1,5 +1,5 @@ @@ -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 @@ -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() {

7
spring-webflux/src/main/java/org/springframework/web/reactive/socket/WebSocketMessage.java

@ -26,9 +26,9 @@ import org.springframework.util.ObjectUtils; @@ -26,9 +26,9 @@ import org.springframework.util.ObjectUtils;
/**
* Representation of a WebSocket message.
* <p>See static factory methods in {@link WebSocketSession} for creating messages
* with the {@link org.springframework.core.io.buffer.DataBufferFactory
* DataBufferFactory} for the session.
*
* <p>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 { @@ -140,6 +140,7 @@ public class WebSocketMessage {
return "WebSocket " + this.type.name() + " message (" + this.payload.readableByteCount() + " bytes)";
}
/**
* WebSocket message types.
*/

Loading…
Cancel
Save