Removed uneeded function
This commit is contained in:
parent
477364477c
commit
d4b2edada8
|
@ -19,7 +19,6 @@ import org.gcube.informationsystem.utils.documentation.knowledge.Node;
|
|||
import org.gcube.informationsystem.utils.documentation.knowledge.NodeElaborator;
|
||||
import org.gcube.informationsystem.utils.documentation.knowledge.Tree;
|
||||
import org.gcube.informationsystem.utils.documentation.model.DocumentationGenerator;
|
||||
import org.gcube.informationsystem.utils.documentation.model.entities.ResourceDocumentationGenerator;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -110,22 +109,6 @@ public class TreeGenerator extends Generator {
|
|||
tree.elaborate(documentationNE);
|
||||
}
|
||||
|
||||
|
||||
public void createUsageKnowledge(Tree tree) throws Exception {
|
||||
|
||||
NodeElaborator usageKnowledgeNE = new NodeElaborator() {
|
||||
|
||||
@Override
|
||||
public void elaborate(Node node, int level) throws Exception {
|
||||
Type type = node.getType();
|
||||
ResourceDocumentationGenerator dg = new ResourceDocumentationGenerator(type);
|
||||
dg.createUsageKnowledge();
|
||||
}
|
||||
};
|
||||
|
||||
tree.elaborate(usageKnowledgeNE);
|
||||
}
|
||||
|
||||
public void generate() throws Exception {
|
||||
|
||||
File is = getFile(IS_MODEL_FILENAME, true);
|
||||
|
|
Loading…
Reference in New Issue