Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
83b9d3ca
Commit
83b9d3ca
authored
Apr 30, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12999 from izeye:polish-20180430
* pr/12999: Polish
parents
fc8b2110
a723ac95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
README.adoc
README.adoc
+1
-1
RandomAccessDataFile.java
...pringframework/boot/loader/data/RandomAccessDataFile.java
+2
-2
MapBinderTests.java
...ramework/boot/context/properties/bind/MapBinderTests.java
+9
-9
No files found.
README.adoc
View file @
83b9d3ca
...
@@ -239,7 +239,7 @@ link:spring-boot-project/spring-boot-tools/spring-boot-maven-plugin[Maven] plugi
...
@@ -239,7 +239,7 @@ link:spring-boot-project/spring-boot-tools/spring-boot-maven-plugin[Maven] plugi
=== spring-boot-devtools
=== 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 re
s
tarts,
for a smoother application development experience. Developer tools are automatically disabled when
for a smoother application development experience. Developer tools are automatically disabled when
running a fully packaged application.
running a fully packaged application.
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessDataFile.java
View file @
83b9d3ca
...
@@ -57,9 +57,9 @@ public class RandomAccessDataFile implements RandomAccessData {
...
@@ -57,9 +57,9 @@ public class RandomAccessDataFile implements RandomAccessData {
* @param length the length of the section
* @param length the length of the section
*/
*/
private
RandomAccessDataFile
(
FileAccess
fileAccess
,
long
offset
,
long
length
)
{
private
RandomAccessDataFile
(
FileAccess
fileAccess
,
long
offset
,
long
length
)
{
this
.
fileAccess
=
fileAccess
;
this
.
offset
=
offset
;
this
.
offset
=
offset
;
this
.
length
=
length
;
this
.
length
=
length
;
this
.
fileAccess
=
fileAccess
;
}
}
/**
/**
...
@@ -120,7 +120,7 @@ public class RandomAccessDataFile implements RandomAccessData {
...
@@ -120,7 +120,7 @@ public class RandomAccessDataFile implements RandomAccessData {
}
}
/**
/**
* {@link
RandomAccessData
InputStream} implementation for the
* {@link InputStream} implementation for the
* {@link RandomAccessDataFile}.
* {@link RandomAccessDataFile}.
*/
*/
private
class
DataInputStream
extends
InputStream
{
private
class
DataInputStream
extends
InputStream
{
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/MapBinderTests.java
View file @
83b9d3ca
...
@@ -679,22 +679,22 @@ public class MapBinderTests {
...
@@ -679,22 +679,22 @@ public class MapBinderTests {
public
static
class
ExampleCustomNoDefaultConstructorBean
{
public
static
class
ExampleCustomNoDefaultConstructorBean
{
private
MyCustomNoDefaultConstructor
List
items
=
new
MyCustomNoDefaultConstructorList
(
private
MyCustomNoDefaultConstructor
Map
items
=
new
MyCustomNoDefaultConstructorMap
(
Collections
.
singletonMap
(
"foo"
,
"bar"
));
Collections
.
singletonMap
(
"foo"
,
"bar"
));
public
MyCustomNoDefaultConstructor
List
getItems
()
{
public
MyCustomNoDefaultConstructor
Map
getItems
()
{
return
this
.
items
;
return
this
.
items
;
}
}
public
void
setItems
(
MyCustomNoDefaultConstructor
List
items
)
{
public
void
setItems
(
MyCustomNoDefaultConstructor
Map
items
)
{
this
.
items
=
items
;
this
.
items
=
items
;
}
}
}
}
public
static
class
MyCustomNoDefaultConstructor
List
extends
HashMap
<
String
,
String
>
{
public
static
class
MyCustomNoDefaultConstructor
Map
extends
HashMap
<
String
,
String
>
{
public
MyCustomNoDefaultConstructor
List
(
Map
<
String
,
String
>
items
)
{
public
MyCustomNoDefaultConstructor
Map
(
Map
<
String
,
String
>
items
)
{
putAll
(
items
);
putAll
(
items
);
}
}
...
@@ -702,20 +702,20 @@ public class MapBinderTests {
...
@@ -702,20 +702,20 @@ public class MapBinderTests {
public
static
class
ExampleCustomWithDefaultConstructorBean
{
public
static
class
ExampleCustomWithDefaultConstructorBean
{
private
MyCustomWithDefaultConstructor
List
items
=
new
MyCustomWithDefaultConstructorList
();
private
MyCustomWithDefaultConstructor
Map
items
=
new
MyCustomWithDefaultConstructorMap
();
public
MyCustomWithDefaultConstructor
List
getItems
()
{
public
MyCustomWithDefaultConstructor
Map
getItems
()
{
return
this
.
items
;
return
this
.
items
;
}
}
public
void
setItems
(
MyCustomWithDefaultConstructor
List
items
)
{
public
void
setItems
(
MyCustomWithDefaultConstructor
Map
items
)
{
this
.
items
.
clear
();
this
.
items
.
clear
();
this
.
items
.
putAll
(
items
);
this
.
items
.
putAll
(
items
);
}
}
}
}
public
static
class
MyCustomWithDefaultConstructor
List
public
static
class
MyCustomWithDefaultConstructor
Map
extends
HashMap
<
String
,
String
>
{
extends
HashMap
<
String
,
String
>
{
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment