Skip to content
Snippets Groups Projects
Commit 3b2e13a8 authored by Anders Nilsson's avatar Anders Nilsson
Browse files

Fixed bug(?)

parent b7465562
No related branches found
No related tags found
No related merge requests found
......@@ -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()+"\"));");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment