HHH-10157 - Fix checkstyle error

This commit is contained in:
Andrea Boriero 2015-11-30 09:04:48 +00:00
parent 265d5d9b88
commit 3699cdb3f9
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ public class PGGeometryTypeDescriptor implements SqlTypeDescriptor {
if (pgValue.charAt( 0 ) == 'S') { // /we have a Wkt value
final WktDecoder decoder = Wkt.newDecoder( Wkt.Dialect.POSTGIS_EWKT_1 );
return decoder.decode(pgValue);
} else {
}
else {
buffer = ByteBuffer.from( pgValue );
final WkbDecoder decoder = Wkb.newDecoder( Wkb.Dialect.POSTGIS_EWKB_1 );
return decoder.decode( buffer );