File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/com/lsfusion/dependencies Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 17
17
import com .lsfusion .lang .psi .impl .LSFClassStatementImpl ;
18
18
import groovyjarjarantlr4 .v4 .misc .OrderedHashMap ;
19
19
import groovyjarjarantlr4 .v4 .runtime .misc .OrderedHashSet ;
20
+ import org .apache .commons .lang3 .StringUtils ;
20
21
import org .apache .logging .log4j .util .Strings ;
21
22
import org .jetbrains .annotations .Nullable ;
22
23
@@ -169,8 +170,8 @@ private String generateUML() {
169
170
170
171
StringBuilder mermaid = new StringBuilder ("classDiagram\n " );
171
172
for (Map .Entry <String , List <PropertyOrAction >> entry : classPropOrActionMap .entrySet ()) {
172
- String properties = Strings .join (entry .getValue ().stream ().filter (p -> !p .isAction ).toList (), '\n' );
173
- String actions = Strings .join (entry .getValue ().stream ().filter (p -> p .isAction ).toList (), '\n' );
173
+ String properties = StringUtils .join (entry .getValue ().stream ().filter (p -> !p .isAction ).toList (), '\n' );
174
+ String actions = StringUtils .join (entry .getValue ().stream ().filter (p -> p .isAction ).toList (), '\n' );
174
175
String fields = (properties .isEmpty () && actions .isEmpty () ? "" : ("{\n " + properties + actions + "\n }" ));
175
176
String classEntry = "class " + getClassName (entry .getKey ()) + fields + "\n " ;
176
177
mermaid .append (classEntry );
You can’t perform that action at this time.
0 commit comments