3 ms·
Liskov Substitution Principle Violation Spotted in the Wild
- mooism2 16y agoOn the one hand, yes, this is a terrible implementation choice. But on the other hand, it's the Java standard library, what do you expect? Even arrays built into the language don't obey LSP.