Remove carriage returns in TypeUtils.getJavaDoc()
Closes gh-13779
This commit is contained in:
committed by
Stephane Nicoll
parent
e556c04d83
commit
9fba2c4a62
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user