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
e0ec6077
Commit
e0ec6077
authored
Dec 08, 2015
by
mnhock
Committed by
Stephane Nicoll
Jan 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a platform-specific line separator
See gh-4707
parent
bcfd1cc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
OAuth2AuthorizationServerConfiguration.java
...h2/authserver/OAuth2AuthorizationServerConfiguration.java
+1
-1
CommandRunner.java
...a/org/springframework/boot/cli/command/CommandRunner.java
+2
-2
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/authserver/OAuth2AuthorizationServerConfiguration.java
View file @
e0ec6077
...
...
@@ -147,7 +147,7 @@ public class OAuth2AuthorizationServerConfiguration
String
prefix
=
"security.oauth2.client"
;
boolean
defaultSecret
=
this
.
credentials
.
isDefaultSecret
();
logger
.
info
(
String
.
format
(
"Initialized OAuth2 Client
\n\n%s.clientId = %s\n%s.secret = %s\n\
n"
,
"Initialized OAuth2 Client
%n%n%s.clientId = %s%n%s.secret = %s%n%
n"
,
prefix
,
this
.
credentials
.
getClientId
(),
prefix
,
defaultSecret
?
this
.
credentials
.
getClientSecret
()
:
"****"
));
}
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java
View file @
e0ec6077
...
...
@@ -279,14 +279,14 @@ public class CommandRunner implements Iterable<Command> {
if
(!
isOptionCommand
(
command
)
&&
!
isHiddenCommand
(
command
))
{
String
usageHelp
=
command
.
getUsageHelp
();
String
description
=
command
.
getDescription
();
Log
.
info
(
String
.
format
(
"
\n %1$s %2$-15s\
n %3$s"
,
command
.
getName
(),
Log
.
info
(
String
.
format
(
"
%n %1$s %2$-15s%
n %3$s"
,
command
.
getName
(),
(
usageHelp
==
null
?
""
:
usageHelp
),
(
description
==
null
?
""
:
description
)));
}
}
Log
.
info
(
""
);
Log
.
info
(
"Common options:"
);
Log
.
info
(
String
.
format
(
"
\n %1$s %2$-15s\
n %3$s"
,
"-d, --debug"
,
Log
.
info
(
String
.
format
(
"
%n %1$s %2$-15s%
n %3$s"
,
"-d, --debug"
,
"Verbose mode"
,
"Print additional status information for the command you are running"
));
Log
.
info
(
""
);
...
...
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