add comments

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343161 13f79535-47bb-0310-9956-ffa450edef68
master
Olivier Lamy 2012-05-28 08:15:56 +00:00
parent fe79314db9
commit 09b55931a9
2 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class JavaAnnotationsMojoDescriptorExtractor
if ( !isMojoAnnnotatedClassCandidate( mojoAnnotatedClass ) ) if ( !isMojoAnnnotatedClassCandidate( mojoAnnotatedClass ) )
{ {
// we don't scan sources for classes without mojo annotations
continue; continue;
} }

View File

@ -230,6 +230,7 @@ public class DefaultMojoAnnotationsScanner
private MojoAnnotatedClass isStoreClass( MojoAnnotatedClass mojoAnnotatedClass ) private MojoAnnotatedClass isStoreClass( MojoAnnotatedClass mojoAnnotatedClass )
{ {
// see MPLUGIN-206 we can have intermediate classes without annotations
if ( mojoAnnotatedClass == null ) if ( mojoAnnotatedClass == null )
{ {
return null; return null;