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
2a5e22fa
Commit
2a5e22fa
authored
Dec 14, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7552 from izeye:polish-20161202
* pr/7552: Polish
parents
41f29aec
6d1b752f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
loggers.adoc
spring-boot-actuator-docs/src/main/asciidoc/loggers.adoc
+5
-5
MetricFilterAutoConfigurationTests.java
...ate/autoconfigure/MetricFilterAutoConfigurationTests.java
+1
-1
DevToolsIntegrationTests.java
...amework/boot/devtools/tests/DevToolsIntegrationTests.java
+2
-2
JvmLauncher.java
.../org/springframework/boot/devtools/tests/JvmLauncher.java
+1
-1
LibraryCallback.java
...rg/springframework/boot/loader/tools/LibraryCallback.java
+1
-1
LoggingSystem.java
.../java/org/springframework/boot/logging/LoggingSystem.java
+1
-1
No files found.
spring-boot-actuator-docs/src/main/asciidoc/loggers.adoc
View file @
2a5e22fa
...
...
@@ -2,7 +2,7 @@
This endpoint allows you to view and modify the log levels for the loggers in your
application. It builds on top of the `LoggingSystem` abstraction and supports the same
logging frameworks. The logging levels are defined by the `LogLevel` enumeration and
consist
s
of the following values (although not all logging systems support the full set):
consist of the following values (although not all logging systems support the full set):
* `TRACE`
* `DEBUG`
...
...
@@ -25,7 +25,7 @@ configuration defined.
Example curl request:
include::{generated}/loggers/curl-request.adoc[]
Example HTTP request: [small]##link:../
health
[icon:external-link[role="silver"]]##
Example HTTP request: [small]##link:../
loggers
[icon:external-link[role="silver"]]##
include::{generated}/loggers/http-request.adoc[]
Example HTTP response:
...
...
@@ -37,7 +37,7 @@ include::{generated}/loggers/http-response.adoc[]
Example curl request:
include::{generated}/single-logger/curl-request.adoc[]
Example HTTP request: [small]##link:../
health
[icon:external-link[role="silver"]]##
Example HTTP request: [small]##link:../
loggers
[icon:external-link[role="silver"]]##
include::{generated}/single-logger/http-request.adoc[]
Example HTTP response:
...
...
@@ -49,12 +49,12 @@ include::{generated}/single-logger/http-response.adoc[]
Setting the `configuredLevel` of a logger requires `POSTing` a partial payload to the
resource. The `configuredLevel` property must contain a string representation of the
enumeration described above. `null` indicates that the log level should be unset,
allowing it to inherit configuration from it
'
s parent.
allowing it to inherit configuration from its parent.
Example curl request:
include::{generated}/set-logger/curl-request.adoc[]
Example HTTP request: [small]##link:../
health
[icon:external-link[role="silver"]]##
Example HTTP request: [small]##link:../
loggers
[icon:external-link[role="silver"]]##
include::{generated}/set-logger/http-request.adoc[]
Example HTTP response:
...
...
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfigurationTests.java
View file @
2a5e22fa
...
...
@@ -145,7 +145,7 @@ public class MetricFilterAutoConfigurationTests {
}
@Test
public
void
recordsHttpInteractionsWithWilcardMapping
()
throws
Exception
{
public
void
recordsHttpInteractionsWithWil
d
cardMapping
()
throws
Exception
{
AnnotationConfigApplicationContext
context
=
new
AnnotationConfigApplicationContext
(
Config
.
class
,
MetricFilterAutoConfiguration
.
class
);
Filter
filter
=
context
.
getBean
(
Filter
.
class
);
...
...
spring-boot-integration-tests/spring-boot-devtools-tests/src/test/java/org/springframework/boot/devtools/tests/DevToolsIntegrationTests.java
View file @
2a5e22fa
...
...
@@ -85,7 +85,7 @@ public class DevToolsIntegrationTests {
@Test
public
void
addARequestMappingToAnExistingController
()
throws
Exception
{
TestRestTemplate
template
=
new
TestRestTemplate
();
String
urlBase
=
"http://localhost:"
+
awaitServerPort
()
+
"/"
;
String
urlBase
=
"http://localhost:"
+
awaitServerPort
();
assertThat
(
template
.
getForObject
(
urlBase
+
"/one"
,
String
.
class
))
.
isEqualTo
(
"one"
);
assertThat
(
template
.
getForEntity
(
urlBase
+
"/two"
,
String
.
class
).
getStatusCode
())
...
...
@@ -111,7 +111,7 @@ public class DevToolsIntegrationTests {
@Test
public
void
createAController
()
throws
Exception
{
TestRestTemplate
template
=
new
TestRestTemplate
();
String
urlBase
=
"http://localhost:"
+
awaitServerPort
()
+
"/"
;
String
urlBase
=
"http://localhost:"
+
awaitServerPort
();
assertThat
(
template
.
getForObject
(
urlBase
+
"/one"
,
String
.
class
))
.
isEqualTo
(
"one"
);
assertThat
(
template
.
getForEntity
(
urlBase
+
"/two"
,
String
.
class
).
getStatusCode
())
...
...
spring-boot-integration-tests/spring-boot-devtools-tests/src/test/java/org/springframework/boot/devtools/tests/JvmLauncher.java
View file @
2a5e22fa
...
...
@@ -38,7 +38,7 @@ class JvmLauncher implements TestRule {
@Override
public
Statement
apply
(
Statement
base
,
Description
description
)
{
this
.
outputDirectory
=
new
File
(
"target/output/"
+
"/"
this
.
outputDirectory
=
new
File
(
"target/output/"
+
description
.
getMethodName
().
replaceAll
(
"[^A-Za-z]+"
,
""
));
this
.
outputDirectory
.
mkdirs
();
return
base
;
...
...
spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryCallback.java
View file @
2a5e22fa
...
...
@@ -27,7 +27,7 @@ import java.io.IOException;
public
interface
LibraryCallback
{
/**
* Callback
to
for a single library backed by a {@link File}.
* Callback for a single library backed by a {@link File}.
* @param library the library
* @throws IOException if the operation fails
*/
...
...
spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystem.java
View file @
2a5e22fa
...
...
@@ -48,7 +48,7 @@ public abstract class LoggingSystem {
public
static
final
String
NONE
=
"none"
;
/**
* The name used
to
for the root logger. LoggingSystem implementations should ensure
* The name used for the root logger. LoggingSystem implementations should ensure
* that this is the name used to represent the root logger, regardless of the
* underlying implementation.
*/
...
...
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