git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/DataMiner@179518 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9d6794ffde
commit
ed556a9960
|
@ -504,7 +504,7 @@ public class DataspaceManager implements Runnable {
|
||||||
List<ItemContainer<? extends Item>> wi = computationContainer.findByName(computation.id).getContainers();
|
List<ItemContainer<? extends Item>> wi = computationContainer.findByName(computation.id).getContainers();
|
||||||
if (wi.isEmpty()) {
|
if (wi.isEmpty()) {
|
||||||
for (ItemContainer<? extends Item> container : wi)
|
for (ItemContainer<? extends Item> container : wi)
|
||||||
container.delete();
|
container.forceDelete();
|
||||||
} else
|
} else
|
||||||
LOGGER.debug("Dataspace->Warning Could not find {} under {}", computation.id,
|
LOGGER.debug("Dataspace->Warning Could not find {} under {}", computation.id,
|
||||||
computationContainer.get().getName());
|
computationContainer.get().getName());
|
||||||
|
@ -513,7 +513,7 @@ public class DataspaceManager implements Runnable {
|
||||||
.getContainers();
|
.getContainers();
|
||||||
|
|
||||||
if (fileComputations.size() > 0)
|
if (fileComputations.size() > 0)
|
||||||
fileComputations.get(0).delete();
|
fileComputations.get(0).forceDelete();;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO: ASK GIANPAOLO int maxtries = 3; int i =1; while
|
* TODO: ASK GIANPAOLO int maxtries = 3; int i =1; while
|
||||||
|
|
Loading…
Reference in New Issue