mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-26 06:46:45 +00:00
always true, collapse
also, remove assert from PSystemCommandFactory, getCandidate
This commit is contained in:
parent
c9137be051
commit
38d5625b3a
@ -64,7 +64,7 @@ public class Upf9Decoder {
|
||||
final int read1 = is.read();
|
||||
return (char) ((read0 << 8) + read1);
|
||||
}
|
||||
if (read0 >= 0x80 && read0 <= 0xFF) {
|
||||
if (read0 >= 0x80) {
|
||||
final int read1 = is.read();
|
||||
return (char) (((read0 - 0x60) << 8) + read1);
|
||||
}
|
||||
|
@ -165,7 +165,6 @@ public abstract class PSystemCommandFactory extends PSystemAbstractFactory {
|
||||
continue;
|
||||
|
||||
it.copyStateFrom(cloned);
|
||||
assert lines != null;
|
||||
return new Step(cmd, lines);
|
||||
}
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ public class DescriptionDiagram extends AbstractEntityDiagram {
|
||||
@Override
|
||||
public void makeDiagramReady() {
|
||||
super.makeDiagramReady();
|
||||
final LeafType defaultType = isUsecase() ? LeafType.DESCRIPTION : LeafType.DESCRIPTION;
|
||||
final LeafType defaultType = LeafType.DESCRIPTION;
|
||||
final USymbol defaultSymbol = isUsecase() ? getSkinParam().actorStyle().toUSymbol() : USymbols.INTERFACE;
|
||||
for (ILeaf leaf : getLeafsvalues()) {
|
||||
if (leaf.getLeafType() == LeafType.STILL_UNKNOWN) {
|
||||
|
Loading…
Reference in New Issue
Block a user