Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Muñiz committed Nov 18, 2014
1 parent 37cd6d0 commit 5f8eba8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public class PDFReportPlugin extends SonarPlugin {
public List<Class< ? extends Extension>> getExtensions() {
List<Class< ? extends Extension>> extensions = new ArrayList<Class< ? extends Extension>>();
extensions.add(PDFPostJob.class);
extensions.add(ReportDataMetric.class);
extensions.add(PdfReportWidget.class);
return extensions;
}
Expand Down
37 changes: 0 additions & 37 deletions src/main/java/org/sonar/report/pdf/plugin/ReportDataMetric.java

This file was deleted.

2 changes: 0 additions & 2 deletions src/main/java/org/sonar/report/pdf/util/FileUploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ public static void upload(final File file, final String url) {
LOG.info("PDF uploaded.");
} else {
LOG.error("Something went wrong storing the PDF at server side. Status: " + status);
System.err.println("Something went wrong storing the PDF at server side. Status: " + status);
}
} catch (Exception ex) {
LOG.error("Something went wrong storing the PDF at server side", ex);
System.err.println("Something went wrong storing the PDF at server side");
ex.printStackTrace();
} finally {
filePost.releaseConnection();
Expand Down

0 comments on commit 5f8eba8

Please sign in to comment.