Skip to content

Commit

Permalink
Merge pull request #26 from olyutorskii/release/v2.101.6
Browse files Browse the repository at this point in the history
Release/v2.101.6
  • Loading branch information
olyutorskii committed Aug 8, 2018
2 parents 4b1cbc2 + 5229066 commit 43dfdb2
Show file tree
Hide file tree
Showing 12 changed files with 209 additions and 146 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ language: java
sudo: false

jdk:
- oraclejdk9
- oraclejdk8
- oraclejdk7
- openjdk8
- openjdk7

cache:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ DoubDabC Changelog
## WIP
Released on 20XX-XX-XX

## v2.101.6
Released on 2018-08-08
- BugFix: Missing copies when 8N+1 length decimal. Fixed #25
- Move PMD & Checkstyle config files to folder.
- Add Mersenne prime#32 (2^756839 -1) benchmark test.

## v2.101.4
Released on 2017-06-22
- Correspond to Maven 3.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

<!--
Checkstyle suppressions
for Checkstyle 6.19(7.4) or later
for Checkstyle 6.19 or later
[ http://checkstyle.sourceforge.net/ ]
Copyright(c) 2017 olyutorskii
Copyright(c) 2010 olyutorskii
-->


Expand All @@ -27,6 +27,9 @@
<!-- Imports -->
<suppress files="" checks="ImportControl" />

<!-- Javadoc Comments -->
<suppress files="" checks="SummaryJavadocCheck" />

<!-- Miscellaneous -->
<suppress files="" checks="FinalParameters" />
<suppress files="" checks="TrailingComment" />
Expand Down
8 changes: 5 additions & 3 deletions checkstyle.xml → config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

<!--
Checkstyle modules
for Checkstyle 6.19(7.4) or later
for Checkstyle 6.18 or later
[ http://checkstyle.sourceforge.net/ ]
Copyright(c) 2017 olyutorskii
Copyright(c) 2010 olyutorskii
-->


Expand Down Expand Up @@ -83,6 +83,8 @@
<property name="tabWidth" value="8"/>
<property name="fileExtensions" value="java"/>

<module name="SuppressWarningsHolder" />


<!-- Annotations -->

Expand Down Expand Up @@ -329,7 +331,7 @@
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="SeparatorWrap" />
<module name="SingleSpaceSeparator" />
<!-- *6.19* module name="SingleSpaceSeparator" /-->
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" >
<property name="tokens" value="COMMA, SEMI,"/>
Expand Down
79 changes: 79 additions & 0 deletions config/pmd/pmdrules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8" ?>

<!--
Custom rule set
for PMD [ https://pmd.github.io/ ] 6.4.0 or later
Copyright(c) 2016 olyutorskii
-->

<ruleset
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0
http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
name="Custom ruleset"
>

<description>
custom rulesets
</description>

<rule ref="category/java/bestpractices.xml" />

<rule ref="category/java/codestyle.xml" >
<exclude name="CommentDefaultAccessModifier" />
<exclude name="DefaultPackage" />
<exclude name="LocalVariableCouldBeFinal" />
<exclude name="MethodArgumentCouldBeFinal" />
<exclude name="OnlyOneReturn" />
<exclude name="ShortVariable" />
<exclude name="UnnecessaryLocalBeforeReturn" />
<exclude name="UnnecessaryReturn" />
</rule>
<rule ref="category/java/codestyle.xml/ControlStatementBraces" >
<properties>
<property name="checkIfElseStmt" value="false"/>
<property name="checkSingleIfStmt" value="false"/>
</properties>
</rule>

<rule ref="category/java/design.xml" >
<exclude name="LawOfDemeter" />
<exclude name="LoosePackageCoupling" />
</rule>

<rule ref="category/java/documentation.xml" />
<rule ref="category/java/documentation.xml/CommentRequired" >
<properties>
<property name="fieldCommentRequirement" value="Ignored"/>
</properties>
</rule>
<rule ref="category/java/documentation.xml/CommentSize" >
<properties>
<property name="maxLines" value="25"/>
</properties>
</rule>

<rule ref="category/java/errorprone.xml" >
<exclude name="AvoidLiteralsInIfCondition" />
<exclude name="BeanMembersShouldSerialize" />
<exclude name="DataflowAnomalyAnalysis" />
</rule>

<rule ref="category/java/multithreading.xml" />

<rule ref="category/java/performance.xml" >
<exclude name="ConsecutiveAppendsShouldReuse" />
<exclude name="RedundantFieldInitializer" />
</rule>

<rule ref="category/java/security.xml" />

<!--rule ref="category/pom/errorprone.xml" /-->

<!--rule ref="category/xml/errorprone.xml" /-->

</ruleset>

<!-- EOF -->
108 changes: 0 additions & 108 deletions pmdrules.xml

This file was deleted.

Loading

0 comments on commit 43dfdb2

Please sign in to comment.