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
8f700473
Commit
8f700473
authored
Jun 02, 2017
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
4f747d42
b9fd99e2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
ConditionalOnBean.java
...ework/boot/autoconfigure/condition/ConditionalOnBean.java
+2
-3
ConditionalOnMissingBean.java
...oot/autoconfigure/condition/ConditionalOnMissingBean.java
+3
-3
SessionAutoConfiguration.java
.../boot/autoconfigure/session/SessionAutoConfiguration.java
+2
-4
LocalDevToolsAutoConfiguration.java
...evtools/autoconfigure/LocalDevToolsAutoConfiguration.java
+1
-1
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java
View file @
8f700473
...
@@ -29,9 +29,8 @@ import org.springframework.context.annotation.Conditional;
...
@@ -29,9 +29,8 @@ import org.springframework.context.annotation.Conditional;
/**
/**
* {@link Conditional} that only matches when the specified bean classes and/or names are
* {@link Conditional} that only matches when the specified bean classes and/or names are
* already contained in the {@link BeanFactory}.
* already contained in the {@link BeanFactory}. When placed on a {@code @Bean} method,
* When placed on a {@code @Bean} method, the bean class default to the return type of
* the bean class default to the return type of the factory method:
* the factory method:
*
*
* <pre class="code">
* <pre class="code">
* @Configuration
* @Configuration
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java
View file @
8f700473
/*
/*
* Copyright 2012-201
6
the original author or authors.
* Copyright 2012-201
7
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.
...
@@ -31,8 +31,8 @@ import org.springframework.context.annotation.Conditional;
...
@@ -31,8 +31,8 @@ import org.springframework.context.annotation.Conditional;
* {@link Conditional} that only matches when the specified bean classes and/or names are
* {@link Conditional} that only matches when the specified bean classes and/or names are
* not already contained in the {@link BeanFactory}.
* not already contained in the {@link BeanFactory}.
* <p>
* <p>
* When placed on a {@code @Bean} method, the bean class default to the return type of
* When placed on a {@code @Bean} method, the bean class default to the return type of
the
*
the
factory method:
* factory method:
*
*
* <pre class="code">
* <pre class="code">
* @Configuration
* @Configuration
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/SessionAutoConfiguration.java
View file @
8f700473
...
@@ -103,10 +103,8 @@ public class SessionAutoConfiguration {
...
@@ -103,10 +103,8 @@ public class SessionAutoConfiguration {
+
"auto-configured, check your configuration (session store "
+
"auto-configured, check your configuration (session store "
+
"type is '"
+
storeType
.
name
().
toLowerCase
()
+
"')"
);
+
"type is '"
+
storeType
.
name
().
toLowerCase
()
+
"')"
);
}
}
else
{
throw
new
IllegalArgumentException
(
"No Spring Session store is "
throw
new
IllegalArgumentException
(
"No Spring Session store is "
+
"configured: set the 'spring.session.store-type' property"
);
+
"configured: set the 'spring.session.store-type' property"
);
}
}
}
}
}
...
...
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration.java
View file @
8f700473
/*
/*
* Copyright 2012-201
6
the original author or authors.
* Copyright 2012-201
7
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