Skip to content
Permalink
Browse files
AMBARI-22653. ADDENDUM Infra Manager: s3 upload support for archiving…
… Infra Solr (Krisztian Kasa via oleewere)
  • Loading branch information
oleewere committed Dec 27, 2017
1 parent 79f7f13 commit a8530df5f056029ade5adb2f12e9554d540ea84d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
@@ -18,7 +18,6 @@
*/
package org.apache.ambari.infra;

import com.google.common.collect.Lists;
import org.apache.ambari.infra.steps.ExportJobsSteps;
import org.apache.commons.lang.StringUtils;
import org.jbehave.core.configuration.Configuration;
@@ -36,6 +35,7 @@

import java.io.File;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;

import static java.util.Collections.singletonList;
@@ -87,7 +87,7 @@ private static List<String> findStories(String property, String suffix, Class cl
}

private static List<String> findStoriesInFolder(String folderAbsolutePath, String suffix) {
List<String> results = Lists.newArrayList();
List<String> results = new ArrayList<>();
File folder = new File(folderAbsolutePath);
File[] listOfFiles = folder.listFiles();
if (listOfFiles != null) {

0 comments on commit a8530df

Please sign in to comment.