Skip to content

Commit 6f7ad03

Browse files
committed
Polishing
1 parent 83300c4 commit 6f7ad03

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

spring-beans/src/main/java/org/springframework/beans/TypeMismatchException.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class TypeMismatchException extends PropertyAccessException {
4848

4949

5050
/**
51-
* Create a new TypeMismatchException.
51+
* Create a new {@code TypeMismatchException}.
5252
* @param propertyChangeEvent the PropertyChangeEvent that resulted in the problem
5353
* @param requiredType the required target type
5454
*/
@@ -57,7 +57,7 @@ public TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class<?> r
5757
}
5858

5959
/**
60-
* Create a new TypeMismatchException.
60+
* Create a new {@code TypeMismatchException}.
6161
* @param propertyChangeEvent the PropertyChangeEvent that resulted in the problem
6262
* @param requiredType the required target type (or {@code null} if not known)
6363
* @param cause the root cause (may be {@code null})
@@ -79,7 +79,7 @@ public TypeMismatchException(PropertyChangeEvent propertyChangeEvent, @Nullable
7979
}
8080

8181
/**
82-
* Create a new TypeMismatchException without PropertyChangeEvent.
82+
* Create a new {@code TypeMismatchException} without a {@code PropertyChangeEvent}.
8383
* @param value the offending value that couldn't be converted (may be {@code null})
8484
* @param requiredType the required target type (or {@code null} if not known)
8585
* @see #initPropertyName
@@ -89,7 +89,7 @@ public TypeMismatchException(@Nullable Object value, @Nullable Class<?> required
8989
}
9090

9191
/**
92-
* Create a new TypeMismatchException without PropertyChangeEvent.
92+
* Create a new {@code TypeMismatchException} without a {@code PropertyChangeEvent}.
9393
* @param value the offending value that couldn't be converted (may be {@code null})
9494
* @param requiredType the required target type (or {@code null} if not known)
9595
* @param cause the root cause (may be {@code null})
@@ -120,8 +120,8 @@ public void initPropertyName(String propertyName) {
120120
/**
121121
* Return the name of the affected property, if available.
122122
*/
123-
@Nullable
124123
@Override
124+
@Nullable
125125
public String getPropertyName() {
126126
return this.propertyName;
127127
}

spring-jms/src/main/java/org/springframework/jms/support/JmsMessageHeaderAccessor.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 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.
@@ -88,7 +88,7 @@ public String getMessageId() {
8888
}
8989

9090
/**
91-
* Return the {@link JmsHeaders#PRIORITY}.
91+
* Return the {@link JmsHeaders#PRIORITY priority}.
9292
* @see JmsHeaders#PRIORITY
9393
*/
9494
@Nullable
@@ -127,8 +127,8 @@ public String getType() {
127127
* Return the {@link JmsHeaders#TIMESTAMP timestamp}.
128128
* @see JmsHeaders#TIMESTAMP
129129
*/
130-
@Nullable
131130
@Override
131+
@Nullable
132132
public Long getTimestamp() {
133133
return (Long) getHeader(JmsHeaders.TIMESTAMP);
134134
}

0 commit comments

Comments
 (0)