On Tue, May 6, 2008 at 7:57 PM, Michael Hunger <[EMAIL PROTECTED]> wrote:
> The 30 minute Introduction contains some errors:

Thus the disclaimer "Under Construction"... ;o)

>  1) Operation.added is not valid it must be Operation.Type.added
>  2) publc Date getDatePerformed() must be public
>  3) the method completed() is not implemented by the Mixing
>  4) the Type "K" of container is missing from the generics declaration.
>  5) the generic argument <M> of the Operation constructor is missing in
>  the mixin:
>  final Operation<M> op = new Operation<M>( item, Operation.Type.added );
>  6) Calendar.roll just affects the day field not the month. So it has not
>  the desired effect. Use Calendar.add instead.
>  -> cal.add( Calendar.DAY_OF_MONTH, -90 );

Excellent. I have changed these. Since those were started, I want to
stick the source code into the SVN repository, and link it from the
web pages, so that the code can be tested in real life. So, if you
have an urge, an itch to scratch, then go to the
$QI4J\tutorials\introduction\thirtyminutes and make introduction code
right there, and I will link in the web pages.


Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to