Created
December 22, 2021 13:34
-
-
Save uzilan/3f254fe2a31933eb6cbc5c116e65e156 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package some.system; | |
import third.party.Coords; | |
import third.party.CoordsConverter; | |
public class UntrustworthyCoordsConverterFacade { | |
public static ImmutableCoords fromRT90ToWGS84(ImmutableCoords rt90) { | |
Coords coordsToSend = new Coords(rt90.x, rt90.y); | |
Coords transformedCoords = CoordsConverter.fromRT90ToWGS84(coordsToSend); | |
return new ImmutableCoords( | |
transformedCoords.x, | |
transformedCoords.y); | |
} | |
// more methods | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment