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
db2580f8
Commit
db2580f8
authored
Jan 30, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11839 from dreis2211
* pr/11839: Use interfaces for collection declarations
parents
9a8c182d
e7248ff2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
Info.java
...main/java/org/springframework/boot/actuate/info/Info.java
+1
-1
DefaultCommandFactory.java
...a/org/springframework/boot/cli/DefaultCommandFactory.java
+1
-1
ServiceCapabilitiesReportGenerator.java
.../cli/command/init/ServiceCapabilitiesReportGenerator.java
+1
-1
OptionHandler.java
...ringframework/boot/cli/command/options/OptionHandler.java
+1
-1
AstUtils.java
.../java/org/springframework/boot/cli/compiler/AstUtils.java
+1
-1
GroovyCompiler.java
...org/springframework/boot/cli/compiler/GroovyCompiler.java
+1
-1
SpringApplicationBuilder.java
...pringframework/boot/builder/SpringApplicationBuilder.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/info/Info.java
View file @
db2580f8
...
...
@@ -40,7 +40,7 @@ public final class Info {
private
final
Map
<
String
,
Object
>
details
;
private
Info
(
Builder
builder
)
{
LinkedHash
Map
<
String
,
Object
>
content
=
new
LinkedHashMap
<>();
Map
<
String
,
Object
>
content
=
new
LinkedHashMap
<>();
content
.
putAll
(
builder
.
content
);
this
.
details
=
Collections
.
unmodifiableMap
(
content
);
}
...
...
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/DefaultCommandFactory.java
View file @
db2580f8
...
...
@@ -42,7 +42,7 @@ public class DefaultCommandFactory implements CommandFactory {
private
static
final
List
<
Command
>
DEFAULT_COMMANDS
;
static
{
Array
List
<
Command
>
defaultCommands
=
new
ArrayList
<>();
List
<
Command
>
defaultCommands
=
new
ArrayList
<>();
defaultCommands
.
add
(
new
VersionCommand
());
defaultCommands
.
add
(
new
RunCommand
());
defaultCommands
.
add
(
new
GrabCommand
());
...
...
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java
View file @
db2580f8
...
...
@@ -93,7 +93,7 @@ class ServiceCapabilitiesReportGenerator {
}
private
List
<
Dependency
>
getSortedDependencies
(
InitializrServiceMetadata
metadata
)
{
Array
List
<
Dependency
>
dependencies
=
new
ArrayList
<>(
metadata
.
getDependencies
());
List
<
Dependency
>
dependencies
=
new
ArrayList
<>(
metadata
.
getDependencies
());
dependencies
.
sort
(
Comparator
.
comparing
(
Dependency:
:
getId
));
return
dependencies
;
}
...
...
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java
View file @
db2580f8
...
...
@@ -150,7 +150,7 @@ public class OptionHandler {
private
static
class
OptionHelpAdapter
implements
OptionHelp
{
private
final
LinkedHash
Set
<
String
>
options
;
private
final
Set
<
String
>
options
;
private
final
String
description
;
...
...
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/AstUtils.java
View file @
db2580f8
...
...
@@ -167,7 +167,7 @@ public abstract class AstUtils {
private
static
List
<
ExpressionStatement
>
getExpressionStatements
(
BlockStatement
block
)
{
Array
List
<
ExpressionStatement
>
statements
=
new
ArrayList
<>();
List
<
ExpressionStatement
>
statements
=
new
ArrayList
<>();
for
(
Statement
statement
:
block
.
getStatements
())
{
if
(
statement
instanceof
ExpressionStatement
)
{
statements
.
add
((
ExpressionStatement
)
statement
);
...
...
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompiler.java
View file @
db2580f8
...
...
@@ -257,7 +257,7 @@ public class GroovyCompiler {
});
}
private
int
getIndexOfASTTransformationVisitor
(
Li
nkedLi
st
<?>
conversionOperations
)
{
private
int
getIndexOfASTTransformationVisitor
(
List
<?>
conversionOperations
)
{
for
(
int
index
=
0
;
index
<
conversionOperations
.
size
();
index
++)
{
if
(
conversionOperations
.
get
(
index
).
getClass
().
getName
()
.
startsWith
(
ASTTransformationVisitor
.
class
.
getName
()))
{
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java
View file @
db2580f8
...
...
@@ -424,7 +424,7 @@ public class SpringApplicationBuilder {
}
private
Map
<
String
,
Object
>
getMapFromProperties
(
Properties
properties
)
{
Hash
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
for
(
Object
key
:
Collections
.
list
(
properties
.
propertyNames
()))
{
map
.
put
((
String
)
key
,
properties
.
get
(
key
));
}
...
...
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