Skip to content
Snippets Groups Projects
Commit 287e046c authored by felmer's avatar felmer
Browse files

SSDM-6228: Refactoring: use local variable archivingRequested

parent cb4f708a
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ public class UpdateDataSetPhysicalDataExecutor implements IUpdateDataSetPhysical ...@@ -52,7 +52,7 @@ public class UpdateDataSetPhysicalDataExecutor implements IUpdateDataSetPhysical
if (physicalData != null && physicalData.getValue() != null) { if (physicalData != null && physicalData.getValue() != null) {
FieldUpdateValue<Boolean> archivingRequested = physicalData.getValue().getArchivingRequested(); FieldUpdateValue<Boolean> archivingRequested = physicalData.getValue().getArchivingRequested();
if (archivingRequested != null && archivingRequested.getValue() != null) { if (archivingRequested != null && archivingRequested.getValue() != null) {
externalDataPE.setArchivingRequested(dataSetUpdate.getPhysicalData().getValue().getArchivingRequested().getValue()); externalDataPE.setArchivingRequested(archivingRequested.getValue());
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment