Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0d87bc14 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- garded clear() so that it can be called before any OntologyFactory

  has been created
parent d5b1bb69
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,10 @@ public abstract class OntologyFactory { ...@@ -75,8 +75,10 @@ public abstract class OntologyFactory {
} }
public static void clear() { public static void clear() {
for ( OntologyFactory of : instances.values() ){ if ( instances != null ) {
of.clearCache(); for ( OntologyFactory of : instances.values() ){
of.clearCache();
}
} }
} }
......
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