Back-port fix from MNT-19967

(cherry picked from commit 4de260d588)
This commit is contained in:
cagache
2018-09-27 12:40:04 +03:00
committed by rlucanu
parent 8438e17a8d
commit 82046a2f0f

View File

@@ -348,9 +348,6 @@ public class DispositionServiceImpl extends ServiceBaseImpl
return ds;
}
/**
* This method returns a NodeRef
* Gets the disposition instructions
@@ -383,7 +380,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
NodeRef result = getAssociatedDispositionScheduleImpl(parent);
if (result == null)
{
return null;
return getOriginDispositionSchedule(parent);
}
return new DispositionScheduleImpl(serviceRegistry, nodeService, result);
}