diff --git a/src/main/java/ocl/util/CheckXMLConsistency.java b/src/main/java/ocl/util/CheckXMLConsistency.java index bc7aa29..bd77f2b 100644 --- a/src/main/java/ocl/util/CheckXMLConsistency.java +++ b/src/main/java/ocl/util/CheckXMLConsistency.java @@ -93,7 +93,8 @@ public void IDUniqueness(Profile EQ, Profile TP, Profile SSH, Profile SV) throws ); results.add(evaluationResult); } - writeJsonResults(results); + if(results.size()!=0) + writeJsonResults(results); } /**