Skip to content

Commit

Permalink
Commented out a block that seems to have no effect and has a typo in …
Browse files Browse the repository at this point in the history
  • Loading branch information
markku committed Nov 24, 2011
1 parent 950f601 commit f5b5a5d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -3,3 +3,5 @@ work
*.iml
*.ipr
*.iws
.classpath
.project
Expand Up @@ -135,17 +135,17 @@ private static CategoryDataset buildDataset(CcccBuildAction lastAction) throws C
CcccReport report = result.getReport();
NumberOnlyBuildLabel buildLabel = new NumberOnlyBuildLabel(action.getBuild());

try {
Class projectSummaryClass = ProjectSummary.class;
Method method = projectSummaryClass.getMethod("nbNodules");
Number n = (Number) method.invoke(report.getStructuralSummaryModuleList());
} catch (NoSuchMethodException nse) {
throw new CCCCException(nse);
} catch (IllegalAccessException iae) {
throw new CCCCException(iae);
} catch (InvocationTargetException ite) {
throw new CCCCException(ite);
}
// try {
// Class projectSummaryClass = ProjectSummary.class;
// Method method = projectSummaryClass.getMethod("nbNodules");
// Number n = (Number) method.invoke(report.getStructuralSummaryModuleList());
// } catch (NoSuchMethodException nse) {
// throw new CCCCException(nse);
// } catch (IllegalAccessException iae) {
// throw new CCCCException(iae);
// } catch (InvocationTargetException ite) {
// throw new CCCCException(ite);
// }
if (report.getProjectSummary() == null)
builder.add(0, "Number of module", buildLabel);
else
Expand Down

0 comments on commit f5b5a5d

Please sign in to comment.