Skip to content

Commit d476244

Browse files
committed
build(pmd): exclude DefaultPackage rule to resolve conflict with CommentDefaultAccessModifier.
No functional changes.
1 parent fd2b4b9 commit d476244

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

src/main/config/pmd.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
<exclude name="OnlyOneReturn" />
3535
<exclude name="DataflowAnomalyAnalysis" />
3636
<exclude name="UseConcurrentHashMap" />
37+
<!-- conflicts with CommentDefaultAccessModifier -->
38+
<exclude name="DefaultPackage" />
3739
</rule>
3840

3941
<rule ref="rulesets/java/comments.xml">

src/main/java/ru/mystamps/web/feature/account/RowMappers.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
import java.sql.ResultSet;
2121
import java.sql.SQLException;
2222

23-
// this class only for this package
24-
@SuppressWarnings("PMD.DefaultPackage")
2523
final class RowMappers {
2624

2725
private RowMappers() {

src/main/java/ru/mystamps/web/feature/collection/RowMappers.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
import ru.mystamps.web.dao.dto.LinkEntityDto;
2626
import ru.mystamps.web.support.jdbc.JdbcUtils;
2727

28-
// this class only for this package
29-
@SuppressWarnings("PMD.DefaultPackage")
3028
final class RowMappers {
3129

3230
private RowMappers() {

src/main/java/ru/mystamps/web/feature/image/RowMappers.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
import java.sql.ResultSet;
2121
import java.sql.SQLException;
2222

23-
// this class only for this package
24-
@SuppressWarnings("PMD.DefaultPackage")
2523
final class RowMappers {
2624

2725
private RowMappers() {

src/main/java/ru/mystamps/web/feature/series/importing/RowMappers.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
import ru.mystamps.web.dao.dto.LinkEntityDto;
2424
import ru.mystamps.web.support.jdbc.JdbcUtils;
2525

26-
// this class only for this package
27-
@SuppressWarnings("PMD.DefaultPackage")
2826
final class RowMappers {
2927

3028
private RowMappers() {

0 commit comments

Comments
 (0)