Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ab264cc5 authored by Chan Leduc's avatar Chan Leduc
Browse files

--Cleaned some code

parent 8a65c449
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ import fr.inrialpes.exmo.align.impl.ObjectAlignment; ...@@ -83,7 +83,7 @@ import fr.inrialpes.exmo.align.impl.ObjectAlignment;
import fr.inrialpes.exmo.align.impl.URIAlignment; import fr.inrialpes.exmo.align.impl.URIAlignment;
import fr.inrialpes.exmo.align.impl.renderer.HTMLRendererVisitor; import fr.inrialpes.exmo.align.impl.renderer.HTMLRendererVisitor;
import fr.inrialpes.exmo.align.impl.renderer.OWLAxiomsRendererVisitor; import fr.inrialpes.exmo.align.impl.renderer.OWLAxiomsRendererVisitor;
import fr.inrialpes.exmo.align.onto.owlapi10.OWLAPIOntologyFactory; //import fr.inrialpes.exmo.align.onto.owlapi10.OWLAPIOntologyFactory;
import fr.inrialpes.exmo.align.parser.AlignmentParser; import fr.inrialpes.exmo.align.parser.AlignmentParser;
import fr.inrialpes.exmo.align.plugin.neontk.AlignFormLayoutFactory; import fr.inrialpes.exmo.align.plugin.neontk.AlignFormLayoutFactory;
import fr.inrialpes.exmo.align.plugin.neontk.AlignFormSectionFactory; import fr.inrialpes.exmo.align.plugin.neontk.AlignFormSectionFactory;
...@@ -1054,7 +1054,7 @@ public class AlignView extends ViewPart ...@@ -1054,7 +1054,7 @@ public class AlignView extends ViewPart
private HashMap<String,String> refreshOntoList(boolean online) { private HashMap<String,String> refreshOntoList(boolean online) {
HashMap<String,String> vec = new HashMap<String,String>(); HashMap<String,String> vec = new HashMap<String,String>();
OWLAPIOntologyFactory fact = new OWLAPIOntologyFactory(); //OWLAPIOntologyFactory fact = new OWLAPIOntologyFactory();
try { try {
String[] projects = DatamodelPlugin.getDefault().getOntologyProjects(); String[] projects = DatamodelPlugin.getDefault().getOntologyProjects();
if(projects != null) { if(projects != null) {
...@@ -1068,11 +1068,11 @@ public class AlignView extends ViewPart ...@@ -1068,11 +1068,11 @@ public class AlignView extends ViewPart
for(int k=0; k < uris.length; k++) { for(int k=0; k < uris.length; k++) {
//get only http URL //get only http URL
if(uris[k].startsWith("http://")) if(uris[k].startsWith("http://"))
try { //try {
fact.loadOntology(new URI(uris[k])); // fact.loadOntology(new URI(uris[k]));
vec.put(uris[k],projects[i]); vec.put(uris[k],projects[i]);
} catch (Exception ex) { //} catch (Exception ex) {
} //}
} }
} else { } else {
for(int k=0; k < uris.length; k++) { for(int k=0; k < uris.length; k++) {
......
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