You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/11/27 03:27:22 UTC
[commons-vfs] 03/08: Fix PMD UnusedLocalVariable.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
commit d8c3c0dae4802bbefcf6a9f476c06ca4e63d5c73
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 26 21:09:37 2021 -0500
Fix PMD UnusedLocalVariable.
---
.../main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
index 26712c3..be699d7 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
@@ -406,7 +406,6 @@ public abstract class AbstractFileObject<AFS extends AbstractFileSystem> impleme
findFiles(selector, true, files);
// Delete 'em
- final int count = files.size();
for (final FileObject fileObject : files) {
final AbstractFileObject file = FileObjectUtils.getAbstractFileObject(fileObject);
// file.attach();