maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject [maven-archiver] branch MSHARED-747 updated: fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
Date Sat, 28 Jul 2018 19:49:04 GMT
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MSHARED-747
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git


The following commit(s) were added to refs/heads/MSHARED-747 by this push:
     new e50bfb1  fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
e50bfb1 is described below

commit e50bfb10b08d4f87ba5dfd0628c36646c8bb0c7f
Author: Karl Heinz Marbaise <khmarbaise@apache.org>
AuthorDate: Sat Jul 28 21:48:56 2018 +0200

    fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
---
 src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
index 05fda29..c657829 100644
--- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
+++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
@@ -238,10 +238,9 @@ public class MavenArchiverTest
         long time = jarFile.lastModified();
 
         List<File> files = FileUtils.getFiles( new File( "target/maven-archiver" ),
"**/**", null, true );
-        for ( Object file : files )
+        for ( File file : files )
         {
-            File f = (File) file;
-            f.setLastModified( time );
+            file.setLastModified( time );
         }
 
         archiver.createArchive( session, project, config );


Mime
View raw message