Skip to content

Commit

Permalink
Removed comment, added N/A display for script config
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrigos committed Nov 16, 2021
1 parent 4fa0235 commit 413f42a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ public static void generatePage(Map<String, Object> props) throws IOException {
for (Field field : clazz.getDeclaredFields()) {
try {
if (!skippedFields.contains(field.getName())) {
if (field.get(gen).toString().isEmpty()) {
field.set(gen, "N/A");
}
htmlTemp = htmlTemp.replace("$" + field.getName(), field.get(gen).toString());
FileUtils.writeStringToFile(newHtml, htmlTemp, utf8);
}
Expand Down Expand Up @@ -247,7 +250,6 @@ private static void createFailedTable(File file) throws IOException {
.entrySet()) {
String benchmarkName = benchmark.getKey();
String fingerprint = Requests.namesToFingerprints.get(benchmarkName);
// String compareVersion = Requests.getPreviousVersion(fingerprint);
Map<String, Map<String, Map<String, Object>>> benchVersions = benchmark.getValue();
for (Map.Entry<String, Map<String, Map<String, Object>>> versionEntry : benchVersions.entrySet()) {
String benchVersion = versionEntry.getKey();
Expand Down

0 comments on commit 413f42a

Please sign in to comment.