Open GoogleCodeExporter opened 9 years ago
[deleted comment]
[deleted comment]
Ooops. Duplicate of 166.
Original comment by oliver.b...@googlemail.com
on 18 Feb 2008 at 9:15
This can be solved by using the command-extension.
Added util class that orders modules before creation.
Could be improved by a more sophisticated Comparator.
Bye, Oli.
PS: WorksForMe
Original comment by oliver.b...@googlemail.com
on 28 Feb 2008 at 4:15
Attachments:
Dude, this is fantastic! I'm thrilled to see that the commands/ package is
being put to good use.
I reviewed your code and I have some suggestions:
- Consider using the CommandVisitor in order to assign ranks to commands. The visitor takes some getting
used to, but it should provide a more elegant mapping.
- It's necessary to call setInjector on the FutureInjector. This is necessary for the getProvider() command
work.
- Use an ArrayList rather than a LinkedList to sort the commands; the LinkedList needs to be copied into a
temporary array to be sorted
Again, nice work.
Original comment by limpbizkit
on 28 Feb 2008 at 8:36
Closing as duplicate of 166.
Original comment by limpbizkit
on 13 May 2008 at 8:45
Original issue reported on code.google.com by
oliver.b...@googlemail.com
on 16 Feb 2008 at 11:25Attachments: