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
9627d0ed
Commit
9627d0ed
authored
Jul 27, 2016
by
Johnny Lim
Committed by
Andy Wilkinson
Jul 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
Closes gh-6487
parent
eb444f54
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
23 additions
and
23 deletions
+23
-23
HeapdumpMvcEndpoint.java
...mework/boot/actuate/endpoint/mvc/HeapdumpMvcEndpoint.java
+1
-1
package-info.java
...framework/boot/autoconfigure/freemarker/package-info.java
+1
-1
DeviceDelegatingViewResolverAutoConfiguration.java
...mobile/DeviceDelegatingViewResolverAutoConfiguration.java
+2
-2
DeviceDelegatingViewResolverFactory.java
...configure/mobile/DeviceDelegatingViewResolverFactory.java
+1
-1
ImportAutoConfigurationImportSelectorTests.java
...configure/ImportAutoConfigurationImportSelectorTests.java
+3
-3
RabbitPropertiesTests.java
...mework/boot/autoconfigure/amqp/RabbitPropertiesTests.java
+3
-3
DeviceDelegatingViewResolverAutoConfigurationTests.java
...e/DeviceDelegatingViewResolverAutoConfigurationTests.java
+2
-2
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+1
-1
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1
-1
README.adoc
spring-boot-samples/README.adoc
+1
-1
error.ftl
...sample-actuator-ui/src/main/resources/templates/error.ftl
+1
-1
home.ftl
...-sample-actuator-ui/src/main/resources/templates/home.ftl
+1
-1
pom.xml
spring-boot-starters/spring-boot-starter-freemarker/pom.xml
+1
-1
AbstractJsonMarshalTester.java
...ngframework/boot/test/json/AbstractJsonMarshalTester.java
+2
-2
BasicJsonTester.java
...a/org/springframework/boot/test/json/BasicJsonTester.java
+2
-2
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/HeapdumpMvcEndpoint.java
View file @
9627d0ed
...
...
@@ -56,7 +56,7 @@ import org.springframework.web.bind.annotation.ResponseStatus;
*/
@ConfigurationProperties
(
"endpoints.heapdump"
)
@HypermediaDisabled
public
class
HeapdumpMvcEndpoint
extends
AbstractMvcEndpoint
implements
MvcEndpoint
{
public
class
HeapdumpMvcEndpoint
extends
AbstractMvcEndpoint
{
private
final
long
timeout
;
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/freemarker/package-info.java
View file @
9627d0ed
...
...
@@ -15,6 +15,6 @@
*/
/**
* Auto-configuration for Free
m
arker.
* Auto-configuration for Free
M
arker.
*/
package
org
.
springframework
.
boot
.
autoconfigure
.
freemarker
;
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mobile/DeviceDelegatingViewResolverAutoConfiguration.java
View file @
9627d0ed
...
...
@@ -71,11 +71,11 @@ public class DeviceDelegatingViewResolverAutoConfiguration {
@Configuration
@ConditionalOnClass
(
FreeMarkerViewResolver
.
class
)
protected
static
class
DeviceDelegatingFree
m
arkerViewResolverConfiguration
{
protected
static
class
DeviceDelegatingFree
M
arkerViewResolverConfiguration
{
@Bean
@ConditionalOnBean
(
FreeMarkerViewResolver
.
class
)
public
LiteDeviceDelegatingViewResolver
deviceDelegatingFree
m
arkerViewResolver
(
public
LiteDeviceDelegatingViewResolver
deviceDelegatingFree
M
arkerViewResolver
(
DeviceDelegatingViewResolverFactory
factory
,
FreeMarkerViewResolver
viewResolver
)
{
return
factory
.
createViewResolver
(
viewResolver
);
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mobile/DeviceDelegatingViewResolverFactory.java
View file @
9627d0ed
...
...
@@ -69,7 +69,7 @@ public class DeviceDelegatingViewResolverFactory {
public
LiteDeviceDelegatingViewResolver
createViewResolver
(
ViewResolver
delegate
)
{
if
(!(
delegate
instanceof
Ordered
))
{
throw
new
IllegalStateException
(
"ViewResolver "
+
delegate
+
"should implement "
+
Ordered
.
class
.
getName
());
+
"
should implement "
+
Ordered
.
class
.
getName
());
}
int
delegateOrder
=
((
Ordered
)
delegate
).
getOrder
();
return
createViewResolver
(
delegate
,
adjustOrder
(
delegateOrder
));
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ImportAutoConfigurationImportSelectorTests.java
View file @
9627d0ed
...
...
@@ -63,7 +63,7 @@ public class ImportAutoConfigurationImportSelectorTests {
@Test
public
void
importsAreSelected
()
throws
Exception
{
AnnotationMetadata
annotationMetadata
=
new
SimpleMetadataReaderFactory
()
.
getMetadataReader
(
ImportFree
m
arker
.
class
.
getName
())
.
getMetadataReader
(
ImportFree
M
arker
.
class
.
getName
())
.
getAnnotationMetadata
();
String
[]
imports
=
this
.
importSelector
.
selectImports
(
annotationMetadata
);
assertThat
(
imports
).
containsExactly
(
FreeMarkerAutoConfiguration
.
class
.
getName
());
...
...
@@ -72,7 +72,7 @@ public class ImportAutoConfigurationImportSelectorTests {
@Test
public
void
propertyExclusionsAreNotApplied
()
throws
Exception
{
AnnotationMetadata
annotationMetadata
=
new
SimpleMetadataReaderFactory
()
.
getMetadataReader
(
ImportFree
m
arker
.
class
.
getName
())
.
getMetadataReader
(
ImportFree
M
arker
.
class
.
getName
())
.
getAnnotationMetadata
();
this
.
importSelector
.
selectImports
(
annotationMetadata
);
verifyZeroInteractions
(
this
.
environment
);
...
...
@@ -98,7 +98,7 @@ public class ImportAutoConfigurationImportSelectorTests {
}
@ImportAutoConfiguration
(
FreeMarkerAutoConfiguration
.
class
)
static
class
ImportFree
m
arker
{
static
class
ImportFree
M
arker
{
}
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitPropertiesTests.java
View file @
9627d0ed
...
...
@@ -205,15 +205,15 @@ public class RabbitPropertiesTests {
@Test
public
void
customAddresses
()
{
this
.
properties
.
setAddresses
(
"user:secre
c
t@rabbit1.example.com:1234/alpha,rabbit2.example.com"
);
"user:secret@rabbit1.example.com:1234/alpha,rabbit2.example.com"
);
assertThat
(
this
.
properties
.
getAddresses
()).
isEqualTo
(
"user:secre
c
t@rabbit1.example.com:1234/alpha,rabbit2.example.com"
);
"user:secret@rabbit1.example.com:1234/alpha,rabbit2.example.com"
);
}
@Test
public
void
determineAddressesReturnsAddressesWithJustHostAndPort
()
{
this
.
properties
.
setAddresses
(
"user:secre
c
t@rabbit1.example.com:1234/alpha,rabbit2.example.com"
);
"user:secret@rabbit1.example.com:1234/alpha,rabbit2.example.com"
);
assertThat
(
this
.
properties
.
determineAddresses
())
.
isEqualTo
(
"rabbit1.example.com:1234,rabbit2.example.com:5672"
);
}
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mobile/DeviceDelegatingViewResolverAutoConfigurationTests.java
View file @
9627d0ed
...
...
@@ -88,14 +88,14 @@ public class DeviceDelegatingViewResolverAutoConfigurationTests {
}
@Test
public
void
deviceDelegatingFree
m
arkerViewResolver
()
throws
Exception
{
public
void
deviceDelegatingFree
M
arkerViewResolver
()
throws
Exception
{
load
(
Collections
.<
Class
<?>>
singletonList
(
FreeMarkerAutoConfiguration
.
class
),
"spring.mobile.devicedelegatingviewresolver.enabled:true"
);
assertThat
(
this
.
context
.
getBeansOfType
(
LiteDeviceDelegatingViewResolver
.
class
))
.
hasSize
(
2
);
assertLiteDeviceDelegatingViewResolver
(
this
.
context
.
getBean
(
FreeMarkerViewResolver
.
class
),
"deviceDelegatingFree
m
arkerViewResolver"
);
"deviceDelegatingFree
M
arkerViewResolver"
);
}
@Test
...
...
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
9627d0ed
...
...
@@ -551,7 +551,7 @@ content into your application; rather pick only the properties that you need.
spring.data.cassandra.reconnection-policy= # Reconnection policy class.
spring.data.cassandra.retry-policy= # Class name of the retry policy.
spring.data.cassandra.serial-consistency-level= # Queries serial consistency level.
spring.data.cassandra.schema-action= # Schema action to take at startup.
spring.data.cassandra.schema-action=
none
# Schema action to take at startup.
spring.data.cassandra.ssl=false # Enable SSL support.
spring.data.cassandra.username= # Login user of the server.
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
9627d0ed
...
...
@@ -746,7 +746,7 @@ only contain one entry (with name "`my another name`" and description `null`). T
configuration _will not_ add a second `MyPojo` instance to the list, and it won't merge
the items.
When a collection is specified in multiple
s
profiles, the one with highest priority is
When a collection is specified in multiple profiles, the one with highest priority is
used (and only that one):
[source,yaml,indent=0]
...
...
spring-boot-samples/README.adoc
View file @
9627d0ed
...
...
@@ -229,7 +229,7 @@ The following sample applications are provided:
| Web application packaged as a war file
| link:spring-boot-sample-web-freemarker[spring-boot-sample-web-freemarker]
| Web application that uses Free
m
arker templates
| Web application that uses Free
M
arker templates
| link:spring-boot-sample-web-groovy-templates[spring-boot-sample-web-groovy-templates]
| Web application that uses Groovy templates
...
...
spring-boot-samples/spring-boot-sample-actuator-ui/src/main/resources/templates/error.ftl
View file @
9627d0ed
...
...
@@ -11,7 +11,7 @@
<div
class=
"container"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<a
class=
"brand"
href=
"http://
www.thymeleaf.org"
>
Freem
arker -
<a
class=
"brand"
href=
"http://
freemarker.org/"
>
FreeM
arker -
Plain
</a>
<ul
class=
"nav"
>
<li><a
href=
"${home}"
>
Home
</a></li>
...
...
spring-boot-samples/spring-boot-sample-actuator-ui/src/main/resources/templates/home.ftl
View file @
9627d0ed
...
...
@@ -11,7 +11,7 @@
<div
class=
"container"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<a
class=
"brand"
href=
"http://
www.thymeleaf.org"
>
Freem
arker -
<a
class=
"brand"
href=
"http://
freemarker.org/"
>
FreeM
arker -
Plain
</a>
<ul
class=
"nav"
>
<li><a
href=
"${home}"
>
Home
</a></li>
...
...
spring-boot-starters/spring-boot-starter-freemarker/pom.xml
View file @
9627d0ed
...
...
@@ -8,7 +8,7 @@
</parent>
<artifactId>
spring-boot-starter-freemarker
</artifactId>
<name>
Spring Boot FreeMarker Starter
</name>
<description>
Starter for building MVC web applications using Free
m
arker views
</description>
<description>
Starter for building MVC web applications using Free
M
arker views
</description>
<url>
http://projects.spring.io/spring-boot/
</url>
<organization>
<name>
Pivotal Software, Inc.
</name>
...
...
spring-boot-test/src/main/java/org/springframework/boot/test/json/AbstractJsonMarshalTester.java
View file @
9627d0ed
...
...
@@ -304,8 +304,8 @@ public abstract class AbstractJsonMarshalTester<T> {
private
void
verify
()
{
Assert
.
state
(
this
.
resourceLoadClass
!=
null
,
"Unitialized JsonMarshalTester (ResourceLoadClass is null)"
);
Assert
.
state
(
this
.
type
!=
null
,
"Unitialized JsonMarshalTester (Type is null)"
);
"Uni
ni
tialized JsonMarshalTester (ResourceLoadClass is null)"
);
Assert
.
state
(
this
.
type
!=
null
,
"Uni
ni
tialized JsonMarshalTester (Type is null)"
);
}
/**
...
...
spring-boot-test/src/main/java/org/springframework/boot/test/json/BasicJsonTester.java
View file @
9627d0ed
...
...
@@ -49,7 +49,7 @@ public class BasicJsonTester {
private
JsonLoader
loader
;
/**
* Create a new uninialized {@link BasicJsonTester} instance.
* Create a new unini
ti
alized {@link BasicJsonTester} instance.
*/
protected
BasicJsonTester
()
{
}
...
...
@@ -139,7 +139,7 @@ public class BasicJsonTester {
}
private
void
verify
()
{
Assert
.
state
(
this
.
loader
!=
null
,
"Unitialized BasicJsonTester"
);
Assert
.
state
(
this
.
loader
!=
null
,
"Uni
ni
tialized BasicJsonTester"
);
}
private
JsonContent
<
Object
>
getJsonContent
(
String
json
)
{
...
...
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