Skip to content
Snippets Groups Projects
Commit c3963566 authored by Dr. Carl Corea's avatar Dr. Carl Corea
Browse files

Update SubsumptionVerifier.java

parent 7c684e29
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ public class SubsumptionVerifier extends AbstractVerifier {
StringBuilder sb = new StringBuilder();
sb.append("In table ");
sb.append(subsumptionRules.get(0).getRuleIdentifier().getTableName());
sb.append(" rule");
sb.append(", rule");
if (subsumptionRules.size() > 1) {
sb.append("s");
}
......@@ -182,9 +182,14 @@ public class SubsumptionVerifier extends AbstractVerifier {
.map(c -> c.getRuleIdentifier().getRowNumber().toString())
.sorted()
.collect(Collectors.joining(", ")));
sb.append(" subsumes rule");
if (subsumptionRules.size() > 1) {
sb.append("subsume"); //Plural
}else{
sb.append(" subsumes rule");
}
if (currentRuleIdentifiers.size() > 2) {
sb.append("s");
sb.append("s");
}
sb.append(" ");
sb.append(
......@@ -200,7 +205,7 @@ public class SubsumptionVerifier extends AbstractVerifier {
.collect(Collectors.joining(", ")));
sb.append(".");
if (isDifferentConclusion) {
sb.append(" The output has different conclusions!");
sb.append(" The outputs have different conclusions!");
} else {
sb.append(" The output is the same.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment