Skip to content

Commit

Permalink
Minor quality improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
maesenka committed Mar 31, 2021
1 parent 583fe73 commit e2ee73b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
*/
public class Projections {

final private static Map<CrsId, Class<? extends CoordinateOperation>> METHODS = new HashMap<>();
// final private static Map<CrsId, Class<? extends CoordinateOperation>> METHODS = new HashMap<>();

static {
//TODO do this using reflection
METHODS.put(CrsId.valueOf(1024), PseudoMercator.class);
METHODS.put(CrsId.valueOf(9802), PseudoMercator.class);
}
// static {
// //TODO do this using reflection
// METHODS.put(CrsId.valueOf(1024), PseudoMercator.class);
// METHODS.put(CrsId.valueOf(9802), PseudoMercator.class);
// }

public static CoordinateOperation buildFrom(ProjectedCoordinateReferenceSystem projected) {
Projection projection = projected.getProjection();
Expand Down

0 comments on commit e2ee73b

Please sign in to comment.