Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pdf-generator/src/main/java/com/bi/GenerateSonarReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public static void main(String[] args) throws IOException {
}
pdf.insertIndexAtBeginning();
pdf.addCoverPage("SonarQube Report", "Generated for "+ project);
pdf.save("reportes.pdf");
pdf.save("sonarqube-report.pdf");
}

private static String minsToDaysHoursMins(int minutes) {
Expand All @@ -652,10 +652,11 @@ private String getCountAsString(JSONArray jsonArray, int index) {
try {
return String.valueOf(jsonArray.getJSONObject(index).getString("count"));
} catch (JSONException e) {
System.err.println("Error al obtener 'count' en el índice " + index + ": " + e.getMessage());
System.err.println("Error at obtaning 'count' in the index " + index + ": " + e.getMessage());
return "";
}
}
return "";
}
}

}