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
0a024797
Commit
0a024797
authored
May 04, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting
parent
1314aaa3
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
59 additions
and
28 deletions
+59
-28
ConfigurationPropertiesReportEndpoint.java
...tuate/endpoint/ConfigurationPropertiesReportEndpoint.java
+2
-0
DataSourcePublicMetrics.java
...mework/boot/actuate/endpoint/DataSourcePublicMetrics.java
+2
-2
FlywayEndpoint.java
...springframework/boot/actuate/endpoint/FlywayEndpoint.java
+1
-0
MvcEndpointSecurityInterceptor.java
.../actuate/endpoint/mvc/MvcEndpointSecurityInterceptor.java
+1
-0
EndpointWebMvcManagementContextConfigurationTests.java
...re/EndpointWebMvcManagementContextConfigurationTests.java
+3
-0
HealthMvcEndpointTests.java
...ork/boot/actuate/endpoint/mvc/HealthMvcEndpointTests.java
+1
-0
CacheAutoConfiguration.java
...work/boot/autoconfigure/cache/CacheAutoConfiguration.java
+1
-2
CassandraDataAutoConfiguration.java
...figure/data/cassandra/CassandraDataAutoConfiguration.java
+2
-2
IntegrationAutoConfiguration.java
...toconfigure/integration/IntegrationAutoConfiguration.java
+1
-0
IntegrationAutoConfigurationScanRegistrar.java
...ntegration/IntegrationAutoConfigurationScanRegistrar.java
+1
-0
OAuth2RestOperationsConfiguration.java
...rity/oauth2/client/OAuth2RestOperationsConfiguration.java
+3
-0
ResourceServerProperties.java
...re/security/oauth2/resource/ResourceServerProperties.java
+1
-0
ResourceServerTokenServicesConfiguration.java
...h2/resource/ResourceServerTokenServicesConfiguration.java
+2
-0
TransactionAutoConfiguration.java
...toconfigure/transaction/TransactionAutoConfiguration.java
+1
-0
CacheAutoConfigurationTests.java
...boot/autoconfigure/cache/CacheAutoConfigurationTests.java
+6
-6
CouchbaseDataAutoConfigurationTests.java
...e/data/couchbase/CouchbaseDataAutoConfigurationTests.java
+1
-0
TransactionAutoConfigurationTests.java
...figure/transaction/TransactionAutoConfigurationTests.java
+1
-0
ValidationAutoConfigurationTests.java
...onfigure/validation/ValidationAutoConfigurationTests.java
+3
-0
ArchiveCommand.java
...ingframework/boot/cli/command/archive/ArchiveCommand.java
+4
-3
ProjectGenerationRequest.java
...ework/boot/cli/command/init/ProjectGenerationRequest.java
+2
-1
JestClientCustomizationExample.java
...ot/elasticsearch/jest/JestClientCustomizationExample.java
+1
-0
SampleWebClientTests.java
...springframework/boot/web/client/SampleWebClientTests.java
+1
-3
ImportsContextCustomizer.java
...framework/boot/test/context/ImportsContextCustomizer.java
+1
-0
TestMethodConfiguration.java
.../boot/autoconfigureprocessor/TestMethodConfiguration.java
+1
-0
TestOrderedClassConfiguration.java
...autoconfigureprocessor/TestOrderedClassConfiguration.java
+1
-0
ConfigurationMetadataAnnotationProcessorTests.java
...cessor/ConfigurationMetadataAnnotationProcessorTests.java
+2
-2
Layouts.java
...n/java/org/springframework/boot/loader/tools/Layouts.java
+1
-0
JarFile.java
...ain/java/org/springframework/boot/loader/jar/JarFile.java
+1
-1
PropertiesConfigurationFactory.java
...ngframework/boot/bind/PropertiesConfigurationFactory.java
+2
-2
AnsiOutputApplicationListener.java
...rk/boot/context/config/AnsiOutputApplicationListener.java
+2
-2
AbstractEmbeddedServletContainerFactory.java
...ext/embedded/AbstractEmbeddedServletContainerFactory.java
+0
-1
JettyEmbeddedServletContainerFactory.java
.../embedded/jetty/JettyEmbeddedServletContainerFactory.java
+0
-1
UndertowEmbeddedServletContainerFactory.java
...ded/undertow/UndertowEmbeddedServletContainerFactory.java
+2
-0
Jetty8JettyEmbeddedServletContainerFactoryTests.java
...etty/Jetty8JettyEmbeddedServletContainerFactoryTests.java
+1
-0
ConfigurationPropertiesBindingPostProcessorTests.java
...ies/ConfigurationPropertiesBindingPostProcessorTests.java
+2
-0
JsonComponentModuleTests.java
...pringframework/boot/jackson/JsonComponentModuleTests.java
+2
-0
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java
View file @
0a024797
...
...
@@ -344,6 +344,7 @@ public class ConfigurationPropertiesReportEndpoint
}
super
.
serializeAsField
(
pojo
,
jgen
,
provider
,
writer
);
}
}
/**
...
...
@@ -395,4 +396,5 @@ public class ConfigurationPropertiesReportEndpoint
}
}
}
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DataSourcePublicMetrics.java
View file @
0a024797
...
...
@@ -104,8 +104,8 @@ public class DataSourcePublicMetrics implements PublicMetrics {
if
(
primary
)
{
return
"datasource.primary"
;
}
if
(
name
.
length
()
>
DATASOURCE_SUFFIX
.
length
()
&&
name
.
toLowerCase
(
Locale
.
ENGLISH
)
.
endsWith
(
DATASOURCE_SUFFIX
.
toLowerCase
()))
{
if
(
name
.
length
()
>
DATASOURCE_SUFFIX
.
length
()
&&
name
.
toLowerCase
(
Locale
.
ENGLISH
)
.
endsWith
(
DATASOURCE_SUFFIX
.
toLowerCase
()))
{
name
=
name
.
substring
(
0
,
name
.
length
()
-
DATASOURCE_SUFFIX
.
length
());
}
return
"datasource."
+
name
;
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/FlywayEndpoint.java
View file @
0a024797
...
...
@@ -73,6 +73,7 @@ public class FlywayEndpoint extends AbstractEndpoint<List<FlywayReport>> {
public
static
class
FlywayReport
{
private
final
String
name
;
private
final
List
<
FlywayMigration
>
migrations
;
public
FlywayReport
(
String
name
,
List
<
FlywayMigration
>
migrations
)
{
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpointSecurityInterceptor.java
View file @
0a024797
...
...
@@ -142,6 +142,7 @@ public class MvcEndpointSecurityInterceptor extends HandlerInterceptorAdapter {
}
return
false
;
}
}
}
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcManagementContextConfigurationTests.java
View file @
0a024797
...
...
@@ -325,6 +325,7 @@ public class EndpointWebMvcManagementContextConfigurationTests {
TestMetricsMvcEndpoint
(
MetricsEndpoint
delegate
)
{
super
(
delegate
);
}
}
static
class
TestAuditEventsMvcEndpoint
extends
AuditEventsMvcEndpoint
{
...
...
@@ -332,6 +333,7 @@ public class EndpointWebMvcManagementContextConfigurationTests {
TestAuditEventsMvcEndpoint
(
AuditEventRepository
auditEventRepository
)
{
super
(
auditEventRepository
);
}
}
static
class
TestShutdownMvcEndpoint
extends
ShutdownMvcEndpoint
{
...
...
@@ -339,6 +341,7 @@ public class EndpointWebMvcManagementContextConfigurationTests {
TestShutdownMvcEndpoint
(
ShutdownEndpoint
delegate
)
{
super
(
delegate
);
}
}
}
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/mvc/HealthMvcEndpointTests.java
View file @
0a024797
...
...
@@ -277,4 +277,5 @@ public class HealthMvcEndpointTests {
Health
health
=
((
ResponseEntity
<
Health
>)
result
).
getBody
();
assertThat
(
health
.
getStatus
()
==
Status
.
DOWN
).
isTrue
();
}
}
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfiguration.java
View file @
0a024797
...
...
@@ -75,8 +75,7 @@ public class CacheAutoConfiguration {
@Bean
public
CacheManagerValidator
cacheAutoConfigurationValidator
(
CacheProperties
cacheProperties
,
ObjectProvider
<
CacheManager
>
cacheManager
)
{
CacheProperties
cacheProperties
,
ObjectProvider
<
CacheManager
>
cacheManager
)
{
return
new
CacheManagerValidator
(
cacheProperties
,
cacheManager
);
}
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraDataAutoConfiguration.java
View file @
0a024797
...
...
@@ -115,8 +115,8 @@ public class CassandraDataAutoConfiguration {
session
.
setKeyspaceName
(
this
.
properties
.
getKeyspaceName
());
String
name
=
this
.
propertyResolver
.
getProperty
(
"schemaAction"
,
SchemaAction
.
NONE
.
name
());
SchemaAction
schemaAction
=
SchemaAction
.
valueOf
(
name
.
toUpperCase
(
Locale
.
ENGLISH
));
SchemaAction
schemaAction
=
SchemaAction
.
valueOf
(
name
.
toUpperCase
(
Locale
.
ENGLISH
));
session
.
setSchemaAction
(
schemaAction
);
return
session
;
}
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfiguration.java
View file @
0a024797
...
...
@@ -120,6 +120,7 @@ public class IntegrationAutoConfiguration {
@Configuration
@EnableIntegrationManagement
(
defaultCountsEnabled
=
"true"
,
defaultStatsEnabled
=
"true"
)
protected
static
class
EnableIntegrationManagementConfiguration
{
}
}
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationScanRegistrar.java
View file @
0a024797
...
...
@@ -77,6 +77,7 @@ class IntegrationAutoConfigurationScanRegistrar extends IntegrationComponentScan
}
return
attributes
;
}
}
@IntegrationComponentScan
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2RestOperationsConfiguration.java
View file @
0a024797
...
...
@@ -185,6 +185,7 @@ public class OAuth2RestOperationsConfiguration {
@Conditional
(
ClientCredentialsCondition
.
class
)
static
class
ClientCredentialsActivated
{
}
}
...
...
@@ -200,10 +201,12 @@ public class OAuth2RestOperationsConfiguration {
@ConditionalOnProperty
(
prefix
=
"security.oauth2.client"
,
name
=
"grant-type"
,
havingValue
=
"client_credentials"
,
matchIfMissing
=
false
)
static
class
ClientCredentialsConfigured
{
}
@ConditionalOnNotWebApplication
static
class
NoWebApplication
{
}
}
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/ResourceServerProperties.java
View file @
0a024797
...
...
@@ -292,6 +292,7 @@ public class ResourceServerProperties implements Validator, BeanFactoryAware {
public
void
setKeySetUri
(
String
keySetUri
)
{
this
.
keySetUri
=
keySetUri
;
}
}
}
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/ResourceServerTokenServicesConfiguration.java
View file @
0a024797
...
...
@@ -234,6 +234,7 @@ public class ResourceServerTokenServicesConfiguration {
public
TokenStore
jwkTokenStore
()
{
return
new
JwkTokenStore
(
this
.
resource
.
getJwk
().
getKeySetUri
());
}
}
@Configuration
...
...
@@ -415,6 +416,7 @@ public class ResourceServerTokenServicesConfiguration {
static
class
HasJwkConfiguration
{
}
}
static
class
AcceptJsonRequestInterceptor
implements
ClientHttpRequestInterceptor
{
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionAutoConfiguration.java
View file @
0a024797
...
...
@@ -75,6 +75,7 @@ public class TransactionAutoConfiguration {
public
TransactionTemplate
transactionTemplate
()
{
return
new
TransactionTemplate
(
this
.
transactionManager
);
}
}
@Configuration
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java
View file @
0a024797
...
...
@@ -776,8 +776,8 @@ public class CacheAutoConfigurationTests {
public
void
autoConfiguredCacheManagerCanBeSwapped
()
{
load
(
CacheManagerPostProcessorConfiguration
.
class
,
"spring.cache.type=caffeine"
);
validateCacheManager
(
SimpleCacheManager
.
class
);
CacheManagerPostProcessor
postProcessor
=
this
.
context
.
getBean
(
CacheManagerPostProcessor
.
class
);
CacheManagerPostProcessor
postProcessor
=
this
.
context
.
getBean
(
CacheManagerPostProcessor
.
class
);
assertThat
(
postProcessor
.
cacheManagers
).
hasSize
(
1
);
assertThat
(
postProcessor
.
cacheManagers
.
get
(
0
))
.
isInstanceOf
(
CaffeineCacheManager
.
class
);
...
...
@@ -1193,14 +1193,14 @@ public class CacheAutoConfigurationTests {
private
final
List
<
CacheManager
>
cacheManagers
=
new
ArrayList
<
CacheManager
>();
@Override
public
Object
postProcessBeforeInitialization
(
Object
bean
,
String
beanName
)
throws
BeansException
{
public
Object
postProcessBeforeInitialization
(
Object
bean
,
String
beanName
)
throws
BeansException
{
return
bean
;
}
@Override
public
Object
postProcessAfterInitialization
(
Object
bean
,
String
beanName
)
throws
BeansException
{
public
Object
postProcessAfterInitialization
(
Object
bean
,
String
beanName
)
throws
BeansException
{
if
(
bean
instanceof
CacheManager
)
{
this
.
cacheManagers
.
add
((
CacheManager
)
bean
);
return
new
SimpleCacheManager
();
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/couchbase/CouchbaseDataAutoConfigurationTests.java
View file @
0a024797
...
...
@@ -185,6 +185,7 @@ public class CouchbaseDataAutoConfigurationTests {
public
Boolean
convert
(
CouchbaseProperties
value
)
{
return
true
;
}
}
}
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/transaction/TransactionAutoConfigurationTests.java
View file @
0a024797
...
...
@@ -203,6 +203,7 @@ public class TransactionAutoConfigurationTests {
public
AnotherServiceImpl
anotherService
()
{
return
new
AnotherServiceImpl
();
}
}
@Configuration
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/validation/ValidationAutoConfigurationTests.java
View file @
0a024797
...
...
@@ -304,6 +304,7 @@ public class ValidationAutoConfigurationTests {
interface
AnotherSampleService
{
void
doSomething
(
@Min
(
42
)
Integer
counter
);
}
@Validated
...
...
@@ -313,6 +314,7 @@ public class ValidationAutoConfigurationTests {
public
void
doSomething
(
Integer
counter
)
{
}
}
@Configuration
...
...
@@ -382,6 +384,7 @@ public class ValidationAutoConfigurationTests {
}
}
}
}
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/archive/ArchiveCommand.java
View file @
0a024797
...
...
@@ -131,9 +131,10 @@ abstract class ArchiveCommand extends OptionParsingCommand {
File
output
=
new
File
((
String
)
nonOptionArguments
.
remove
(
0
));
Assert
.
isTrue
(
output
.
getName
().
toLowerCase
(
Locale
.
ENGLISH
).
endsWith
(
"."
+
this
.
type
),
"The output '"
+
output
+
"' is not a "
+
this
.
type
.
toUpperCase
(
Locale
.
ENGLISH
)
+
" file."
);
output
.
getName
().
toLowerCase
(
Locale
.
ENGLISH
)
.
endsWith
(
"."
+
this
.
type
),
"The output '"
+
output
+
"' is not a "
+
this
.
type
.
toUpperCase
(
Locale
.
ENGLISH
)
+
" file."
);
deleteIfExists
(
output
);
GroovyCompiler
compiler
=
createCompiler
(
options
);
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationRequest.java
View file @
0a024797
...
...
@@ -360,7 +360,8 @@ class ProjectGenerationRequest {
return
builder
.
build
();
}
catch
(
URISyntaxException
ex
)
{
throw
new
ReportableException
(
"Invalid service URL ("
+
ex
.
getMessage
()
+
")"
);
throw
new
ReportableException
(
"Invalid service URL ("
+
ex
.
getMessage
()
+
")"
);
}
}
...
...
spring-boot-docs/src/main/java/org/springframework/boot/elasticsearch/jest/JestClientCustomizationExample.java
View file @
0a024797
...
...
@@ -42,4 +42,5 @@ public class JestClientCustomizationExample {
}
// end::customizer[]
}
spring-boot-docs/src/test/java/org/springframework/boot/web/client/SampleWebClientTests.java
View file @
0a024797
...
...
@@ -55,9 +55,7 @@ public class SampleWebClientTests {
@Bean
public
RestTemplateBuilder
restTemplateBuilder
()
{
return
new
RestTemplateBuilder
()
.
setConnectTimeout
(
1000
)
.
setReadTimeout
(
1000
);
return
new
RestTemplateBuilder
().
setConnectTimeout
(
1000
).
setReadTimeout
(
1000
);
}
}
...
...
spring-boot-test/src/main/java/org/springframework/boot/test/context/ImportsContextCustomizer.java
View file @
0a024797
...
...
@@ -354,6 +354,7 @@ class ImportsContextCustomizer implements ContextCustomizer {
public
String
toString
()
{
return
this
.
key
.
toString
();
}
}
/**
...
...
spring-boot-tools/spring-boot-autoconfigure-processor/src/test/java/org/springframework/boot/autoconfigureprocessor/TestMethodConfiguration.java
View file @
0a024797
...
...
@@ -30,4 +30,5 @@ public class TestMethodConfiguration {
public
Object
method
()
{
return
null
;
}
}
spring-boot-tools/spring-boot-autoconfigure-processor/src/test/java/org/springframework/boot/autoconfigureprocessor/TestOrderedClassConfiguration.java
View file @
0a024797
...
...
@@ -29,4 +29,5 @@ import java.io.OutputStream;
@TestConditionalOnClass
(
name
=
"java.io.InputStream"
,
value
=
OutputStream
.
class
)
@TestAutoConfigureOrder
(
123
)
public
class
TestOrderedClassConfiguration
{
}
spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java
View file @
0a024797
...
...
@@ -549,8 +549,8 @@ public class ConfigurationMetadataAnnotationProcessorTests {
"java.lang.String"
,
null
,
null
,
null
,
null
,
null
);
writeAdditionalMetadata
(
property
);
ConfigurationMetadata
metadata
=
compile
(
SimpleProperties
.
class
);
assertThat
(
metadata
)
.
has
(
Metadata
.
withGroup
(
"simple"
)
.
fromSource
(
SimpleProperties
.
class
));
assertThat
(
metadata
)
.
has
(
Metadata
.
withGroup
(
"simple"
).
fromSource
(
SimpleProperties
.
class
));
assertThat
(
metadata
).
has
(
Metadata
.
withProperty
(
"simple"
,
String
.
class
));
}
...
...
spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java
View file @
0a024797
...
...
@@ -160,6 +160,7 @@ public final class Layouts {
/**
* Module layout (designed to be used as a "plug-in").
*
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
*/
@Deprecated
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java
View file @
0a024797
...
...
@@ -108,7 +108,7 @@ public class JarFile extends java.util.jar.JarFile {
private
JarFile
(
RandomAccessDataFile
rootFile
,
String
pathFromRoot
,
RandomAccessData
data
,
JarEntryFilter
filter
,
JarFileType
type
)
throws
IOException
{
throws
IOException
{
super
(
rootFile
.
getFile
());
this
.
rootFile
=
rootFile
;
this
.
pathFromRoot
=
pathFromRoot
;
...
...
spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java
View file @
0a024797
...
...
@@ -54,8 +54,8 @@ import org.springframework.validation.Validator;
* @param <T> the target type
* @author Dave Syer
*/
public
class
PropertiesConfigurationFactory
<
T
>
implements
FactoryBean
<
T
>,
ApplicationContextAware
,
MessageSourceAware
,
InitializingBean
{
public
class
PropertiesConfigurationFactory
<
T
>
implements
FactoryBean
<
T
>,
ApplicationContextAware
,
MessageSourceAware
,
InitializingBean
{
private
static
final
char
[]
EXACT_DELIMITERS
=
{
'_'
,
'.'
,
'['
};
...
...
spring-boot/src/main/java/org/springframework/boot/context/config/AnsiOutputApplicationListener.java
View file @
0a024797
...
...
@@ -42,8 +42,8 @@ public class AnsiOutputApplicationListener
event
.
getEnvironment
(),
"spring.output.ansi."
);
if
(
resolver
.
containsProperty
(
"enabled"
))
{
String
enabled
=
resolver
.
getProperty
(
"enabled"
);
AnsiOutput
.
setEnabled
(
Enum
.
valueOf
(
Enabled
.
class
,
enabled
.
toUpperCase
(
Locale
.
ENGLISH
)));
AnsiOutput
.
setEnabled
(
Enum
.
valueOf
(
Enabled
.
class
,
enabled
.
toUpperCase
(
Locale
.
ENGLISH
)));
}
if
(
resolver
.
containsProperty
(
"console-available"
))
{
...
...
spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactory.java
View file @
0a024797
...
...
@@ -130,7 +130,6 @@ public abstract class AbstractEmbeddedServletContainerFactory
/**
* Converts the given {@code url} into a decoded file path.
*
* @param url the url to convert
* @return the file path
* @deprecated Since 1.5.13 in favor of {@link File#File(java.net.URI)}
...
...
spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java
View file @
0a024797
...
...
@@ -102,7 +102,6 @@ import org.springframework.util.StringUtils;
* @author Venil Noronha
* @author Henri Kerola
* @author Henrich Krämer
*
* @see #setPort(int)
* @see #setConfigurations(Collection)
* @see JettyEmbeddedServletContainer
...
...
spring-boot/src/main/java/org/springframework/boot/context/embedded/undertow/UndertowEmbeddedServletContainerFactory.java
View file @
0a024797
...
...
@@ -701,6 +701,7 @@ public class UndertowEmbeddedServletContainerFactory
return
null
;
}
}
}
/**
...
...
@@ -722,6 +723,7 @@ public class UndertowEmbeddedServletContainerFactory
initializer
.
onStartup
(
servletContext
);
}
}
}
/**
...
...
spring-boot/src/test/java/org/springframework/boot/context/embedded/jetty/Jetty8JettyEmbeddedServletContainerFactoryTests.java
View file @
0a024797
...
...
@@ -112,6 +112,7 @@ public class Jetty8JettyEmbeddedServletContainerFactoryTests {
resp
.
getWriter
().
print
(
"An error occurred"
);
resp
.
flushBuffer
();
}
}
}
spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorTests.java
View file @
0a024797
...
...
@@ -554,6 +554,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
interface
ValidatedProperties
{
String
getFoo
();
}
@ConfigurationProperties
(
"test"
)
...
...
@@ -890,6 +891,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
}
return
null
;
}
}
}
spring-boot/src/test/java/org/springframework/boot/jackson/JsonComponentModuleTests.java
View file @
0a024797
...
...
@@ -117,5 +117,7 @@ public class JsonComponentModuleTests {
static
class
ConcreteSerializer
extends
AbstractSerializer
{
}
}
}
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