Skip to content
Snippets Groups Projects
Commit ab2383f0 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

YELLOW

parent 2ff9a9c4
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 57D86FA3AB9D46C3A625EBD926212424
* @ConQAT.Rating YELLOW Hash: 6AE7E4E99C508C7C8A299ED25460ECFE
*/
public final class ConstraintService implements IIntrospectiveKernelService, IConstraintService {
......@@ -164,7 +164,8 @@ public final class ConstraintService implements IIntrospectiveKernelService, ICo
@Override
public boolean isUpToDate(ConstraintInstance ci) {
if(ci == null) {
throw new NullPointerException();
// silently return in case of a null constraint instance
return true;
}
for(IConstrained c : ci.getConstraineds()) {
BigInteger computeCheckSum = computeCheckSum(c, ci);
......
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