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
7bd285dd
Commit
7bd285dd
authored
Aug 03, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
53e8ade4
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
7 deletions
+15
-7
ActiveMQConnectionFactoryCustomizer.java
...ure/jms/activemq/ActiveMQConnectionFactoryCustomizer.java
+1
-0
SchedulerFactoryBeanCustomizer.java
.../autoconfigure/quartz/SchedulerFactoryBeanCustomizer.java
+1
-0
SpringBootWebSecurityConfiguration.java
...onfigure/security/SpringBootWebSecurityConfiguration.java
+1
-1
DefaultServletWebServerFactoryCustomizer.java
...web/servlet/DefaultServletWebServerFactoryCustomizer.java
+2
-2
RabbitAutoConfigurationTests.java
...boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java
+2
-2
ConditionalOnBeanTests.java
.../boot/autoconfigure/condition/ConditionalOnBeanTests.java
+1
-1
JavaPluginAction.java
.../springframework/boot/gradle/plugin/JavaPluginAction.java
+1
-1
MockServletWebServer.java
...rk/boot/testsupport/web/servlet/MockServletWebServer.java
+1
-0
SpringBootExceptionReporter.java
...org/springframework/boot/SpringBootExceptionReporter.java
+1
-0
DeterminableImports.java
...ramework/boot/context/annotation/DeterminableImports.java
+1
-0
OriginLookup.java
...in/java/org/springframework/boot/origin/OriginLookup.java
+1
-0
OriginProvider.java
.../java/org/springframework/boot/origin/OriginProvider.java
+1
-0
WebServerFactoryCustomizer.java
...framework/boot/web/server/WebServerFactoryCustomizer.java
+1
-0
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryCustomizer.java
View file @
7bd285dd
...
@@ -25,6 +25,7 @@ import org.apache.activemq.ActiveMQConnectionFactory;
...
@@ -25,6 +25,7 @@ import org.apache.activemq.ActiveMQConnectionFactory;
* @author Stephane Nicoll
* @author Stephane Nicoll
* @since 1.5.5
* @since 1.5.5
*/
*/
@FunctionalInterface
public
interface
ActiveMQConnectionFactoryCustomizer
{
public
interface
ActiveMQConnectionFactoryCustomizer
{
/**
/**
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/quartz/SchedulerFactoryBeanCustomizer.java
View file @
7bd285dd
...
@@ -26,6 +26,7 @@ import org.springframework.scheduling.quartz.SchedulerFactoryBean;
...
@@ -26,6 +26,7 @@ import org.springframework.scheduling.quartz.SchedulerFactoryBean;
* @author Vedran Pavic
* @author Vedran Pavic
* @since 2.0.0
* @since 2.0.0
*/
*/
@FunctionalInterface
public
interface
SchedulerFactoryBeanCustomizer
{
public
interface
SchedulerFactoryBeanCustomizer
{
/**
/**
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java
View file @
7bd285dd
...
@@ -228,7 +228,7 @@ public class SpringBootWebSecurityConfiguration {
...
@@ -228,7 +228,7 @@ public class SpringBootWebSecurityConfiguration {
@Override
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
http
.
requestMatcher
(
request
->
false
);
http
.
requestMatcher
(
(
request
)
->
false
);
}
}
}
}
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/DefaultServletWebServerFactoryCustomizer.java
View file @
7bd285dd
...
@@ -446,8 +446,8 @@ public class DefaultServletWebServerFactoryCustomizer
...
@@ -446,8 +446,8 @@ public class DefaultServletWebServerFactoryCustomizer
private
static
void
customizeMaxHttpPostSize
(
private
static
void
customizeMaxHttpPostSize
(
UndertowServletWebServerFactory
factory
,
final
long
maxHttpPostSize
)
{
UndertowServletWebServerFactory
factory
,
final
long
maxHttpPostSize
)
{
factory
.
addBuilderCustomizers
((
builder
->
builder
factory
.
addBuilderCustomizers
((
builder
)
->
builder
.
setServerOption
(
UndertowOptions
.
MAX_ENTITY_SIZE
,
maxHttpPostSize
))
)
;
.
setServerOption
(
UndertowOptions
.
MAX_ENTITY_SIZE
,
maxHttpPostSize
));
}
}
}
}
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java
View file @
7bd285dd
...
@@ -170,7 +170,7 @@ public class RabbitAutoConfigurationTests {
...
@@ -170,7 +170,7 @@ public class RabbitAutoConfigurationTests {
this
.
contextRunner
.
withUserConfiguration
(
TestConfiguration
.
class
)
this
.
contextRunner
.
withUserConfiguration
(
TestConfiguration
.
class
)
.
withPropertyValues
(
"spring.rabbitmq.publisher-confirms=true"
,
.
withPropertyValues
(
"spring.rabbitmq.publisher-confirms=true"
,
"spring.rabbitmq.publisher-returns=true"
)
"spring.rabbitmq.publisher-returns=true"
)
.
run
(
context
->
{
.
run
(
(
context
)
->
{
CachingConnectionFactory
connectionFactory
=
context
CachingConnectionFactory
connectionFactory
=
context
.
getBean
(
CachingConnectionFactory
.
class
);
.
getBean
(
CachingConnectionFactory
.
class
);
RabbitTemplate
rabbitTemplate
=
context
.
getBean
(
RabbitTemplate
.
class
);
RabbitTemplate
rabbitTemplate
=
context
.
getBean
(
RabbitTemplate
.
class
);
...
@@ -238,7 +238,7 @@ public class RabbitAutoConfigurationTests {
...
@@ -238,7 +238,7 @@ public class RabbitAutoConfigurationTests {
this
.
contextRunner
.
withUserConfiguration
(
TestConfiguration
.
class
)
this
.
contextRunner
.
withUserConfiguration
(
TestConfiguration
.
class
)
.
withPropertyValues
(
"spring.rabbitmq.template.mandatory:false"
,
.
withPropertyValues
(
"spring.rabbitmq.template.mandatory:false"
,
"spring.rabbitmq.publisher-returns=true"
)
"spring.rabbitmq.publisher-returns=true"
)
.
run
(
context
->
{
.
run
(
(
context
)
->
{
RabbitTemplate
rabbitTemplate
=
context
.
getBean
(
RabbitTemplate
.
class
);
RabbitTemplate
rabbitTemplate
=
context
.
getBean
(
RabbitTemplate
.
class
);
assertThat
(
getMandatory
(
rabbitTemplate
)).
isFalse
();
assertThat
(
getMandatory
(
rabbitTemplate
)).
isFalse
();
});
});
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBeanTests.java
View file @
7bd285dd
...
@@ -120,7 +120,7 @@ public class ConditionalOnBeanTests {
...
@@ -120,7 +120,7 @@ public class ConditionalOnBeanTests {
WithPropertyPlaceholderClassName
.
class
,
WithPropertyPlaceholderClassName
.
class
,
OnBeanClassConfiguration
.
class
)
OnBeanClassConfiguration
.
class
)
.
withPropertyValues
(
"mybeanclass=java.lang.String"
)
.
withPropertyValues
(
"mybeanclass=java.lang.String"
)
.
run
(
context
->
assertThat
(
context
).
hasNotFailed
());
.
run
(
(
context
)
->
assertThat
(
context
).
hasNotFailed
());
}
}
@Test
@Test
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/JavaPluginAction.java
View file @
7bd285dd
...
@@ -113,7 +113,7 @@ final class JavaPluginAction implements PluginApplicationAction {
...
@@ -113,7 +113,7 @@ final class JavaPluginAction implements PluginApplicationAction {
}
}
private
void
configureUtf8Encoding
(
Project
project
)
{
private
void
configureUtf8Encoding
(
Project
project
)
{
project
.
afterEvaluate
(
evaluated
->
evaluated
.
getTasks
()
project
.
afterEvaluate
(
(
evaluated
)
->
evaluated
.
getTasks
()
.
withType
(
JavaCompile
.
class
,
(
compile
)
->
{
.
withType
(
JavaCompile
.
class
,
(
compile
)
->
{
if
(
compile
.
getOptions
().
getEncoding
()
==
null
)
{
if
(
compile
.
getOptions
().
getEncoding
()
==
null
)
{
compile
.
getOptions
().
setEncoding
(
"UTF-8"
);
compile
.
getOptions
().
setEncoding
(
"UTF-8"
);
...
...
spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/web/servlet/MockServletWebServer.java
View file @
7bd285dd
...
@@ -214,6 +214,7 @@ public abstract class MockServletWebServer {
...
@@ -214,6 +214,7 @@ public abstract class MockServletWebServer {
/**
/**
* Initializer (usually implement by adapting {@code Initializer}).
* Initializer (usually implement by adapting {@code Initializer}).
*/
*/
@FunctionalInterface
protected
interface
Initializer
{
protected
interface
Initializer
{
void
onStartup
(
ServletContext
context
)
throws
ServletException
;
void
onStartup
(
ServletContext
context
)
throws
ServletException
;
...
...
spring-boot/src/main/java/org/springframework/boot/SpringBootExceptionReporter.java
View file @
7bd285dd
...
@@ -30,6 +30,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
...
@@ -30,6 +30,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
* @since 2.0.0
* @since 2.0.0
* @see ApplicationContextAware
* @see ApplicationContextAware
*/
*/
@FunctionalInterface
public
interface
SpringBootExceptionReporter
{
public
interface
SpringBootExceptionReporter
{
/**
/**
...
...
spring-boot/src/main/java/org/springframework/boot/context/annotation/DeterminableImports.java
View file @
7bd285dd
...
@@ -40,6 +40,7 @@ import org.springframework.core.type.AnnotationMetadata;
...
@@ -40,6 +40,7 @@ import org.springframework.core.type.AnnotationMetadata;
* @author Andy Wilkinson
* @author Andy Wilkinson
* @since 1.5.0
* @since 1.5.0
*/
*/
@FunctionalInterface
public
interface
DeterminableImports
{
public
interface
DeterminableImports
{
/**
/**
...
...
spring-boot/src/main/java/org/springframework/boot/origin/OriginLookup.java
View file @
7bd285dd
...
@@ -24,6 +24,7 @@ package org.springframework.boot.origin;
...
@@ -24,6 +24,7 @@ package org.springframework.boot.origin;
* @author Phillip Webb
* @author Phillip Webb
* @since 2.0.0
* @since 2.0.0
*/
*/
@FunctionalInterface
public
interface
OriginLookup
<
K
>
{
public
interface
OriginLookup
<
K
>
{
/**
/**
...
...
spring-boot/src/main/java/org/springframework/boot/origin/OriginProvider.java
View file @
7bd285dd
...
@@ -23,6 +23,7 @@ package org.springframework.boot.origin;
...
@@ -23,6 +23,7 @@ package org.springframework.boot.origin;
* @since 2.0.0
* @since 2.0.0
* @see Origin
* @see Origin
*/
*/
@FunctionalInterface
public
interface
OriginProvider
{
public
interface
OriginProvider
{
/**
/**
...
...
spring-boot/src/main/java/org/springframework/boot/web/server/WebServerFactoryCustomizer.java
View file @
7bd285dd
...
@@ -36,6 +36,7 @@ import org.springframework.beans.factory.config.BeanPostProcessor;
...
@@ -36,6 +36,7 @@ import org.springframework.beans.factory.config.BeanPostProcessor;
* @since 2.0.0
* @since 2.0.0
* @see WebServerFactoryCustomizerBeanPostProcessor
* @see WebServerFactoryCustomizerBeanPostProcessor
*/
*/
@FunctionalInterface
public
interface
WebServerFactoryCustomizer
<
T
extends
WebServerFactory
>
{
public
interface
WebServerFactoryCustomizer
<
T
extends
WebServerFactory
>
{
/**
/**
...
...
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