Polish
See gh-18838
This commit is contained in:
committed by
Stephane Nicoll
parent
7d5c468ebb
commit
45d85778b8
@@ -62,11 +62,11 @@ class SingleConfigurationTableEntry extends ConfigurationTableEntry {
|
||||
|
||||
private void writeDefaultValue(AsciidocBuilder builder) {
|
||||
String defaultValue = (this.defaultValue != null) ? this.defaultValue : "";
|
||||
defaultValue = defaultValue.replace("\\", "\\\\").replace("|", "\\|");
|
||||
if (defaultValue.isEmpty()) {
|
||||
builder.appendln("|");
|
||||
}
|
||||
else {
|
||||
defaultValue = defaultValue.replace("\\", "\\\\").replace("|", "\\|");
|
||||
builder.appendln("|`+", defaultValue, "+`");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,7 +185,6 @@ class PropertyDescriptorResolver {
|
||||
return isConstructorBoundType((TypeElement) type.getEnclosingElement(), env);
|
||||
}
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class DeducedImmutableClassProperties {
|
||||
|
||||
public static class Nested {
|
||||
|
||||
private String name;
|
||||
private final String name;
|
||||
|
||||
public Nested(String name) {
|
||||
this.name = name;
|
||||
|
||||
Reference in New Issue
Block a user