Duplicate Code in Generators
Brought to you by:
ptrewhella
I downloaded 0.4 and noticed that the CppOutputDir and
JavaOutputDir methods weren't working (I see they've
since been fixed in CVS).
When I went to fix my copy of 0.4, I had to edit about 6
files, as the logic for creating the output directory is
duplicated across all of the peer and proxy generator
classes.
I suggest extracting a Generator superclass and pulling
this common code up. Since you're already using JUnit,
you could write some tests for these (if you don't have
them already)