I have a library that writes data in either a text or binary format. It has the following three components:
- common data structures
- text writer (depends on 1)
- binary writer (depends on 1)
The obvious way to distribute this is as 3 .jar files, so that users can include only what they need.
However, the "common data structures" component is really just two small classes so I'm considering creating only two .jar files and including the common .class files in both.
My question: What are the potential problems with doing this?