diff --git a/wise-webapp/src/main/java/com/wisemapping/model/MindmapUtils.java b/wise-webapp/src/main/java/com/wisemapping/model/MindmapUtils.java index c3d96579..5607ea22 100644 --- a/wise-webapp/src/main/java/com/wisemapping/model/MindmapUtils.java +++ b/wise-webapp/src/main/java/com/wisemapping/model/MindmapUtils.java @@ -36,10 +36,16 @@ abstract public class MindmapUtils { throw InvalidMindmapException.invalidFormat(xmlDoc); } - // Validate that the number of nodes is not bigger 500 nodes. int numberOfTopics = xmlDoc.split(" MAX_SUPPORTED_NODES) { throw InvalidMindmapException.tooBigMindnap(numberOfTopics); } + } }