Skip to content

Commit 8ec00c3

Browse files
izeyesnicoll
authored andcommitted
1 parent 31d7ebc commit 8ec00c3

File tree

40 files changed

+70
-70
lines changed

40 files changed

+70
-70
lines changed

CONTRIBUTING.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ added after the original pull request but before a merge.
6060
If you don't have an IDE preference we would recommend that you use
6161
http://www.springsource.com/developer/sts[Spring Tools Suite] or
6262
http://eclipse.org[Eclipse] when working with the code. We use the
63-
http://eclipse.org/m2e/[m2eclipe] eclipse plugin for maven support. Other IDEs and tools
63+
http://eclipse.org/m2e/[M2Eclipse] eclipse plugin for maven support. Other IDEs and tools
6464
should also work without issue.
6565

6666

@@ -168,7 +168,7 @@ easier to navigate.
168168

169169
==== Manual installation with m2eclipse
170170
If you prefer to install Eclipse yourself we recommend that you use the
171-
http://eclipse.org/m2e/[m2eclipe] eclipse plugin. If you don't already have m2eclipse
171+
http://eclipse.org/m2e/[M2Eclipse] eclipse plugin. If you don't already have m2eclipse
172172
installed it is available from the "Eclipse marketplace".
173173

174174
Spring Boot includes project specific source formatting settings, in order to have these

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Having trouble with Spring Boot? We'd like to help!
7272

7373
== Reporting Issues
7474
Spring Boot uses GitHub's integrated issue tracking system to record bugs and feature
75-
requests. If you want to raise an issue, please follow the recommendations bellow:
75+
requests. If you want to raise an issue, please follow the recommendations below:
7676

7777
* Before you log a bug, please https://github.com/spring-projects/spring-boot/search?type=Issues[search the issue tracker]
7878
to see if someone has already reported the problem.

spring-boot-devtools/src/main/java/org/springframework/boot/devtools/log4j2/Log4J2RestartListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ private void prepareLog4J2ForRestart() {
5555
"hooks");
5656
ReflectionUtils.makeAccessible(hooksField);
5757
@SuppressWarnings("unchecked")
58-
Collection<Cancellable> state = (Collection<Cancellable>) ReflectionUtils
58+
Collection<Cancellable> hooks = (Collection<Cancellable>) ReflectionUtils
5959
.getField(hooksField, shutdownCallbackRegistry);
60-
state.clear();
60+
hooks.clear();
6161
}
6262

6363
}

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public void liveReloadTriggeredOnContextRefresh() throws Exception {
139139
}
140140

141141
@Test
142-
public void liveReloadTriggerdOnClassPathChangeWithoutRestart() throws Exception {
142+
public void liveReloadTriggeredOnClassPathChangeWithoutRestart() throws Exception {
143143
this.context = initializeAndRun(ConfigWithMockLiveReload.class);
144144
LiveReloadServer server = this.context.getBean(LiveReloadServer.class);
145145
reset(server);
@@ -150,7 +150,7 @@ public void liveReloadTriggerdOnClassPathChangeWithoutRestart() throws Exception
150150
}
151151

152152
@Test
153-
public void liveReloadNotTriggerdOnClassPathChangeWithRestart() throws Exception {
153+
public void liveReloadNotTriggeredOnClassPathChangeWithRestart() throws Exception {
154154
this.context = initializeAndRun(ConfigWithMockLiveReload.class);
155155
LiveReloadServer server = this.context.getBean(LiveReloadServer.class);
156156
reset(server);

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ public void configuredWithRestartStrategy() throws Exception {
9494
public static class Config {
9595

9696
@Autowired
97-
public Environment environemnt;
97+
public Environment environment;
9898

9999
@Bean
100100
public ClassPathFileSystemWatcher watcher() {
101101
FileSystemWatcher watcher = new FileSystemWatcher(false, 100, 10);
102-
URL[] urls = this.environemnt.getProperty("urls", URL[].class);
102+
URL[] urls = this.environment.getProperty("urls", URL[].class);
103103
return new ClassPathFileSystemWatcher(
104104
new MockFileSystemWatcherFactory(watcher), restartStrategy(), urls);
105105
}

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/classloader/ClassLoaderFilesTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void getSourceFolders() throws Exception {
123123
}
124124

125125
@Test
126-
public void serialzie() throws Exception {
126+
public void serialize() throws Exception {
127127
ClassLoaderFile file = new ClassLoaderFile(Kind.ADDED, new byte[10]);
128128
this.files.addFile("myfile", file);
129129
ByteArrayOutputStream bos = new ByteArrayOutputStream();

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/tunnel/client/HttpTunnelConnectionTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class HttpTunnelConnectionTests {
5858

5959
private String url;
6060

61-
private ByteArrayOutputStream incommingData;
61+
private ByteArrayOutputStream incomingData;
6262

6363
private WritableByteChannel incomingChannel;
6464

@@ -71,8 +71,8 @@ public class HttpTunnelConnectionTests {
7171
public void setup() {
7272
MockitoAnnotations.initMocks(this);
7373
this.url = "http://localhost:" + this.port;
74-
this.incommingData = new ByteArrayOutputStream();
75-
this.incomingChannel = Channels.newChannel(this.incommingData);
74+
this.incomingData = new ByteArrayOutputStream();
75+
this.incomingChannel = Channels.newChannel(this.incomingData);
7676
}
7777

7878
@Test
@@ -129,7 +129,7 @@ public void typicalTraffic() throws Exception {
129129
write(channel, "hello");
130130
write(channel, "1+1");
131131
write(channel, "1+2");
132-
assertThat(this.incommingData.toString(), equalTo("hi=2=3"));
132+
assertThat(this.incomingData.toString(), equalTo("hi=2=3"));
133133
}
134134

135135
@Test
@@ -140,7 +140,7 @@ public void trafficWithLongPollTimeouts() throws Exception {
140140
this.requestFactory.willRespond("hi");
141141
TunnelChannel channel = openTunnel(true);
142142
write(channel, "hello");
143-
assertThat(this.incommingData.toString(), equalTo("hi"));
143+
assertThat(this.incomingData.toString(), equalTo("hi"));
144144
assertThat(this.requestFactory.getExecutedRequests().size(), greaterThan(10));
145145
}
146146

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/tunnel/server/HttpTunnelServerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void initialRequestIsSentToServer() throws Exception {
146146
}
147147

148148
@Test
149-
public void intialRequestIsUsedForFirstServerResponse() throws Exception {
149+
public void initialRequestIsUsedForFirstServerResponse() throws Exception {
150150
this.servletRequest.addHeader(SEQ_HEADER, "1");
151151
this.servletRequest.setContent("hello".getBytes());
152152
this.server.handle(this.request, this.response);
@@ -167,7 +167,7 @@ public void initialRequestHasNoPayload() throws Exception {
167167
}
168168

169169
@Test
170-
public void typicalReqestResponseTraffic() throws Exception {
170+
public void typicalRequestResponseTraffic() throws Exception {
171171
MockHttpConnection h1 = new MockHttpConnection();
172172
this.server.handle(h1);
173173
MockHttpConnection h2 = new MockHttpConnection("hello server", 1);

spring-boot-devtools/src/test/java/org/springframework/boot/devtools/tunnel/server/StaticPortProviderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class StaticPortProviderTests {
3434
public ExpectedException thrown = ExpectedException.none();
3535

3636
@Test
37-
public void portMustBePostive() throws Exception {
37+
public void portMustBePositive() throws Exception {
3838
this.thrown.expect(IllegalArgumentException.class);
3939
this.thrown.expectMessage("Port must be positive");
4040
new StaticPortProvider(0);

spring-boot-docs/src/main/asciidoc/deployment.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ Spring Boot application can be started as Windows service using
572572
https://github.com/kohsuke/winsw[`winsw`].
573573

574574
A sample https://github.com/snicoll-scratches/spring-boot-daemon[maintained separately]
575-
to the core of Spring Boot describes steps by steps how you can create a Windows service for
575+
to the core of Spring Boot describes step by step how you can create a Windows service for
576576
your Spring Boot application.
577577

578578

0 commit comments

Comments
 (0)