1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-31 22:11:53 +00:00

Tweak visibility in PSystemError to help with tests.

This commit is contained in:
matthew16550 2021-03-19 00:12:00 +11:00
parent 82c57e1b54
commit 7d7fdaddf2

View File

@ -115,6 +115,10 @@ public abstract class PSystemError extends AbstractPSystem {
return Collections.singleton(singleError);
}
final public ErrorUml getFirstError() {
return singleError;
}
final public String getWarningOrError() {
final StringBuilder sb = new StringBuilder();
sb.append(getDescription());
@ -156,7 +160,7 @@ public abstract class PSystemError extends AbstractPSystem {
return result;
}
private List<String> getPureAsciiFormatted() {
public List<String> getPureAsciiFormatted() {
final List<String> result = getTextFromStack();
result.addAll(getTextFullBody());
result.add("^^^^^");