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
5840a691
Commit
5840a691
authored
Jun 27, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6234 from izeye:polish-20160627
* pr/6234: Polish
parents
3151df62
301574de
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
12 deletions
+13
-12
BackgroundPreinitializer.java
...ramework/boot/autoconfigure/BackgroundPreinitializer.java
+3
-3
SessionAutoConfiguration.java
.../boot/autoconfigure/session/SessionAutoConfiguration.java
+1
-1
TemplateAvailabilityProviders.java
...autoconfigure/template/TemplateAvailabilityProviders.java
+1
-1
SilentExitExceptionHandlerTests.java
...oot/devtools/restart/SilentExitExceptionHandlerTests.java
+1
-1
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+7
-6
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/BackgroundPreinitializer.java
View file @
5840a691
...
...
@@ -51,7 +51,7 @@ public class BackgroundPreinitializer
runSafely
(
new
MBeanFactoryInitializer
());
runSafely
(
new
ValidationInitializer
());
runSafely
(
new
JacksonInitializer
());
runSafely
(
new
Convers
t
ionServiceInitializer
());
runSafely
(
new
ConversionServiceInitializer
());
}
public
void
runSafely
(
Runnable
runnable
)
{
...
...
@@ -122,9 +122,9 @@ public class BackgroundPreinitializer
}
/**
* Early initializer for Spring's Convers
t
ionService.
* Early initializer for Spring's ConversionService.
*/
private
static
class
Convers
t
ionServiceInitializer
implements
Runnable
{
private
static
class
ConversionServiceInitializer
implements
Runnable
{
@Override
public
void
run
()
{
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/SessionAutoConfiguration.java
View file @
5840a691
...
...
@@ -77,7 +77,7 @@ public class SessionAutoConfiguration {
/**
* Bean used to validate that a {@link SessionRepository} exists and provide a
* meaningful if that's not the case.
* meaningful
message
if that's not the case.
*/
static
class
SessionRepositoryValidator
{
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/template/TemplateAvailabilityProviders.java
View file @
5840a691
...
...
@@ -47,7 +47,7 @@ public class TemplateAvailabilityProviders {
private
static
final
TemplateAvailabilityProvider
NONE
=
new
NoTemplateAvailabilityProvider
();
/**
*
r
esolved template views, returning already cached instances without a global lock.
*
R
esolved template views, returning already cached instances without a global lock.
*/
private
final
Map
<
String
,
TemplateAvailabilityProvider
>
resolved
=
new
ConcurrentHashMap
<
String
,
TemplateAvailabilityProvider
>(
CACHE_LIMIT
);
...
...
spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java
View file @
5840a691
...
...
@@ -46,7 +46,7 @@ public class SilentExitExceptionHandlerTests {
}
@Test
public
void
doesntInterferWithOtherExceptions
()
throws
Exception
{
public
void
doesntInterfer
e
WithOtherExceptions
()
throws
Exception
{
TestThread
testThread
=
new
TestThread
()
{
@Override
public
void
run
()
{
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
5840a691
...
...
@@ -4666,7 +4666,7 @@ automatically whenever you don't explicitly define one.
The search algorithm works up from the package that contains the test until it finds a
`@SpringBootApplication` or `@SpringBootConfiguration` annotated class. As long as you've
<<using-boot-structuring-your-code, structure your code>> in a sensible way your main
<<using-boot-structuring-your-code, structure
d
your code>> in a sensible way your main
configuration is usually found.
If you want to customize the primary configuration, you can use a nested
...
...
@@ -4981,11 +4981,12 @@ disable transaction management for a test or for the whole class as follows:
[source,java,indent=0]
----
import org.junit.*;
import org.junit.runner.*;
import org.springframework.boot.test.autoconfigure.orm.jpa.*;
import org.springframework.test.context.transaction.TestTransaction;
import org.springframework.transaction.annotation.Propagation;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@RunWith(SpringRunner.class)
@DataJpaTest
...
...
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