code: public static Geometry normalize(Geometry geometry) {
          if(geometry == null){
              return null;
          }
          geometry.normalize();
          return geometry;
      }
docs: Converts this Geometry to normal form (canonical form).
  
  @param geometry
  @return