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
a723ac95
Commit
a723ac95
authored
Apr 30, 2018
by
Johnny Lim
Committed by
Stephane Nicoll
Apr 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
Closes gh-12999
parent
fc8b2110
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 @
a723ac95
...
...
@@ -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 re
s
tarts,
for a smoother application development experience. Developer tools are automatically disabled when
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 @
a723ac95
...
...
@@ -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
RandomAccessData
InputStream} implementation for the
* {@link InputStream} implementation for the
* {@link RandomAccessDataFile}.
*/
private
class
DataInputStream
extends
InputStream
{
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/MapBinderTests.java
View file @
a723ac95
...
...
@@ -679,22 +679,22 @@ public class MapBinderTests {
public
static
class
ExampleCustomNoDefaultConstructorBean
{
private
MyCustomNoDefaultConstructor
List
items
=
new
MyCustomNoDefaultConstructorList
(
private
MyCustomNoDefaultConstructor
Map
items
=
new
MyCustomNoDefaultConstructorMap
(
Collections
.
singletonMap
(
"foo"
,
"bar"
));
public
MyCustomNoDefaultConstructor
List
getItems
()
{
public
MyCustomNoDefaultConstructor
Map
getItems
()
{
return
this
.
items
;
}
public
void
setItems
(
MyCustomNoDefaultConstructor
List
items
)
{
public
void
setItems
(
MyCustomNoDefaultConstructor
Map
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
);
}
...
...
@@ -702,20 +702,20 @@ public class MapBinderTests {
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
;
}
public
void
setItems
(
MyCustomWithDefaultConstructor
List
items
)
{
public
void
setItems
(
MyCustomWithDefaultConstructor
Map
items
)
{
this
.
items
.
clear
();
this
.
items
.
putAll
(
items
);
}
}
public
static
class
MyCustomWithDefaultConstructor
List
public
static
class
MyCustomWithDefaultConstructor
Map
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