Fix language.

This commit is contained in:
Christian Schlichtherle 2020-10-30 18:56:03 +01:00
parent 5f32e1d3b7
commit 555dad2ede
6 changed files with 8 additions and 8 deletions

View file

@ -133,7 +133,7 @@ public class InputFactory {
try { try {
return read(uri.toURL(), digestAlgorithm); return read(uri.toURL(), digestAlgorithm);
} catch (final MalformedURLException e) { } catch (final MalformedURLException e) {
throw new IllegalArgumentException(String.format("Can not read from uri %s Not a valid uri supplied", uri)); throw new IllegalArgumentException(String.format("URL invalid or protocol not supported: %s", uri), e);
} }
} }
@ -149,7 +149,7 @@ public class InputFactory {
} }
/** /**
* Liest einen Prüfling von der übergebenen URL. Es wird ein definierter Algorithmis zur Ermittlung der Prüfsumme * Liest einen Prüfling von der übergebenen URL. Es wird ein definierter Algorithmus zur Ermittlung der Prüfsumme
* genutzt. * genutzt.
* *
* @param url URL des Prüflings * @param url URL des Prüflings

View file

@ -67,7 +67,7 @@ public class CommandLineApplication {
private static void sayGoodby(final ReturnValue resultStatus) { private static void sayGoodby(final ReturnValue resultStatus) {
Printer.writeOut("\n##############################"); Printer.writeOut("\n##############################");
if (resultStatus.equals(ReturnValue.SUCCESS)) { if (resultStatus.equals(ReturnValue.SUCCESS)) {
Printer.writeOut("# " + new Line(Code.GREEN).add("Validation succesful!").render(false, false) + " #"); Printer.writeOut("# " + new Line(Code.GREEN).add("Validation successful!").render(false, false) + " #");
} else { } else {
Printer.writeOut("# " + new Line(Code.RED).add("Validation failed!").render(false, false) + " #"); Printer.writeOut("# " + new Line(Code.RED).add("Validation failed!").render(false, false) + " #");
} }

View file

@ -38,8 +38,8 @@ import de.kosit.validationtool.impl.DefaultCheck;
import de.kosit.validationtool.impl.tasks.CheckAction; import de.kosit.validationtool.impl.tasks.CheckAction;
/** /**
* Simple Erweiterung der Klasse {@link DefaultCheck} um das Ergebnis der Assertion-Prüfung auszwerten und auszugeben. * Simple Erweiterung der Klasse {@link DefaultCheck} um das Ergebnis der Assertion-Prüfung auszuwerten und auszugeben.
* Diese Klasse stellt keine fachlicher Erweiterung des eigentlichen Prüfvorganges dar! * Diese Klasse stellt keine fachliche Erweiterung des eigentlichen Prüfvorganges dar!
* *
* @author Andreas Penski * @author Andreas Penski
*/ */

View file

@ -55,7 +55,7 @@ import net.sf.saxon.s9api.XdmNode;
import net.sf.saxon.s9api.XdmNodeKind; import net.sf.saxon.s9api.XdmNodeKind;
/** /**
* Configuration class that loads neccessary {@link Check} configuration from an existing scenario.xml specification. * Configuration class that loads necessary {@link Check} configuration from an existing scenario.xml specification.
* This is the recommended option when an official configuration exists as is the case with 'xrechnung'. * This is the recommended option when an official configuration exists as is the case with 'xrechnung'.
* *
* @author Andreas Penski * @author Andreas Penski

View file

@ -147,7 +147,7 @@ public class ConversionService {
} }
/** /**
* Unmarshalls a specifc xml model into a defined java object. * Unmarshalls a specific XML model into a defined Java object.
* *
* @param xml the xml * @param xml the xml
* @param type the expected type created * @param type the expected type created

View file

@ -33,7 +33,7 @@ import de.kosit.validationtool.impl.xml.StrictRelativeResolvingStrategy;
public enum ResolvingMode { public enum ResolvingMode {
/** /**
* Resolving using only the configured content repository. No furthing resolving allowed. This * Resolving using only the configured content repository.
*/ */
STRICT_RELATIVE(new StrictRelativeResolvingStrategy()) { STRICT_RELATIVE(new StrictRelativeResolvingStrategy()) {