From f59e295e4c2e6cbfaa592bf8c88942fa6a3d8969 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 9 Dec 2023 17:06:04 +0100 Subject: [PATCH] Give instructions to users of the CRISValidator(URL) constructor (#12) --- .../org/eurocris/openaire/cris/validator/CRISValidator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java b/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java index f08ba1b..60a3994 100644 --- a/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java +++ b/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java @@ -191,6 +191,8 @@ public CRISValidator() throws MissingArgumentException, SAXException, IOExceptio /** * Set up the test suite with a given endpoint base URL. + * This constructor is made protected for this class to work as the main test class from the JUnit4 command-line runner. + * If you wish to use it in your integrations, please make a subclass. * @param endpointBaseUrl the URL base of the endpoint to test * @throws SAXException when the parser schema cannot be created * @throws IOException on a problem accessing a schema