Skip to content

Commit

Permalink
Issue #21: Report Component
Browse files Browse the repository at this point in the history
  • Loading branch information
Luolc committed Jul 14, 2017
1 parent 000ef03 commit 98f4538
Show file tree
Hide file tree
Showing 10 changed files with 743 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/import-control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@
<subpackage name="git">
<allow pkg="org.eclipse.jgit"/>
</subpackage>

<subpackage name="report">
<allow class="java.net.URL"/>
<allow pkg="org.apache.commons.io"/>
</subpackage>
</import-control>
6 changes: 6 additions & 0 deletions config/pmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
<!-- Checkstyle is not thread safe -->
<exclude name="UseConcurrentHashMap"/>
</rule>
<rule ref="rulesets/java/controversial.xml/UseObjectForClearerAPI">
<properties>
<!-- Considering fix this later, since the interface might be changed. -->
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@Image='ReportGenerator']"/>
</properties>
</rule>
<rule ref="rulesets/java/controversial.xml/AvoidUsingShortType">
<properties>
<!-- that class integrates checkstyle and antlr that is why it has a lot of imports -->
Expand Down
Loading

0 comments on commit 98f4538

Please sign in to comment.