Gitlab service upgraded. Please report any problems to dl_gitadmin@cs.lth.se

Commit 3b2e13a8 authored by Anders Nilsson's avatar Anders Nilsson

Fixed bug(?)

parent b7465562
......@@ -348,7 +348,7 @@ aspect GenRewrites {
// Rearrange device nodes on the AST to get away from the
// current diagonal style from Protege
pStream.println(ind(1)+"rewrite "+name()+" {");
pStream.println(ind(2)+"when (!isTopElement() && getAttribute(0) instanceof RdfId)");
pStream.println(ind(2)+"when (!isTopElement() && !(getAttribute(0) instanceof RdfId))");
pStream.println(ind(2)+"to ClassUse {");
pStream.println(ind(3)+"ClassUse use = new ClassUse();");
pStream.println(ind(3)+"use.setOwlIdentifier(new OwlIdentifier(\""+name()+"\"));");
......
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