>If we are going to make methods public then we are sort of publishing a contract and we can't just go about removing them.
So we should invent the contract.
The "problem" with current Driver#getMajorVersion/getMinorVersion is the methods return just int, and they do not have a room for a full version (e.g. JRE variation).
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.