add comments
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343161 13f79535-47bb-0310-9956-ffa450edef68master
parent
fe79314db9
commit
09b55931a9
|
|
@ -146,7 +146,7 @@ public class JavaAnnotationsMojoDescriptorExtractor
|
|||
|
||||
if ( !isMojoAnnnotatedClassCandidate( mojoAnnotatedClass ) )
|
||||
{
|
||||
|
||||
// we don't scan sources for classes without mojo annotations
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@ public class DefaultMojoAnnotationsScanner
|
|||
|
||||
private MojoAnnotatedClass isStoreClass( MojoAnnotatedClass mojoAnnotatedClass )
|
||||
{
|
||||
// see MPLUGIN-206 we can have intermediate classes without annotations
|
||||
if ( mojoAnnotatedClass == null )
|
||||
{
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue