Fix tests.
This commit is contained in:
@@ -24,16 +24,13 @@ import com.wisemapping.model.IconFamily;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
final public class FreemindIconConverter {
|
||||
|
||||
|
||||
private final static Map<String, MindmapIcon> freeIdToIcon = new HashMap<String, MindmapIcon>();
|
||||
private final static Map<MindmapIcon, String> iconToFreeId = new HashMap<MindmapIcon, String>();
|
||||
private final static Map<String, MindmapIcon> freeIdToIcon = new TreeMap<String, MindmapIcon>();
|
||||
private final static Map<MindmapIcon, String> iconToFreeId = new TreeMap<MindmapIcon, String>();
|
||||
|
||||
private FreemindIconConverter() {
|
||||
}
|
||||
|
@@ -94,7 +94,7 @@ public class FreemindImporter
|
||||
|
||||
}
|
||||
|
||||
public MindMap importMap(String mapName, String description, InputStream input) throws ImporterException {
|
||||
public MindMap importMap(@NotNull String mapName, @NotNull String description, @NotNull InputStream input) throws ImporterException {
|
||||
|
||||
final MindMap result = new MindMap();
|
||||
nodesMap = new HashMap<String, TopicType>();
|
||||
|
Reference in New Issue
Block a user