code: public static Polygon createSimplePolygon( Coordinate[] coords ) {
          LinearRing linearRing = gf().createLinearRing(coords);
          return gf().createPolygon(linearRing, null);
      }
docs: Create a simple polygon (no holes).
  
  @param coords the coords of the polygon.
  @return the {@link Polygon}.