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
10315569
Commit
10315569
authored
Apr 04, 2021
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #25875 from izeye
* pr/25875: Polish contribution Polish Closes gh-25875
parents
0005263f
db3dfffd
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
16 deletions
+16
-16
AbstractWebMvcEndpointHandlerMapping.java
...int/web/servlet/AbstractWebMvcEndpointHandlerMapping.java
+2
-2
ConditionMessage.java
...mework/boot/autoconfigure/condition/ConditionMessage.java
+2
-2
IntegrationAutoConfiguration.java
...toconfigure/integration/IntegrationAutoConfiguration.java
+2
-2
HibernateJpaAutoConfigurationTests.java
...configure/orm/jpa/HibernateJpaAutoConfigurationTests.java
+3
-3
AutoConfigureMockRestServiceServerWithRootUriIntegrationTests.java
...gureMockRestServiceServerWithRootUriIntegrationTests.java
+1
-1
BootstrapRegistry.java
...main/java/org/springframework/boot/BootstrapRegistry.java
+3
-3
InactiveConfigDataAccessException.java
...oot/context/config/InactiveConfigDataAccessException.java
+1
-1
InvalidConfigDataPropertyException.java
...ot/context/config/InvalidConfigDataPropertyException.java
+1
-1
RootUriTemplateHandler.java
...ringframework/boot/web/client/RootUriTemplateHandler.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/servlet/AbstractWebMvcEndpointHandlerMapping.java
View file @
10315569
...
@@ -402,8 +402,8 @@ public abstract class AbstractWebMvcEndpointHandlerMapping extends RequestMappin
...
@@ -402,8 +402,8 @@ public abstract class AbstractWebMvcEndpointHandlerMapping extends RequestMappin
}
}
/**
/**
* Nested exception used to wrap a
{@link InvalidEndpointRequestException} and provide
* Nested exception used to wrap a
n {@link InvalidEndpointRequestException} and
* a {@link HttpStatus#BAD_REQUEST} status.
*
provide
a {@link HttpStatus#BAD_REQUEST} status.
*/
*/
private
static
class
InvalidEndpointBadRequestException
extends
ResponseStatusException
{
private
static
class
InvalidEndpointBadRequestException
extends
ResponseStatusException
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionMessage.java
View file @
10315569
/*
/*
* Copyright 2012-202
0
the original author or authors.
* Copyright 2012-202
1
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -306,7 +306,7 @@ public final class ConditionMessage {
...
@@ -306,7 +306,7 @@ public final class ConditionMessage {
}
}
/**
/**
* Builder used to create a {@link ItemsBuilder} for a condition.
* Builder used to create a
n
{@link ItemsBuilder} for a condition.
*/
*/
public
final
class
ItemsBuilder
{
public
final
class
ItemsBuilder
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfiguration.java
View file @
10315569
/*
/*
* Copyright 2012-202
0
the original author or authors.
* Copyright 2012-202
1
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -161,7 +161,7 @@ public class IntegrationAutoConfiguration {
...
@@ -161,7 +161,7 @@ public class IntegrationAutoConfiguration {
protected
static
class
IntegrationRSocketConfiguration
{
protected
static
class
IntegrationRSocketConfiguration
{
/**
/**
* Check if either a {@link IntegrationRSocketEndpoint} or
* Check if either a
n
{@link IntegrationRSocketEndpoint} or
* {@link RSocketOutboundGateway} bean is available.
* {@link RSocketOutboundGateway} bean is available.
*/
*/
static
class
AnyRSocketChannelAdapterAvailable
extends
AnyNestedCondition
{
static
class
AnyRSocketChannelAdapterAvailable
extends
AnyNestedCondition
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfigurationTests.java
View file @
10315569
...
@@ -381,7 +381,7 @@ class HibernateJpaAutoConfigurationTests extends AbstractJpaAutoConfigurationTes
...
@@ -381,7 +381,7 @@ class HibernateJpaAutoConfigurationTests extends AbstractJpaAutoConfigurationTes
}
}
@Test
@Test
void
vendorPropertiesW
ith
DdlAutoPropertyIsSet
()
{
void
vendorPropertiesW
hen
DdlAutoPropertyIsSet
()
{
contextRunner
().
withPropertyValues
(
"spring.jpa.hibernate.ddl-auto=update"
)
contextRunner
().
withPropertyValues
(
"spring.jpa.hibernate.ddl-auto=update"
)
.
run
(
vendorProperties
((
vendorProperties
)
->
{
.
run
(
vendorProperties
((
vendorProperties
)
->
{
assertThat
(
vendorProperties
).
doesNotContainKeys
(
AvailableSettings
.
HBM2DDL_DATABASE_ACTION
);
assertThat
(
vendorProperties
).
doesNotContainKeys
(
AvailableSettings
.
HBM2DDL_DATABASE_ACTION
);
...
@@ -390,7 +390,7 @@ class HibernateJpaAutoConfigurationTests extends AbstractJpaAutoConfigurationTes
...
@@ -390,7 +390,7 @@ class HibernateJpaAutoConfigurationTests extends AbstractJpaAutoConfigurationTes
}
}
@Test
@Test
void
vendorPropertiesW
ith
DdlAutoPropertyAndHibernatePropertiesAreSet
()
{
void
vendorPropertiesW
hen
DdlAutoPropertyAndHibernatePropertiesAreSet
()
{
contextRunner
()
contextRunner
()
.
withPropertyValues
(
"spring.jpa.hibernate.ddl-auto=update"
,
.
withPropertyValues
(
"spring.jpa.hibernate.ddl-auto=update"
,
"spring.jpa.properties.hibernate.hbm2ddl.auto=create-drop"
)
"spring.jpa.properties.hibernate.hbm2ddl.auto=create-drop"
)
...
@@ -401,7 +401,7 @@ class HibernateJpaAutoConfigurationTests extends AbstractJpaAutoConfigurationTes
...
@@ -401,7 +401,7 @@ class HibernateJpaAutoConfigurationTests extends AbstractJpaAutoConfigurationTes
}
}
@Test
@Test
void
vendorPropertiesW
ith
DdlAutoPropertyIsSetToNone
()
{
void
vendorPropertiesW
hen
DdlAutoPropertyIsSetToNone
()
{
contextRunner
().
withPropertyValues
(
"spring.jpa.hibernate.ddl-auto=none"
)
contextRunner
().
withPropertyValues
(
"spring.jpa.hibernate.ddl-auto=none"
)
.
run
(
vendorProperties
((
vendorProperties
)
->
assertThat
(
vendorProperties
).
doesNotContainKeys
(
.
run
(
vendorProperties
((
vendorProperties
)
->
assertThat
(
vendorProperties
).
doesNotContainKeys
(
AvailableSettings
.
HBM2DDL_DATABASE_ACTION
,
AvailableSettings
.
HBM2DDL_AUTO
)));
AvailableSettings
.
HBM2DDL_DATABASE_ACTION
,
AvailableSettings
.
HBM2DDL_AUTO
)));
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/client/AutoConfigureMockRestServiceServerWithRootUriIntegrationTests.java
View file @
10315569
...
@@ -42,7 +42,7 @@ import static org.springframework.test.web.client.response.MockRestResponseCreat
...
@@ -42,7 +42,7 @@ import static org.springframework.test.web.client.response.MockRestResponseCreat
*
*
* @author Andy Wilkinson
* @author Andy Wilkinson
*/
*/
@SpringBootTest
(
properties
=
"debug=true"
)
@SpringBootTest
@AutoConfigureMockRestServiceServer
@AutoConfigureMockRestServiceServer
class
AutoConfigureMockRestServiceServerWithRootUriIntegrationTests
{
class
AutoConfigureMockRestServiceServerWithRootUriIntegrationTests
{
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapRegistry.java
View file @
10315569
/*
/*
* Copyright 2012-202
0
the original author or authors.
* Copyright 2012-202
1
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -139,7 +139,7 @@ public interface BootstrapRegistry {
...
@@ -139,7 +139,7 @@ public interface BootstrapRegistry {
}
}
/**
/**
* Factory method that can be used to create a {@link InstanceSupplier} for a
* Factory method that can be used to create a
n
{@link InstanceSupplier} for a
* given instance.
* given instance.
* @param <T> the instance type
* @param <T> the instance type
* @param instance the instance
* @param instance the instance
...
@@ -150,7 +150,7 @@ public interface BootstrapRegistry {
...
@@ -150,7 +150,7 @@ public interface BootstrapRegistry {
}
}
/**
/**
* Factory method that can be used to create a {@link InstanceSupplier} from a
* Factory method that can be used to create a
n
{@link InstanceSupplier} from a
* {@link Supplier}.
* {@link Supplier}.
* @param <T> the instance type
* @param <T> the instance type
* @param supplier the supplier that will provide the instance
* @param supplier the supplier that will provide the instance
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/InactiveConfigDataAccessException.java
View file @
10315569
...
@@ -111,7 +111,7 @@ public class InactiveConfigDataAccessException extends ConfigDataException {
...
@@ -111,7 +111,7 @@ public class InactiveConfigDataAccessException extends ConfigDataException {
}
}
/**
/**
* Throw a {@link InactiveConfigDataAccessException} if the given
* Throw a
n
{@link InactiveConfigDataAccessException} if the given
* {@link ConfigDataEnvironmentContributor} contains the property.
* {@link ConfigDataEnvironmentContributor} contains the property.
* @param contributor the contributor to check
* @param contributor the contributor to check
* @param name the name to check
* @param name the name to check
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/InvalidConfigDataPropertyException.java
View file @
10315569
...
@@ -101,7 +101,7 @@ public class InvalidConfigDataPropertyException extends ConfigDataException {
...
@@ -101,7 +101,7 @@ public class InvalidConfigDataPropertyException extends ConfigDataException {
}
}
/**
/**
* Throw a {@link InvalidConfigDataPropertyException} or log a warning if the given
* Throw a
n
{@link InvalidConfigDataPropertyException} or log a warning if the given
* {@link ConfigDataEnvironmentContributor} contains any invalid property. A warning
* {@link ConfigDataEnvironmentContributor} contains any invalid property. A warning
* is logged if the property is still supported, but not recommended. An error is
* is logged if the property is still supported, but not recommended. An error is
* thrown if the property is completely unsupported.
* thrown if the property is completely unsupported.
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RootUriTemplateHandler.java
View file @
10315569
...
@@ -87,7 +87,7 @@ public class RootUriTemplateHandler implements UriTemplateHandler {
...
@@ -87,7 +87,7 @@ public class RootUriTemplateHandler implements UriTemplateHandler {
/**
/**
* Derives a new {@code RootUriTemplateHandler} from this one, wrapping its delegate
* Derives a new {@code RootUriTemplateHandler} from this one, wrapping its delegate
* {link UriTemplateHandler} by applying the given {@code wrapper}.
* {
@
link UriTemplateHandler} by applying the given {@code wrapper}.
* @param wrapper the wrapper to apply to the delegate URI template handler
* @param wrapper the wrapper to apply to the delegate URI template handler
* @return the new handler
* @return the new handler
* @since 2.3.10
* @since 2.3.10
...
...
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