Skip to content

Commit

Permalink
Fixed PMD violation
Browse files Browse the repository at this point in the history
  • Loading branch information
Polina Volkhontseva committed Apr 12, 2022
1 parent a9f0276 commit c75a5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qulice-pmd/src/main/java/com/qulice/pmd/PmdValidator.java
Expand Up @@ -66,7 +66,7 @@ public Collection<Violation> validate(final Collection<File> files) {
final Collection<DataSource> sources = new LinkedList<>();
for (final File file : files) {
final String name = file.getPath().substring(
this.env.basedir().toString().length()
this.env.basedir().toString().length()
);
if (!this.env.exclude("pmd", name)) {
sources.add(new FileDataSource(file));
Expand Down

0 comments on commit c75a5f1

Please sign in to comment.