1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-23 05:22:05 +00:00

Minor fixes

This commit is contained in:
Arnaud Roques 2021-03-28 12:30:15 +02:00
parent 986393d90d
commit cb0bcb6952
6 changed files with 9 additions and 3 deletions

View File

@ -137,7 +137,8 @@ public class UrlBuilder {
}
private String withTopUrl(String url) {
if (url.startsWith("http:") == false && url.startsWith("https:") == false && topurl != null) {
if (url.startsWith("http:") == false && url.startsWith("https:") == false && url.startsWith("file:") == false
&& topurl != null) {
return topurl + url;
}
return url;

View File

@ -51,6 +51,7 @@ public class Dedications {
addNormal("linux_china", "linux_china");
addNormal("ARKBAN", "arkban");
addNormal("Boundaries allow discipline to create true strength", "boundaries");
addNormal("Thank you, Dr. Chet. I wouldn't be where I am without you", "dr_chet");
addCrypted("0", "pOhci6rKgPXw32AeYXhOpSY0suoauHq5VUSwFqHLHsLYgSO6WaJ7BW5vtHBAoU6ePbcW7d8Flx99MWjPSKQTDm00");
addCrypted("1", "LTxN3hdnhSJ515qcA7IQ841axt4GXfUd3n2wgNirYCdLnyX2360Gv1OEOnJ1-gwFzRW5B3HAqLBkR6Ge0WW_Z000");
addCrypted("2", "lZqLduj4j1yRqSfAvkhbqVpqK8diklatiFeenDUXSdna9bKYQTzdS264YfUBScUVDYCp2Vcq04updoN98RwxE000");

Binary file not shown.

View File

@ -293,7 +293,9 @@ public class QuoteUtils {
"Gebyy gur erfcnja, Wrerzl", "Bhoyvr dhr g'nf nhphar punapr. Fhe ha znyragraqh pn crhg znepure.",
"Obl, gur fhcrevagraqrag'f tbaan or cvffrq!", "BX, jub oebhtug gur qbt?", "Rg yn, p'rfg yr qenzr...",
"V'z shmml ba gur jubyr tbbq/onq guvat. Jung qb lbh zrna, 'onq'?",
"Lbh'er evtug. Ab uhzna orvat jbhyq fgnpx obbxf yvxr guvf.");
"Lbh'er evtug. Ab uhzna orvat jbhyq fgnpx obbxf yvxr guvf.",
"V nz fb pyrire gung fbzrgvzrf V qba'g haqrefgnaq n fvatyr jbeq bs jung V nz fnlvat.",
"Jnxr zr hc orsber lbh tb-tb");
private QuoteUtils() {
}

View File

@ -92,8 +92,10 @@ public class CommandConstraint extends SingleLineCommand2<TimingDiagram> {
if (tick1 == null) {
return CommandExecutionResult.error("Unknown time label");
}
final TimeTick restore = diagram.getNow();
diagram.updateNow(tick1);
final TimeTick tick2 = TimeTickBuilder.parseTimeTick("TIME2", arg, diagram);
diagram.updateNow(restore);
if (tick2 == null) {
return CommandExecutionResult.error("Unknown time label");
}

View File

@ -80,7 +80,7 @@ public class Version {
}
public static int beta() {
final int beta = 2;
final int beta = 3;
return beta;
}