The 30 minute Introduction contains some errors:

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 );

Michael

-- 
Michael Hunger
Independent Consultant

Web: http://www.jexp.de
Email: [EMAIL PROTECTED]

Enthusiastic Evangelist for Better Software Development
We support Software Engineering Radio (www.se-radio.net)


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

Reply via email to