mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +00:00
Try to fix DisplayPositioned typo
This commit is contained in:
parent
bbeb280022
commit
29e652a3b0
@ -38,7 +38,7 @@ package net.sourceforge.plantuml.cucadiagram;
|
||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||
|
||||
public class DisplayPositioned implements DisplayPositionned {
|
||||
public class DisplayPositioned extends DisplayPositionned {
|
||||
|
||||
private final Display display;
|
||||
private final HorizontalAlignment horizontalAlignment;
|
||||
|
@ -44,11 +44,15 @@ package net.sourceforge.plantuml.cucadiagram;
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
public interface DisplayPositionned {
|
||||
public class DisplayPositionned {
|
||||
|
||||
public Display getDisplay();
|
||||
public Display getDisplay() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean isNull();
|
||||
public boolean isNull() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -118,6 +118,11 @@ public class StyleLoader {
|
||||
boolean inComment = false;
|
||||
for (StringLocated s : lines) {
|
||||
String trimmed = s.getTrimmed().getString();
|
||||
if (trimmed.startsWith("/*") || trimmed.endsWith("*/"))
|
||||
continue;
|
||||
if (trimmed.startsWith("/'") || trimmed.endsWith("'/"))
|
||||
continue;
|
||||
|
||||
if (trimmed.startsWith("/*") || trimmed.startsWith("/'")) {
|
||||
inComment = true;
|
||||
continue;
|
||||
@ -126,9 +131,9 @@ public class StyleLoader {
|
||||
inComment = false;
|
||||
continue;
|
||||
}
|
||||
if (inComment) {
|
||||
if (inComment)
|
||||
continue;
|
||||
}
|
||||
|
||||
final int x = trimmed.lastIndexOf("//");
|
||||
if (x != -1) {
|
||||
trimmed = trimmed.substring(0, x).trim();
|
||||
|
Loading…
Reference in New Issue
Block a user