Thursday, February 24, 2005

A bozo moment

In my previous post I made a big to do about needing an extra class for pulling together all the generics. My example called it LocalDirectoryType. Guess what? I don't need it.

public class LocalDirectory extends LocalEntity<LocalDirectory>
        implements Directory<LocalDirectory> {
    // Constructors, and unimplemented directory-specific methods
}

That's it. Strike the section named The final problem: it was a solution in search of a problem.

No comments: