Please don't remove the deprecated annotation, postgis-jdbc should have not used that method in first place, and it's just a convenience method that should not be public.
It's ok to have that method forever, but the deprecated annotation is a clear sign that it should not be used, for future use.
I get the problem with current getMajor/MinorVersion, but isn't more appropriate to redirect anyone directly to org.postgresql.util.DriverInfo for those that want "special" formating? (here with a big asterisk that this class should not be for "public use").