HHH-10157 - Fix checkstyle error
This commit is contained in:
parent
265d5d9b88
commit
3699cdb3f9
|
@ -102,7 +102,8 @@ public class PGGeometryTypeDescriptor implements SqlTypeDescriptor {
|
||||||
if (pgValue.charAt( 0 ) == 'S') { // /we have a Wkt value
|
if (pgValue.charAt( 0 ) == 'S') { // /we have a Wkt value
|
||||||
final WktDecoder decoder = Wkt.newDecoder( Wkt.Dialect.POSTGIS_EWKT_1 );
|
final WktDecoder decoder = Wkt.newDecoder( Wkt.Dialect.POSTGIS_EWKT_1 );
|
||||||
return decoder.decode(pgValue);
|
return decoder.decode(pgValue);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
buffer = ByteBuffer.from( pgValue );
|
buffer = ByteBuffer.from( pgValue );
|
||||||
final WkbDecoder decoder = Wkb.newDecoder( Wkb.Dialect.POSTGIS_EWKB_1 );
|
final WkbDecoder decoder = Wkb.newDecoder( Wkb.Dialect.POSTGIS_EWKB_1 );
|
||||||
return decoder.decode( buffer );
|
return decoder.decode( buffer );
|
||||||
|
|
Loading…
Reference in New Issue