You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/02/17 11:40:01 UTC
[sling-slingfeature-maven-plugin] branch master updated: Code cleanup - use java.util
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 161ef08 Code cleanup - use java.util
161ef08 is described below
commit 161ef08e565fd96c634b1ef24709a11cf6131817
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Feb 17 12:39:27 2022 +0100
Code cleanup - use java.util
---
.../java/org/apache/sling/feature/maven/mojos/apis/FileSource.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/feature/maven/mojos/apis/FileSource.java b/src/main/java/org/apache/sling/feature/maven/mojos/apis/FileSource.java
index 17d8d66..98db079 100644
--- a/src/main/java/org/apache/sling/feature/maven/mojos/apis/FileSource.java
+++ b/src/main/java/org/apache/sling/feature/maven/mojos/apis/FileSource.java
@@ -17,11 +17,11 @@
package org.apache.sling.feature.maven.mojos.apis;
import java.io.File;
+import java.util.Collections;
import java.util.List;
import org.apache.sling.feature.maven.mojos.apis.spi.Source;
-import edu.emory.mathcs.backport.java.util.Collections;
public class FileSource implements Source {
@@ -39,7 +39,6 @@ public class FileSource implements Source {
return directory;
}
- @SuppressWarnings("unchecked")
@Override
public List<File> getFiles() {
return Collections.singletonList(this.file);