Skip to content

Commit 48c977a

Browse files
committed
Polishing
1 parent 2888775 commit 48c977a

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

spring-context/src/test/java/org/springframework/context/annotation/NestedConfigurationClassTests.java

Lines changed: 8 additions & 1 deletion
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-2014 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.
@@ -123,6 +123,7 @@ public void twoLevelsWithNoBeanMethods() {
123123

124124
@Configuration
125125
static class L0Config {
126+
126127
@Bean
127128
public TestBean l0Bean() {
128129
return new TestBean("l0");
@@ -135,6 +136,7 @@ public TestBean overrideBean() {
135136

136137
@Configuration
137138
static class L1Config {
139+
138140
@Bean
139141
public TestBean l1Bean() {
140142
return new TestBean("l1");
@@ -147,6 +149,7 @@ public TestBean overrideBean() {
147149

148150
@Configuration
149151
protected static class L2Config {
152+
150153
@Bean
151154
public TestBean l2Bean() {
152155
return new TestBean("l2");
@@ -163,6 +166,7 @@ public TestBean overrideBean() {
163166

164167
@Component
165168
static class L0ConfigLight {
169+
166170
@Bean
167171
public TestBean l0Bean() {
168172
return new TestBean("l0");
@@ -175,6 +179,7 @@ public TestBean overrideBean() {
175179

176180
@Component
177181
static class L1ConfigLight {
182+
178183
@Bean
179184
public TestBean l1Bean() {
180185
return new TestBean("l1");
@@ -187,6 +192,7 @@ public TestBean overrideBean() {
187192

188193
@Component
189194
protected static class L2ConfigLight {
195+
190196
@Bean
191197
public TestBean l2Bean() {
192198
return new TestBean("l2");
@@ -216,6 +222,7 @@ protected static class L2ConfigEmpty {
216222

217223
@Configuration
218224
static class S1Config extends L0Config {
225+
219226
@Override
220227
@Bean
221228
public TestBean overrideBean() {

spring-context/src/test/java/org/springframework/tests/sample/beans/Employee.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/*
32
* Copyright 2002-2012 the original author or authors.
43
*
@@ -17,19 +16,10 @@
1716

1817
package org.springframework.tests.sample.beans;
1918

20-
import org.springframework.tests.sample.beans.TestBean;
21-
2219
public class Employee extends TestBean {
2320

2421
private String co;
2522

26-
/**
27-
* Constructor for Employee.
28-
*/
29-
public Employee() {
30-
super();
31-
}
32-
3323
public String getCompany() {
3424
return co;
3525
}

spring-core/src/main/java/org/springframework/core/convert/support/ObjectToStringConverter.java

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

2121
/**
2222
* Simply calls {@link Object#toString()} to convert a source Object to a String.
23+
*
2324
* @author Keith Donald
2425
* @since 3.0
2526
*/

spring-websocket/src/main/java/org/springframework/web/socket/handler/SessionLimitExceededException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* for, e.g. timeout, buffer size, etc.
2424
*
2525
* @author Rossen Stoyanchev
26-
* @since 3.0.4
26+
* @since 4.0.3
2727
*/
2828
@SuppressWarnings("serial")
2929
public class SessionLimitExceededException extends RuntimeException {

0 commit comments

Comments
 (0)