Polishing

This commit is contained in:
Juergen Hoeller
2020-02-24 19:34:15 +01:00
parent cc376ac5ed
commit 1c0a4f8d78
6 changed files with 16 additions and 15 deletions

View File

@@ -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.
@@ -373,7 +373,7 @@ public class DependencyDescriptor extends InjectionPoint implements Serializable
/**
* Determine the name of the wrapped parameter/field.
* @return the declared name (never {@code null})
* @return the declared name (may be {@code null} if unresolvable)
*/
@Nullable
public String getDependencyName() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 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.
@@ -53,6 +53,6 @@ public enum ScopedProxyMode {
/**
* Create a class-based proxy (uses CGLIB).
*/
TARGET_CLASS;
TARGET_CLASS
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 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.
@@ -42,6 +42,6 @@ public enum RegistrationPolicy {
* Registration should replace the affected MBean when attempting to register an MBean
* under a name that already exists.
*/
REPLACE_EXISTING;
REPLACE_EXISTING
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 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.
@@ -41,6 +41,6 @@ public enum SimpMessageType {
DISCONNECT_ACK,
OTHER;
OTHER
}

View File

@@ -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.
@@ -18,5 +18,5 @@ package org.springframework.orm.jpa.hibernate.beans;
public enum BeanSource {
SPRING,
FALLBACK;
FALLBACK
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 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.
@@ -25,9 +25,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
@@ -139,6 +139,7 @@ public class WebSocketMessage {
return "WebSocket " + this.type.name() + " message (" + this.payload.readableByteCount() + " bytes)";
}
/**
* WebSocket message types.
*/
@@ -158,7 +159,7 @@ public class WebSocketMessage {
/**
* WebSocket pong.
*/
PONG;
PONG
}
}