nickbabcock / Pdoxcl2Sharp

A Paradox Interactive general file parser
MIT License
39 stars 13 forks source link

ParadoxStreamWriter should not have a public constructor #8

Closed nickbabcock closed 11 years ago

nickbabcock commented 11 years ago

ParadoxStreamWriter has a public constructor, but it cannot be instantiated due to its abstract nature. A public constructor on an abstract class is misleading to users and a bad design.

Rewrite public constructor to protected constructor.