Commit a723ac95 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish

Closes gh-12999
parent fc8b2110
......@@ -239,7 +239,7 @@ link:spring-boot-project/spring-boot-tools/spring-boot-maven-plugin[Maven] plugi
=== spring-boot-devtools
The spring-boot-devtools module provides additional development-time features such as automatic retarts,
The spring-boot-devtools module provides additional development-time features such as automatic restarts,
for a smoother application development experience. Developer tools are automatically disabled when
running a fully packaged application.
......
......@@ -57,9 +57,9 @@ public class RandomAccessDataFile implements RandomAccessData {
* @param length the length of the section
*/
private RandomAccessDataFile(FileAccess fileAccess, long offset, long length) {
this.fileAccess = fileAccess;
this.offset = offset;
this.length = length;
this.fileAccess = fileAccess;
}
/**
......@@ -120,7 +120,7 @@ public class RandomAccessDataFile implements RandomAccessData {
}
/**
* {@link RandomAccessDataInputStream} implementation for the
* {@link InputStream} implementation for the
* {@link RandomAccessDataFile}.
*/
private class DataInputStream extends InputStream {
......
......@@ -679,22 +679,22 @@ public class MapBinderTests {
public static class ExampleCustomNoDefaultConstructorBean {
private MyCustomNoDefaultConstructorList items = new MyCustomNoDefaultConstructorList(
private MyCustomNoDefaultConstructorMap items = new MyCustomNoDefaultConstructorMap(
Collections.singletonMap("foo", "bar"));
public MyCustomNoDefaultConstructorList getItems() {
public MyCustomNoDefaultConstructorMap getItems() {
return this.items;
}
public void setItems(MyCustomNoDefaultConstructorList items) {
public void setItems(MyCustomNoDefaultConstructorMap items) {
this.items = items;
}
}
public static class MyCustomNoDefaultConstructorList extends HashMap<String, String> {
public static class MyCustomNoDefaultConstructorMap extends HashMap<String, String> {
public MyCustomNoDefaultConstructorList(Map<String, String> items) {
public MyCustomNoDefaultConstructorMap(Map<String, String> items) {
putAll(items);
}
......@@ -702,20 +702,20 @@ public class MapBinderTests {
public static class ExampleCustomWithDefaultConstructorBean {
private MyCustomWithDefaultConstructorList items = new MyCustomWithDefaultConstructorList();
private MyCustomWithDefaultConstructorMap items = new MyCustomWithDefaultConstructorMap();
public MyCustomWithDefaultConstructorList getItems() {
public MyCustomWithDefaultConstructorMap getItems() {
return this.items;
}
public void setItems(MyCustomWithDefaultConstructorList items) {
public void setItems(MyCustomWithDefaultConstructorMap items) {
this.items.clear();
this.items.putAll(items);
}
}
public static class MyCustomWithDefaultConstructorList
public static class MyCustomWithDefaultConstructorMap
extends HashMap<String, String> {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment