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
197e1669
Commit
197e1669
authored
Mar 25, 2019
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
2225b362
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
SpringBootApplication.java
...ngframework/boot/autoconfigure/SpringBootApplication.java
+1
-1
ConfigurationPropertiesBeanDefinitionRegistrar.java
...rties/ConfigurationPropertiesBeanDefinitionRegistrar.java
+2
-2
ConfigurationPropertiesScan.java
.../boot/context/properties/ConfigurationPropertiesScan.java
+0
-1
SampleActuatorApplication.java
.../main/java/sample/actuator/SampleActuatorApplication.java
+1
-1
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java
View file @
197e1669
...
@@ -53,10 +53,10 @@ import org.springframework.core.annotation.AliasFor;
...
@@ -53,10 +53,10 @@ import org.springframework.core.annotation.AliasFor;
@Inherited
@Inherited
@SpringBootConfiguration
@SpringBootConfiguration
@EnableAutoConfiguration
@EnableAutoConfiguration
@ConfigurationPropertiesScan
@ComponentScan
(
excludeFilters
=
{
@ComponentScan
(
excludeFilters
=
{
@Filter
(
type
=
FilterType
.
CUSTOM
,
classes
=
TypeExcludeFilter
.
class
),
@Filter
(
type
=
FilterType
.
CUSTOM
,
classes
=
TypeExcludeFilter
.
class
),
@Filter
(
type
=
FilterType
.
CUSTOM
,
classes
=
AutoConfigurationExcludeFilter
.
class
)
})
@Filter
(
type
=
FilterType
.
CUSTOM
,
classes
=
AutoConfigurationExcludeFilter
.
class
)
})
@ConfigurationPropertiesScan
public
@interface
SpringBootApplication
{
public
@interface
SpringBootApplication
{
/**
/**
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBeanDefinitionRegistrar.java
View file @
197e1669
...
@@ -39,11 +39,11 @@ import org.springframework.util.StringUtils;
...
@@ -39,11 +39,11 @@ import org.springframework.util.StringUtils;
*/
*/
final
class
ConfigurationPropertiesBeanDefinitionRegistrar
{
final
class
ConfigurationPropertiesBeanDefinitionRegistrar
{
private
static
final
boolean
KOTLIN_PRESENT
=
KotlinDetector
.
isKotlinPresent
();
private
ConfigurationPropertiesBeanDefinitionRegistrar
()
{
private
ConfigurationPropertiesBeanDefinitionRegistrar
()
{
}
}
private
static
final
boolean
KOTLIN_PRESENT
=
KotlinDetector
.
isKotlinPresent
();
public
static
void
register
(
BeanDefinitionRegistry
registry
,
public
static
void
register
(
BeanDefinitionRegistry
registry
,
ConfigurableListableBeanFactory
beanFactory
,
Class
<?>
type
)
{
ConfigurableListableBeanFactory
beanFactory
,
Class
<?>
type
)
{
String
name
=
getName
(
type
);
String
name
=
getName
(
type
);
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesScan.java
View file @
197e1669
...
@@ -33,7 +33,6 @@ import org.springframework.core.annotation.AliasFor;
...
@@ -33,7 +33,6 @@ import org.springframework.core.annotation.AliasFor;
*
*
* @author Madhura Bhave
* @author Madhura Bhave
* @since 2.2.0
* @since 2.2.0
* @see ConfigurationPropertiesScanRegistrar
*/
*/
@Target
(
ElementType
.
TYPE
)
@Target
(
ElementType
.
TYPE
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
...
...
spring-boot-samples/spring-boot-sample-actuator/src/main/java/sample/actuator/SampleActuatorApplication.java
View file @
197e1669
/*
/*
* Copyright 2012-201
8
the original author or authors.
* Copyright 2012-201
9
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.
...
...
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