Skip to content

Commit 1c0a4f8

Browse files
committed
Polishing
1 parent cc376ac commit 1c0a4f8

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

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

Lines changed: 2 additions & 2 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-2020 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.
@@ -373,7 +373,7 @@ public void initParameterNameDiscovery(@Nullable ParameterNameDiscoverer paramet
373373

374374
/**
375375
* Determine the name of the wrapped parameter/field.
376-
* @return the declared name (never {@code null})
376+
* @return the declared name (may be {@code null} if unresolvable)
377377
*/
378378
@Nullable
379379
public String getDependencyName() {

spring-context/src/main/java/org/springframework/context/annotation/ScopedProxyMode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -53,6 +53,6 @@ public enum ScopedProxyMode {
5353
/**
5454
* Create a class-based proxy (uses CGLIB).
5555
*/
56-
TARGET_CLASS;
56+
TARGET_CLASS
5757

5858
}

spring-context/src/main/java/org/springframework/jmx/support/RegistrationPolicy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -42,6 +42,6 @@ public enum RegistrationPolicy {
4242
* Registration should replace the affected MBean when attempting to register an MBean
4343
* under a name that already exists.
4444
*/
45-
REPLACE_EXISTING;
45+
REPLACE_EXISTING
4646

4747
}

spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -41,6 +41,6 @@ public enum SimpMessageType {
4141

4242
DISCONNECT_ACK,
4343

44-
OTHER;
44+
OTHER
4545

4646
}

spring-orm/src/test/java/org/springframework/orm/jpa/hibernate/beans/BeanSource.java

Lines changed: 2 additions & 2 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-2020 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.
@@ -18,5 +18,5 @@
1818

1919
public enum BeanSource {
2020
SPRING,
21-
FALLBACK;
21+
FALLBACK
2222
}

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -25,9 +25,9 @@
2525

2626
/**
2727
* Representation of a WebSocket message.
28-
* <p>See static factory methods in {@link WebSocketSession} for creating messages
29-
* with the {@link org.springframework.core.io.buffer.DataBufferFactory
30-
* DataBufferFactory} for the session.
28+
*
29+
* <p>See static factory methods in {@link WebSocketSession} for creating messages with
30+
* the {@link org.springframework.core.io.buffer.DataBufferFactory} for the session.
3131
*
3232
* @author Rossen Stoyanchev
3333
* @since 5.0
@@ -139,6 +139,7 @@ public String toString() {
139139
return "WebSocket " + this.type.name() + " message (" + this.payload.readableByteCount() + " bytes)";
140140
}
141141

142+
142143
/**
143144
* WebSocket message types.
144145
*/
@@ -158,7 +159,7 @@ public enum Type {
158159
/**
159160
* WebSocket pong.
160161
*/
161-
PONG;
162+
PONG
162163
}
163164

164165
}

0 commit comments

Comments
 (0)