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
6d8b4710
Commit
6d8b4710
authored
May 22, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x' into 2.0.x
parents
c1236ed8
9f4f229b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
19 deletions
+27
-19
ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
+6
-6
CONTRIBUTING.adoc
CONTRIBUTING.adoc
+17
-9
JerseyAutoConfigurationCustomApplicationTests.java
...jersey/JerseyAutoConfigurationCustomApplicationTests.java
+0
-1
ConfigurationMetadataAnnotationProcessor.java
...onprocessor/ConfigurationMetadataAnnotationProcessor.java
+0
-1
LombokAccessLevelOverwriteDataProperties.java
...mple/lombok/LombokAccessLevelOverwriteDataProperties.java
+2
-1
LombokAccessLevelOverwriteExplicitProperties.java
.../lombok/LombokAccessLevelOverwriteExplicitProperties.java
+1
-0
LombokExplicitProperties.java
.../configurationsample/lombok/LombokExplicitProperties.java
+1
-1
No files found.
.github/ISSUE_TEMPLATE.md
View file @
6d8b4710
<!--
<!--
Thanks for raising a Spring Boot issue. What sort of issue are you raising?
Thanks for raising a Spring Boot issue. What sort of issue are you raising?
Question
❓Question
Please ask questions about how to use something, or to understand why something isn't
Please ask questions about how to use something, or to understand why something isn't
working as you expect it to, on Stack Overflow using the spring-boot tag.
working as you expect it to, on Stack Overflow using the spring-boot tag.
Bug report
🐞 Bug report
Please provide details of the problem, including the version of Spring Boot that you
Please provide details of the problem, including the version of Spring Boot that you
are using. If possible, please provide a test case or sample application that reproduces
are using. If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.
we have fixed it.
Enhancement
🚨 Security Vulnerability
STOP!! Please don't raise security vulnerabilities here. Head over to https://pivotal.io/security to learn how to disclose them responsibly.
🎁 Enhancement
Please start by describing the problem that you are trying to solve. There may already
Please start by describing the problem that you are trying to solve. There may already
be a solution, or there may be a way to solve it that you hadn't considered.
be a solution, or there may be a way to solve it that you hadn't considered.
-->
-->
\ No newline at end of file
CONTRIBUTING.adoc
View file @
6d8b4710
...
@@ -12,7 +12,7 @@ unacceptable behavior to spring-code-of-conduct@pivotal.io.
...
@@ -12,7 +12,7 @@ unacceptable behavior to spring-code-of-conduct@pivotal.io.
== Using GitHub
i
ssues
== Using GitHub
I
ssues
We use GitHub issues to track bugs and enhancements. If you have a general usage question
We use GitHub issues to track bugs and enhancements. If you have a general usage question
please ask on https://stackoverflow.com[Stack Overflow]. The Spring Boot team and the
please ask on https://stackoverflow.com[Stack Overflow]. The Spring Boot team and the
broader community monitor the https://stackoverflow.com/tags/spring-boot[`spring-boot`]
broader community monitor the https://stackoverflow.com/tags/spring-boot[`spring-boot`]
...
@@ -25,6 +25,14 @@ problem.
...
@@ -25,6 +25,14 @@ problem.
== Reporting Security Vulnerabilities
If you think you have found a security vulnerability in Spring Boot please *DO NOT*
disclose it publicly until we've had a chance to fix it. Please don't report security
vulnerabilities using GitHub issues, instead head over to https://pivotal.io/security and
learn how to disclose them responsibly.
== Sign the Contributor License Agreement
== Sign the Contributor License Agreement
Before we accept a non-trivial patch or pull request we will need you to
Before we accept a non-trivial patch or pull request we will need you to
https://cla.pivotal.io/sign/spring[sign the Contributor License Agreement].
https://cla.pivotal.io/sign/spring[sign the Contributor License Agreement].
...
@@ -62,7 +70,7 @@ added after the original pull request but before a merge.
...
@@ -62,7 +70,7 @@ added after the original pull request but before a merge.
== Working with the
c
ode
== Working with the
C
ode
If you don't have an IDE preference we would recommend that you use
If you don't have an IDE preference we would recommend that you use
https://spring.io/tools/sts[Spring Tools Suite] or
https://spring.io/tools/sts[Spring Tools Suite] or
http://eclipse.org[Eclipse] when working with the code. We use the
http://eclipse.org[Eclipse] when working with the code. We use the
...
@@ -71,13 +79,13 @@ should also work without issue.
...
@@ -71,13 +79,13 @@ should also work without issue.
=== Building from
s
ource
=== Building from
S
ource
To build the source you will need to install
To build the source you will need to install
https://maven.apache.org/run-maven/index.html[Apache Maven] v3.2.3 or above and JDK 1.8.
https://maven.apache.org/run-maven/index.html[Apache Maven] v3.2.3 or above and JDK 1.8.
==== Default
b
uild
==== Default
B
uild
The project can be built from the root directory using the standard maven command:
The project can be built from the root directory using the standard maven command:
[indent=0]
[indent=0]
...
@@ -125,7 +133,7 @@ can run this from the top-level directory:
...
@@ -125,7 +133,7 @@ can run this from the top-level directory:
=== Importing into
e
clipse
=== Importing into
E
clipse
You can import the Spring Boot code into any Eclipse Mars based distribution. The easiest
You can import the Spring Boot code into any Eclipse Mars based distribution. The easiest
way to setup a new environment is to use the Eclipse Installer with the provided
way to setup a new environment is to use the Eclipse Installer with the provided
`.setup` file.
`.setup` file.
...
@@ -156,7 +164,7 @@ easier to navigate.
...
@@ -156,7 +164,7 @@ easier to navigate.
==== Manual
installation with m2e
clipse
==== Manual
Installation with M2E
clipse
If you prefer to install Eclipse yourself we recommend that you use the
If you prefer to install Eclipse yourself we recommend that you use the
http://eclipse.org/m2e/[M2Eclipse] eclipse plugin. If you don't already have m2eclipse
http://eclipse.org/m2e/[M2Eclipse] eclipse plugin. If you don't already have m2eclipse
installed it is available from the "Eclipse marketplace".
installed it is available from the "Eclipse marketplace".
...
@@ -183,7 +191,7 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa
...
@@ -183,7 +191,7 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa
==== Importing into
eclipse without m2e
clipse
==== Importing into
Eclipse without M2E
clipse
If you prefer not to use m2eclipse you can generate eclipse project metadata using the
If you prefer not to use m2eclipse you can generate eclipse project metadata using the
following command:
following command:
...
@@ -197,12 +205,12 @@ from the `file` menu.
...
@@ -197,12 +205,12 @@ from the `file` menu.
=== Importing into
o
ther IDEs
=== Importing into
O
ther IDEs
Maven is well supported by most Java IDEs. Refer to your vendor documentation.
Maven is well supported by most Java IDEs. Refer to your vendor documentation.
== Integration
t
ests
== Integration
T
ests
The sample applications are used as integration tests during the build (when you
The sample applications are used as integration tests during the build (when you
`mvn install`). Due to the fact that they make use of the `spring-boot-maven-plugin`
`mvn install`). Due to the fact that they make use of the `spring-boot-maven-plugin`
they cannot be called directly, and so instead are launched via the
they cannot be called directly, and so instead are launched via the
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfigurationCustomApplicationTests.java
View file @
6d8b4710
...
@@ -51,7 +51,6 @@ import static org.assertj.core.api.Assertions.assertThat;
...
@@ -51,7 +51,6 @@ import static org.assertj.core.api.Assertions.assertThat;
@DirtiesContext
@DirtiesContext
public
class
JerseyAutoConfigurationCustomApplicationTests
{
public
class
JerseyAutoConfigurationCustomApplicationTests
{
@Autowired
@Autowired
private
TestRestTemplate
restTemplate
;
private
TestRestTemplate
restTemplate
;
...
...
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessor.java
View file @
6d8b4710
...
@@ -402,7 +402,6 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
...
@@ -402,7 +402,6 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
return
hasAnnotation
(
element
,
LOMBOK_DATA_ANNOTATION
);
return
hasAnnotation
(
element
,
LOMBOK_DATA_ANNOTATION
);
}
}
private
boolean
isAccessLevelPublic
(
AnnotationMirror
lombokAnnotation
)
{
private
boolean
isAccessLevelPublic
(
AnnotationMirror
lombokAnnotation
)
{
Map
<
String
,
Object
>
values
=
getAnnotationElementValues
(
lombokAnnotation
);
Map
<
String
,
Object
>
values
=
getAnnotationElementValues
(
lombokAnnotation
);
Object
value
=
values
.
get
(
"value"
);
Object
value
=
values
.
get
(
"value"
);
...
...
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/lombok/LombokAccessLevelOverwriteDataProperties.java
View file @
6d8b4710
/*
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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,6 +31,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
...
@@ -31,6 +31,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
*/
*/
@Data
@Data
@ConfigurationProperties
(
prefix
=
"accesslevel.overwrite.data"
)
@ConfigurationProperties
(
prefix
=
"accesslevel.overwrite.data"
)
@SuppressWarnings
(
"unused"
)
public
class
LombokAccessLevelOverwriteDataProperties
{
public
class
LombokAccessLevelOverwriteDataProperties
{
private
String
name0
;
private
String
name0
;
...
...
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/lombok/LombokAccessLevelOverwriteExplicitProperties.java
View file @
6d8b4710
...
@@ -31,6 +31,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
...
@@ -31,6 +31,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
@Getter
(
AccessLevel
.
PUBLIC
)
@Getter
(
AccessLevel
.
PUBLIC
)
@Setter
(
AccessLevel
.
PUBLIC
)
@Setter
(
AccessLevel
.
PUBLIC
)
@ConfigurationProperties
(
prefix
=
"accesslevel.overwrite.explicit"
)
@ConfigurationProperties
(
prefix
=
"accesslevel.overwrite.explicit"
)
@SuppressWarnings
(
"unused"
)
public
class
LombokAccessLevelOverwriteExplicitProperties
{
public
class
LombokAccessLevelOverwriteExplicitProperties
{
private
String
name0
;
private
String
name0
;
...
...
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/lombok/LombokExplicitProperties.java
View file @
6d8b4710
/*
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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