Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 81a31aee authored by Dominique Marcadet's avatar Dominique Marcadet

check resource is not emptyin finalizeLoad()

parent 7c0e7166
......@@ -52,8 +52,10 @@ public class SclResourceImpl extends XMLResourceImpl implements IRiseClipseResou
@Override
public void finalizeLoad( boolean ignore_unresolved_reference ) {
ExplicitLinkResolver scl = ( ExplicitLinkResolver ) getContents().get( 0 );
scl.resolveLinks();
if( getContents().size() > 0 ) {
ExplicitLinkResolver scl = ( ExplicitLinkResolver ) getContents().get( 0 );
scl.resolveLinks();
}
}
} // SclResourceImpl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment