Skip to content

Instantly share code, notes, and snippets.

@uzilan
Created December 22, 2021 13:34
Show Gist options
  • Save uzilan/3f254fe2a31933eb6cbc5c116e65e156 to your computer and use it in GitHub Desktop.
Save uzilan/3f254fe2a31933eb6cbc5c116e65e156 to your computer and use it in GitHub Desktop.
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