In CRSHelper#createCoordinateReferenceSystem(), we use the following test :
if (identifier.getCode().equals("EPSG:3857")) {}
and registry name like that
EPSGRegistry.getRegistryName() {return "epsg";}
I suggest
1 - to always use uppercase registry names in the code (e.g. in EPSGRegistry, ESRIRegistry, IGNFRegistry)
2 - to make all comparison of authorityName and authorityId case insensitive, and in particular in
CRSHelper#createCoordinateReferenceSystem
Identifier#equals, Identifier#hashCode
IdentifiableComponent#equals, IdentifiableComponent#hashcode
etc.
In CRSHelper#createCoordinateReferenceSystem(), we use the following test :
if (identifier.getCode().equals("EPSG:3857")) {}
and registry name like thatEPSGRegistry.getRegistryName() {return "epsg";}
I suggest 1 - to always use uppercase registry names in the code (e.g. in EPSGRegistry, ESRIRegistry, IGNFRegistry) 2 - to make all comparison of authorityName and authorityId case insensitive, and in particular in CRSHelper#createCoordinateReferenceSystem Identifier#equals, Identifier#hashCode IdentifiableComponent#equals, IdentifiableComponent#hashcode etc.