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
5c06bd5a
Commit
5c06bd5a
authored
Aug 03, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
09b41a33
1f37da5b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
BackgroundPreinitializer.java
...ramework/boot/autoconfigure/BackgroundPreinitializer.java
+2
-2
deployment.adoc
spring-boot-docs/src/main/asciidoc/deployment.adoc
+1
-1
using-spring-boot.adoc
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+1
-1
SystemEnvironmentPropertyMapper.java
...xt/properties/source/SystemEnvironmentPropertyMapper.java
+1
-1
ConcurrentReferenceCachingMetadataReaderFactory.java
...ding/ConcurrentReferenceCachingMetadataReaderFactory.java
+1
-1
UnboundElementsSourceFilterTests.java
...t/properties/source/UnboundElementsSourceFilterTests.java
+2
-2
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/BackgroundPreinitializer.java
View file @
5c06bd5a
...
...
@@ -46,14 +46,14 @@ import org.springframework.http.converter.support.AllEncompassingFormHttpMessage
public
class
BackgroundPreinitializer
implements
ApplicationListener
<
SpringApplicationEvent
>
{
private
static
final
AtomicBoolean
preinitalizationStarted
=
new
AtomicBoolean
(
false
);
private
static
final
AtomicBoolean
preinit
i
alizationStarted
=
new
AtomicBoolean
(
false
);
private
static
final
CountDownLatch
preinitializationComplete
=
new
CountDownLatch
(
1
);
@Override
public
void
onApplicationEvent
(
SpringApplicationEvent
event
)
{
if
(
event
instanceof
ApplicationEnvironmentPreparedEvent
)
{
if
(
preinitalizationStarted
.
compareAndSet
(
false
,
true
))
{
if
(
preinit
i
alizationStarted
.
compareAndSet
(
false
,
true
))
{
performPreinitialization
();
}
}
...
...
spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
5c06bd5a
...
...
@@ -444,7 +444,7 @@ then use the https://cloud.google.com/sdk/downloads[Google Cloud SDK] to push yo
Spring Boot app into that slot from the command line or CI build.
App Engine needs you to create an `app.yaml` file to describe the resources your app
requires. Normally you put this in `src/min/appengine`, and it looks something like this:
requires. Normally you put this in `src/m
a
in/appengine`, and it looks something like this:
[source,yaml,indent=0]
----
...
...
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
5c06bd5a
...
...
@@ -804,7 +804,7 @@ rewriting classes as they are loaded to make them more amenable to reloading.
==== Excluding resources
Certain resources don't necessarily need to trigger a restart when they are changed. For
example, Thymeleaf templates can just be edited in-place. By default changing resources
in `/META-INF/maven`, `/META-INF/resources`
,`/resources` ,`/static` ,
`/public` or
in `/META-INF/maven`, `/META-INF/resources`
, `/resources`, `/static`,
`/public` or
`/templates` will not trigger a restart but will trigger a
<<using-boot-devtools-livereload, live reload>>. If you want to customize these exclusions
you can use the `spring.devtools.restart.exclude` property. For example, to exclude only
...
...
spring-boot/src/main/java/org/springframework/boot/context/properties/source/SystemEnvironmentPropertyMapper.java
View file @
5c06bd5a
...
...
@@ -35,7 +35,7 @@ import org.springframework.util.StringUtils;
* <p>
* List shortcuts (names that end with double underscore) are also supported by this
* mapper. For example, "{@code MY_LIST__=a,b,c}" is mapped to "{@code my.list[0]=a}",
* "{@code my.list[1]=b}"
,
"{@code my.list[2]=c}".
* "{@code my.list[1]=b}"
,
"{@code my.list[2]=c}".
*
* @author Phillip Webb
* @author Madhura Bhave
...
...
spring-boot/src/main/java/org/springframework/boot/type/classreading/ConcurrentReferenceCachingMetadataReaderFactory.java
View file @
5c06bd5a
...
...
@@ -29,7 +29,7 @@ import org.springframework.util.ConcurrentReferenceHashMap;
/**
* Caching implementation of the {@link MetadataReaderFactory} interface backed by a
* {@link ConcurrentReferenceHashMap}
, caching {@link MetadataReader} per Spring
* {@link ConcurrentReferenceHashMap}, caching {@link MetadataReader} per Spring
* {@link Resource} handle (i.e. per ".class" file).
*
* @author Phillip Webb
...
...
spring-boot/src/test/java/org/springframework/boot/context/properties/source/UnboundElementsSourceFilterTests.java
View file @
5c06bd5a
...
...
@@ -44,7 +44,7 @@ public class UnboundElementsSourceFilterTests {
}
@Test
public
void
filterWhenSourceIsSystem
Environment
PropertySourceShouldReturnFalse
()
public
void
filterWhenSourceIsSystem
Properties
PropertySourceShouldReturnFalse
()
throws
Exception
{
MockPropertySource
propertySource
=
new
MockPropertySource
(
StandardEnvironment
.
SYSTEM_PROPERTIES_PROPERTY_SOURCE_NAME
);
...
...
@@ -53,7 +53,7 @@ public class UnboundElementsSourceFilterTests {
}
@Test
public
void
filterWhenSourceIsSystem
PropertiesPropertySourceShouldReturnTru
e
()
public
void
filterWhenSourceIsSystem
EnvironmentPropertySourceShouldReturnFals
e
()
throws
Exception
{
MockPropertySource
propertySource
=
new
MockPropertySource
(
StandardEnvironment
.
SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME
);
...
...
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