Skip to content

Commit

Permalink
[MPLUGIN-379] Report goal does not include threadSafe attribute in ge…
Browse files Browse the repository at this point in the history
…nerated documentation

This closes #50
  • Loading branch information
pzygielo authored and michael-o committed Nov 21, 2021
1 parent 2b4756d commit 64ec552
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,15 +312,14 @@ private void writeGoalAttributes( MojoDescriptor mojoDescriptor, XMLWriter w )
w.writeMarkup( format( "pluginxdoc.mojodescriptor.dependencyCollectionRequired", value ) );
w.endElement(); //li
}
}

if ( extendedMojoDescriptor.isThreadSafe() )
{
addedUl = addUl( w, addedUl );
w.startElement( "li" );
w.writeMarkup( getString( "pluginxdoc.mojodescriptor.threadSafe" ) );
w.endElement(); //li
}

if ( mojoDescriptor.isThreadSafe() )
{
addedUl = addUl( w, addedUl );
w.startElement( "li" );
w.writeMarkup( getString( "pluginxdoc.mojodescriptor.threadSafe" ) );
w.endElement(); //li
}

value = mojoDescriptor.getSince();
Expand Down

0 comments on commit 64ec552

Please sign in to comment.