From a140c1110e96bd0140b9c35fdf796f9141958eda Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Wed, 16 Jul 2025 22:02:25 +0200 Subject: [PATCH] [bugfix] Remove the disclaimer from the startup of the JAC --- .../src/main/java/org/exist/client/InteractiveClient.java | 6 ------ .../test/java/org/exist/client/InteractiveClientTest.java | 5 +---- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/exist-core/src/main/java/org/exist/client/InteractiveClient.java b/exist-core/src/main/java/org/exist/client/InteractiveClient.java index bd9a81e6a3..3346f69fbd 100644 --- a/exist-core/src/main/java/org/exist/client/InteractiveClient.java +++ b/exist-core/src/main/java/org/exist/client/InteractiveClient.java @@ -2494,12 +2494,6 @@ String getNotice(BinaryOperator propertyAction) { builder.append(Calendar.getInstance().get(Calendar.YEAR)); builder.append(" Evolved Binary Ltd"); builder.append(EOL); - builder.append("Elemental comes with ABSOLUTELY NO WARRANTY."); - builder.append(EOL); - builder.append("This is free software, and you are welcome to redistribute it"); - builder.append(EOL); - builder.append("under certain conditions; for details read the license file."); - builder.append(EOL); return builder.toString(); } diff --git a/exist-core/src/test/java/org/exist/client/InteractiveClientTest.java b/exist-core/src/test/java/org/exist/client/InteractiveClientTest.java index c602ec4872..b96f7629e3 100644 --- a/exist-core/src/test/java/org/exist/client/InteractiveClientTest.java +++ b/exist-core/src/test/java/org/exist/client/InteractiveClientTest.java @@ -233,10 +233,7 @@ void getNotice() { replay(collection, mgtService, perm, resource, clientFrame, account, group, propertyAction); String expected = "Elemental version testVersion (gitCommitId), Copyright (C) 2024-" + - Calendar.getInstance().get(Calendar.YEAR) + " Evolved Binary Ltd" + EOL + - "Elemental comes with ABSOLUTELY NO WARRANTY." + EOL + - "This is free software, and you are welcome to redistribute it" + EOL + - "under certain conditions; for details read the license file." + EOL; + Calendar.getInstance().get(Calendar.YEAR) + " Evolved Binary Ltd" + EOL; assertThat(client.getNotice(propertyAction)).isNotNull().isEqualTo(expected); }