Remove carriage returns in TypeUtils.getJavaDoc()

Closes gh-13779
This commit is contained in:
Johnny Lim
2018-07-16 14:46:20 +09:00
committed by Stephane Nicoll
parent e556c04d83
commit 9fba2c4a62
3 changed files with 3 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
assertThat(metadata).has(Metadata
.withProperty("description.multi-line", String.class)
.fromSource(DescriptionProperties.class).withDescription(
"This is a lengthy description that spans across multiple lines to showcase that the carriage return is cleaned automatically."));
"This is a lengthy description that spans across multiple lines to showcase that the line separators are cleaned automatically."));
}
@Test

View File

@@ -33,7 +33,7 @@ public class DescriptionProperties {
/**
* This is a lengthy description that spans across multiple lines to showcase that the
* carriage return is cleaned automatically.
* line separators are cleaned automatically.
*/
private String multiLine;