removed the checl for the community name in the common version on MakeTar

This commit is contained in:
Miriam Baglioni 2020-11-24 14:36:15 +01:00
parent 259c67ce36
commit 73dbb79602
1 changed files with 3 additions and 3 deletions

View File

@ -90,9 +90,9 @@ public class MakeTarArchive implements Serializable {
String p_string = p.toString();
if (!p_string.endsWith("_SUCCESS")) {
String name = p_string.substring(p_string.lastIndexOf("/") + 1);
if (name.trim().equalsIgnoreCase("communities_infrastructures")) {
name = "communities_infrastructures.json";
}
// if (name.trim().equalsIgnoreCase("communities_infrastructures")) {
// name = "communities_infrastructures.json";
// }
TarArchiveEntry entry = new TarArchiveEntry(dir_name + "/" + name);
entry.setSize(fileStatus.getLen());
current_size += fileStatus.getLen();