From d920b49ba103345faaa5e4e01f3c2cd4332e4443 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 29 Nov 2017 10:47:09 +0100 Subject: [PATCH] Polish See gh-11193 --- .../condition/ConditionalOnSingleCandidate.java | 6 +++--- .../springframework/boot/ansi/AnsiPropertySource.java | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidate.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidate.java index cc8412b0d1..f9baf8b636 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidate.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidate.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,8 +53,8 @@ public @interface ConditionalOnSingleCandidate { * specified is contained in the {@link ApplicationContext} and a primary candidate * exists in case of multiple instances. *

- * This attribute may not be used in conjunction with {@link #type()} - * , but it may be used instead of {@link #type()}. + * This attribute may not be used in conjunction with + * {@link #type()}, but it may be used instead of {@link #type()}. * @return the class type of the bean to check */ Class value() default Object.class; diff --git a/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiPropertySource.java b/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiPropertySource.java index efefd4a4e5..33ca1bbf8a 100644 --- a/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiPropertySource.java +++ b/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiPropertySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,10 +28,10 @@ import org.springframework.util.StringUtils; /** * {@link PropertyResolver} for {@link AnsiStyle}, {@link AnsiColor} and - * {@link AnsiBackground} elements. Supports properties of the form {@code AnsiStyle.BOLD} - * , {@code AnsiColor.RED} or {@code AnsiBackground.GREEN}. Also supports a prefix of - * {@code Ansi.} which is an aggregation of everything (with background colors prefixed - * {@code BG_}). + * {@link AnsiBackground} elements. Supports properties of the form + * {@code AnsiStyle.BOLD}, {@code AnsiColor.RED} or {@code AnsiBackground.GREEN}. Also + * supports a prefix of {@code Ansi.} which is an aggregation of everything (with + * background colors prefixed {@code BG_}). * * @author Phillip Webb * @since 1.3.0