Commit 735c4326 authored by Stéphane  DALLONGEVILLE's avatar Stéphane DALLONGEVILLE
Browse files

simplify

parent ca382580
......@@ -37,8 +37,7 @@ public class GetROIDescriptorValue extends Plugin implements ROIBlock, PluginLib
{
final Sequence seq = sequence.getValue();
final String descriptorId = descriptor.getValue();
final ROIDescriptor roiDescriptor = ROIDescriptor.getDescriptor(ROIDescriptor.getDescriptors().keySet(),
descriptorId);
final ROIDescriptor roiDescriptor = ROIDescriptor.getDescriptor(descriptorId);
if (roiDescriptor == null)
throw new VarException(descriptor, "Cannot found '" + descriptorId + "' ROI descriptor !");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment