Skip to content

Commit

Permalink
fixed is Forzen for Dynamic Providers
Browse files Browse the repository at this point in the history
Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
  • Loading branch information
juergen-albert committed May 2, 2024
1 parent 35548ac commit eafcc6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.eclipse.sensinact.core.model.Service;
import org.eclipse.sensinact.core.model.ServiceBuilder;
import org.eclipse.sensinact.core.model.nexus.ModelNexus;
import org.eclipse.sensinact.model.core.provider.ProviderPackage;

public class ModelImpl extends CommandScopedImpl implements Model {

Expand All @@ -50,7 +49,8 @@ public ModelImpl(AtomicBoolean active, String name, EClass eClass, ModelNexus ne
@Override
public boolean isFrozen() {
checkValid();
return !ProviderPackage.Literals.DYNAMIC_PROVIDER.isSuperTypeOf(eClass) && ((EClassImpl) eClass).isFrozen();
// return !ProviderPackage.Literals.DYNAMIC_PROVIDER.isSuperTypeOf(eClass) && ((EClassImpl) eClass).isFrozen();
return ((EClassImpl) eClass).isFrozen();
}

@Override
Expand Down

0 comments on commit eafcc6e

Please sign in to comment.