Skip to content

Commit

Permalink
Fix Reduce Everywhere label -> Preserve Semantics. (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulthomson authored Nov 29, 2018
1 parent 279ad9d commit bb8a863
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/src/main/java/com/graphicsfuzz/server/webui/WebUi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1317,9 +1317,9 @@ private void reduce(HttpServletRequest request, HttpServletResponse response)
args.add("--error-string");
args.add(errorRegex);
}
final String reduceEverywhere = request.getParameter("preserve-semantics");
if (reduceEverywhere != null) {
if (reduceEverywhere.equals("on")) {
final String preserveSemantics = request.getParameter("preserve-semantics");
if (preserveSemantics != null) {
if (preserveSemantics.equals("on")) {
args.add("--preserve-semantics");
}
}
Expand Down Expand Up @@ -1918,7 +1918,7 @@ private void htmlReductionForm(
"<table class='reduce_table'>",
"<tr>",
"<td align='right' class=''>",
"<p class='no_space'>Reduce Everywhere:</p>",
"<p class='no_space'>Preserve Semantics:</p>",
"</td>",
"<td class='checkbox'>",
(success
Expand Down

0 comments on commit bb8a863

Please sign in to comment.