almost duplicate lines
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon May 6 15:58:25 PDT 2013
On 05/06/2013 03:55 PM, Jonathan Gibbons wrote:
> The following suspicious group of lines is in javadoc TypeMaker, round
> about line 67.
>
> -- Jon
>
> if (considerAnnotations
> && t.isAnnotated()) {
> return new AnnotatedTypeImpl(env,
> (com.sun.tools.javac.code.Type.AnnotatedType) t);
> }
>
> if (t.isAnnotated()) {
> Type.AnnotatedType at = (Type.AnnotatedType) t;
> return new AnnotatedTypeImpl(env, at);
> }
Ugh. Looks like a merge fault from back in January. I'll fix.
-- Jon
More information about the type-annotations-dev
mailing list