Skip to content

Commit a140c11

Browse files
committed
[bugfix] Remove the disclaimer from the startup of the JAC
1 parent dcc8782 commit a140c11

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

exist-core/src/main/java/org/exist/client/InteractiveClient.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,12 +2494,6 @@ String getNotice(BinaryOperator<String> propertyAction) {
24942494
builder.append(Calendar.getInstance().get(Calendar.YEAR));
24952495
builder.append(" Evolved Binary Ltd");
24962496
builder.append(EOL);
2497-
builder.append("Elemental comes with ABSOLUTELY NO WARRANTY.");
2498-
builder.append(EOL);
2499-
builder.append("This is free software, and you are welcome to redistribute it");
2500-
builder.append(EOL);
2501-
builder.append("under certain conditions; for details read the license file.");
2502-
builder.append(EOL);
25032497
return builder.toString();
25042498
}
25052499

exist-core/src/test/java/org/exist/client/InteractiveClientTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,7 @@ void getNotice() {
233233
replay(collection, mgtService, perm, resource, clientFrame, account, group, propertyAction);
234234

235235
String expected = "Elemental version testVersion (gitCommitId), Copyright (C) 2024-" +
236-
Calendar.getInstance().get(Calendar.YEAR) + " Evolved Binary Ltd" + EOL +
237-
"Elemental comes with ABSOLUTELY NO WARRANTY." + EOL +
238-
"This is free software, and you are welcome to redistribute it" + EOL +
239-
"under certain conditions; for details read the license file." + EOL;
236+
Calendar.getInstance().get(Calendar.YEAR) + " Evolved Binary Ltd" + EOL;
240237
assertThat(client.getNotice(propertyAction)).isNotNull().isEqualTo(expected);
241238
}
242239

0 commit comments

Comments
 (0)