Skip to content

Commit

Permalink
Stylistic fixes suggested in pull request review
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnoff committed Apr 28, 2019
1 parent 9f1c713 commit 69cee32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/jpeek/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ final class Report {
* @param sigma Sigma
* @checkstyle ParameterNumberCheck (10 lines)
*/
@SuppressWarnings("unchecked")
Report(final XML xml, final String name,
final Map<String, Object> args,
final double mean, final double sigma) {
Expand Down Expand Up @@ -209,7 +208,7 @@ public void save(final Path target) throws IOException {
*/
private XML xml() throws IOException {
final String name = String.format("metrics/%s.xsl", this.metric);
final URL res = this.getClass().getResource(name);
final URL res = Report.class.getResource(name);
if (res == null) {
throw new IllegalArgumentException(
String.format("XSL not found: %s", name)
Expand Down

0 comments on commit 69cee32

Please sign in to comment.