Merge branch '2.0.x' into 2.1.x

This commit is contained in:
Andy Wilkinson
2019-03-07 10:15:58 +00:00
4 changed files with 7 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ import java.util.Map;
/**
* A base properties class with generics.
*
* @param <A> name type
* @param <B> mapping key type
* @param <C> mapping value type
* @author Stephane Nicoll
*/
public class AbstractGenericProperties<A, B, C> {

View File

@@ -19,6 +19,7 @@ package org.springframework.boot.configurationsample.generic;
/**
* An intermediate layer that resolves some of the generics from the parent but not all.
*
* @param <C> mapping value type
* @author Stephane Nicoll
*/
public abstract class AbstractIntermediateGenericProperties<C>

View File

@@ -21,6 +21,8 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
/**
* Properties with unresolved generic information.
*
* @param <B> mapping key type
* @param <C> mapping value type
* @author Stephane Nicoll
*/
@ConfigurationProperties("generic")