net.sourceforge.plantuml.bpm.CleanerEmptyLine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.bpm;
public class CleanerEmptyLine implements GridCleaner {
public boolean clean(Grid grid) {
boolean result = false;
for (Line line : grid.lines().toList()) {
if (grid.usedColsOf(line).isEmpty()) {
grid.removeLine(line);
result = true;
}
}
return result;
}
}