The return for an annotation processor is to notify caller that the
processor claims the annotations.  In this case the process always claims
them so always return true. I will remove the inner return to prevent
confusion.


On Wed, Mar 12, 2014 at 3:30 AM, Martin Grigorov
<notifications@github.com>wrote:

> In
> jdk-1.6-parent/wicket-servlet3-parent/wicket-servlet3-auth/src/main/java/org/wicketstuff/wicket/mount/secure/processor/SecureMountAnnotationProcessor.java:
>
> > +					final AuthorizeInstantiation mp = elem.getAnnotation(AuthorizeInstantiation.class);
> > +					processMountPoint(context, elem, mp);
> > +				}
> > +				for (Element elem : roundEnv.getElementsAnnotatedWith(MountPath.class))
> > +				{
> > +					final MountPath mp = elem.getAnnotation(MountPath.class);
> > +					processMountPoint(context, elem, mp);
> > +				}
> > +
> > +				generateSource(context);
> > +			}
> > +
> > +			return true;
> > +		} catch (IOException ex)
> > +		{
> > +			Logger.getLogger(SecureMountAnnotationProcessor.class.getName()).log(Level.SEVERE, null, ex);
>
> return false ?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/wicketstuff/core/pull/291/files#r10507823>
> .
>