On Apr 28, 2:46 pm, Adam Smith <[email protected]> wrote:
> Is this the output that is expected in a successful homework assignment for
> Lab 1107?
>
> run:
> Class AnnotatedClass has 1 annotations
> Annotation 0: @RequestForEnhancement(engineer=Adam C. Smith, date=4/28/2009,
> id=777, synopsis=Finish Homework), typeRequestForEnhancement
> BUILD SUCCESSFUL (total time: 0 seconds)
>
I'd put the level of expectation a bit higher, transforming the result
in something more human readable.
For example:

Class: MyOwnAnnotationExample
         Method: calculate
                 Annotation: RequestForEnhancement
                         id: 5369864
                         Synopsis: Calculates a * (b + a). Enhancement
requested: should test int overflow
                         Engineer: Ms. Boon

And unless the homework has changed, the annotation has to be on a
method, not just on a class.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to