diff --git a/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/.ratings b/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/.ratings index 67e3927bbe67d9de64d37e7a96b45ecab5c975f4..691c1eb7178982b991e71ef260cad623ffb86cfb 100644 --- a/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/.ratings +++ b/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/.ratings @@ -1 +1 @@ -ToolingReuseActivator.java 0c381ee60aad6d6b37aa05b35c0473d24acae196 YELLOW +ToolingReuseActivator.java 52b9208684334f60ee8c0bc074c86f06f6248227 YELLOW diff --git a/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/ToolingReuseActivator.java b/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/ToolingReuseActivator.java index 0c381ee60aad6d6b37aa05b35c0473d24acae196..52b9208684334f60ee8c0bc074c86f06f6248227 100644 --- a/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/ToolingReuseActivator.java +++ b/org.fortiss.tooling.ext.reuse/src/org/fortiss/tooling/ext/reuse/ToolingReuseActivator.java @@ -15,9 +15,8 @@ +--------------------------------------------------------------------------*/ package org.fortiss.tooling.ext.reuse; -import static org.fortiss.tooling.ext.reuse.utils.ReuseLibraryModelElementFactory.createReuseLibrary; - import org.eclipse.core.runtime.Plugin; +import org.fortiss.tooling.ext.reuse.model.ReuseLibrary; import org.fortiss.tooling.kernel.service.IConstraintCheckerService; import org.osgi.framework.BundleContext; @@ -44,7 +43,7 @@ public class ToolingReuseActivator extends Plugin { // they should comply when they are outside of it (in a normal project). This is why the // ReuseLibrary needs to be registered as an exclusion for all the usual constraint checks. IConstraintCheckerService ccs = IConstraintCheckerService.getInstance(); - ccs.registerTypeAsExcludedParentForConstraintChecks(createReuseLibrary().getClass()); + ccs.registerTypeAsExcludedParentForConstraintChecks(ReuseLibrary.class); } /** {@inheritDoc} */