diff options
Diffstat (limited to 'src/net/sourceforge/plantuml/command/CommandDecoratorMultine.java')
-rw-r--r-- | src/net/sourceforge/plantuml/command/CommandDecoratorMultine.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sourceforge/plantuml/command/CommandDecoratorMultine.java b/src/net/sourceforge/plantuml/command/CommandDecoratorMultine.java index c9f2431..5571ded 100644 --- a/src/net/sourceforge/plantuml/command/CommandDecoratorMultine.java +++ b/src/net/sourceforge/plantuml/command/CommandDecoratorMultine.java @@ -2,7 +2,7 @@ * PlantUML : a free UML diagram generator * ======================================================================== * - * (C) Copyright 2009-2017, Arnaud Roques + * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: http://plantuml.com * @@ -42,7 +42,7 @@ public class CommandDecoratorMultine<D extends Diagram> implements Command<D> { private final SingleLineCommand2<D> cmd; private final boolean removeEmptyColumn; private final int nbMaxLines; - + public CommandDecoratorMultine(SingleLineCommand2<D> cmd, int nbMaxLines) { this(cmd, false, nbMaxLines); } @@ -66,7 +66,7 @@ public class CommandDecoratorMultine<D extends Diagram> implements Command<D> { return CommandControl.NOT_OK; } lines = lines.toSingleLineWithHiddenNewLine(); - if (cmd.isForbidden(lines.getFirst499())) { + if (cmd.isForbidden(lines.getFirst499().getString())) { return CommandControl.NOT_OK; } final CommandControl tmp = cmd.isValid(lines); |