Skip to content
Snippets Groups Projects
Commit f2ed9cd4 authored by Goik Martin's avatar Goik Martin
Browse files

Removing "Instance" from messages

parent e7a27774
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ public class InstanceTest {
final String result = reachablePoints + ((1 == reachablePoints) ? " point." : " points.");
if (testSucceeded) {
return "++Instance " + instanceFilename + ": Gaining " + result ;
return "++ " + instanceFilename + ": Gaining " + result ;
} else {
return "--" + errMsg.get() + " Missing " + result;
}
......@@ -128,9 +128,9 @@ public class InstanceTest {
log.info("Precondition file '" + preconditionValidFilename.get() + "' is valid");
preconditionSucceeded = true;
} catch (final SAXException e) {
tmpPreconditionErrMsg = "Instance " + xmlInstance +
":\n Precondition file »" + preconditionValidFilename.get() + "« is invalid:\n " +
e.getMessage() + "\n ";
tmpPreconditionErrMsg = " " + xmlInstance +
":\n Precondition file »" + preconditionValidFilename.get() + "« is invalid:\n " +
e.getMessage() + "\n ";
log.info(tmpPreconditionErrMsg + ": " + e.getCause() + ":" + e.getMessage());
} catch (final IOException e) {
tmpPreconditionErrMsg = "Instance '" + xmlInstance + ": Precondition file '" + preconditionValidFilename.get() + "' cannot be read:" + e.getMessage();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment